Search found 22 matches

by nanoController
25 Dec 2022, 06:01
Forum: Linux/RTOS
Topic: Nuvoton Nu-Maker-M032SE: Programming write fails in openocd init.
Replies: 2
Views: 27141

Re: Nuvoton Nu-Maker-M032SE: Programming write fails in openocd init.

The attached is a screenshot of it happening with the sample helloWorld project. (This forum does not seem to work properly, except with Chrome! So, who knows if the attachment will show!)
by nanoController
25 Dec 2022, 05:23
Forum: Linux/RTOS
Topic: Nuvoton Nu-Maker-M032SE: Programming write fails in openocd init.
Replies: 2
Views: 27141

Nuvoton Nu-Maker-M032SE: Programming write fails in openocd init.

I set up a Nuvoton Nu-Maker-M032SE, which is an evaluation board for the m031, in http://forum.nuvoton.com/viewtopic.php?t=10971 I wrote the sample helloWorld image to it, and it did run, and stepped through the code. However, as noted in that (and IIRC another) thread, printing to serial did not wo...
by nanoController
21 Dec 2022, 10:11
Forum: Development Platform
Topic: Initial forays into the Nuvoton environment.
Replies: 3
Views: 35520

Nuvoton forum's many failures

The trivial problems are augmented by the absence of an English forum. The current one is broken (by a few bugs), including a broken registration system. The foremost appeal of AVR is not its architecture, but its forum. Ditto Arduino. An ecosystem of contributors is an invaluable asset. This alone ...
by nanoController
21 Dec 2022, 10:04
Forum: Development Platform
Topic: Initial forays into the Nuvoton environment.
Replies: 3
Views: 35520

Retrospect, after half a year

Last week or so, I resumed the work on this. IOW, 6 months later. There really is no reason why development does not (appear to) work on Linux: compilation and burning (and, i expect, printing on serial) are possible on linux. Only the code generator, PinView, PinConfigure, ClockConfigure, etc are d...
by nanoController
21 Dec 2022, 09:53
Forum: Linux/RTOS
Topic: Setting up a Nuvoton Nu-Maker-M032SE
Replies: 12
Views: 20197

Eclipse, Debug Configurations, Indexer

Some quick notes on eclipse, which I'd not used in years. . Eclipse has an annoying Indexer which insists upon parsing (and, seemingly, compiling) all the files under your project tree! Disabling it has not quite worked. I tried eclipse > project name > Properties > C/C++ General > Indexer then enab...
by nanoController
21 Dec 2022, 09:38
Forum: Linux/RTOS
Topic: Development on Linux not supported
Replies: 4
Views: 9552

Keil and IAR EWARM

One thing that the manuals do not note is that the Keil IDE is available for free (for cortex-m0), from Nuvoton! This is for only Windows. IAR EWARM is available for Linux, but it is a paid licence. Annoyingly, there is no price listed on the site, for even a single seat. See https://www.nuvoton.com...
by nanoController
21 Dec 2022, 09:33
Forum: Linux/RTOS
Topic: Setting up a Nuvoton Nu-Maker-M032SE
Replies: 12
Views: 20197

printf("Hello World\n"); //fails to print on Linux.

Though the helloWorld project does compile on Linux, and does burn to the target, I never saw it print on serial. I had to go to Windows to see that print. (I used putty on Windows.) This is despite the fact that VCOM pins 1-2 were set to On, on the mini-debugger, and the latter's usb connection was...
by nanoController
21 Dec 2022, 09:07
Forum: Linux/RTOS
Topic: Setting up a Nuvoton Nu-Maker-M032SE
Replies: 12
Views: 20197

Program file does not exist.

"Program file does not exist." was a persistent error, on both Linux and Windows, for the helloWorld sample-project. It is because, even though compilation successfully created ~/eclipse-workspace/helloWorld/Debug/helloWorld.elf eclipse cannot find it! You have to go into eclipse > helloWorld > Run ...
by nanoController
21 Dec 2022, 07:58
Forum: Linux/RTOS
Topic: Development on Linux not supported
Replies: 4
Views: 9552

Printing to serial failed, from Linux

I forgot to mention that, though helloWorld burnt to the target, I could not see its printf() print anything. I had to jump to Windows to see it work! (Even in that, I had to do Search Project to get it to see its elf file!)
Hopefully, I'll elaborate in my other thread.
by nanoController
21 Dec 2022, 07:56
Forum: Linux/RTOS
Topic: Development on Linux not supported
Replies: 4
Views: 9552

Burning possible from Linux

I tried the sample Hello World project, in eclipse (actually, NuEclipse, the version of eclipse which Nuvoton has presumably added the right plugins/modifications to), from Linux. It did burn to the target. In my case, I was using the m032 se3ae eval board. (I will likely write more about this in my...