Setting up a Nuvoton Nu-Maker-M032SE
Posted: 02 Jul 2022, 14:31
As a newb to the Nuvoton platform, I purchased a Nu-Maker-M032SE, which is an evaluation board for the m032 micro-controller (uC). This is a record of my initial fiddlings with it.
Where I am, and considering my time pressures, I got the board from digikey (as opposed to techDesign or Nuvoton Direct, which'd have shipped from Taiwan, at least in the latter case), which got here quickly.
As well, I got a programmer, to write compiled images with. As it turned out, though, the eval board comes with a mini-programmer, the Nu-Link2-Me. The one I purchased is the mid-tier one -- though developers are encouraged to use the latter, rather than the entry-level one. The options are:
https://www.nuvoton.com/tool-and-softwa ... rogrammer/
My focus is on the m031, though IIRC I did not find an eval board for it-- not in-stock anyway. So I am using an m032's, which is the same thing, except that it supports USB devices. (No, not the usb receptacle used to talk to the development host; I mean a usb device on the target product.)
The eval board's user manual is under
https://www.nuvoton.com/tool-and-softwa ... ion-board/
Other user manuals are under
https://www.nuvoton.com/products/microc ... nual&tab=2
There is a Quick Start in the eval board's manual. For linux, it's simple: I plugged the eval board into the development host's usb port, via a micro-usb cable. That resulted in 2 LEDs lighting up on the board: one on the main board itself, and one on the mini debugger. Linux immediately saw the device, and created a new file under /dev eg /dev/ttyACM0 . The baud rate to be used for the latter is 112500. So, minicom's command-line would be
minicom -D /dev/ttyACM0 -b 112500
Linux Eclipse was gotten from
https://www.nuvoton.com/tool-and-softwa ... -compiler/
or
https://www.nuvoton.com/products/microc ... &rt=Driver
IIRC that gives you the compiler toolchain as well.
Next, the eval board's manual says that you should get the BSP. Mine is under
https://www.nuvoton.com/tool-and-softwa ... t-package/
Next, I'll see if I can get a Hello World going, from Eclipse.
Where I am, and considering my time pressures, I got the board from digikey (as opposed to techDesign or Nuvoton Direct, which'd have shipped from Taiwan, at least in the latter case), which got here quickly.
As well, I got a programmer, to write compiled images with. As it turned out, though, the eval board comes with a mini-programmer, the Nu-Link2-Me. The one I purchased is the mid-tier one -- though developers are encouraged to use the latter, rather than the entry-level one. The options are:
https://www.nuvoton.com/tool-and-softwa ... rogrammer/
My focus is on the m031, though IIRC I did not find an eval board for it-- not in-stock anyway. So I am using an m032's, which is the same thing, except that it supports USB devices. (No, not the usb receptacle used to talk to the development host; I mean a usb device on the target product.)
The eval board's user manual is under
https://www.nuvoton.com/tool-and-softwa ... ion-board/
Other user manuals are under
https://www.nuvoton.com/products/microc ... nual&tab=2
There is a Quick Start in the eval board's manual. For linux, it's simple: I plugged the eval board into the development host's usb port, via a micro-usb cable. That resulted in 2 LEDs lighting up on the board: one on the main board itself, and one on the mini debugger. Linux immediately saw the device, and created a new file under /dev eg /dev/ttyACM0 . The baud rate to be used for the latter is 112500. So, minicom's command-line would be
minicom -D /dev/ttyACM0 -b 112500
Linux Eclipse was gotten from
https://www.nuvoton.com/tool-and-softwa ... -compiler/
or
https://www.nuvoton.com/products/microc ... &rt=Driver
IIRC that gives you the compiler toolchain as well.
Next, the eval board's manual says that you should get the BSP. Mine is under
https://www.nuvoton.com/tool-and-softwa ... t-package/
Next, I'll see if I can get a Hello World going, from Eclipse.