- Introduction
- Regular build
- Nuvoton NuMicro ICP Programming Tool
- Flash mTower on the device and run
- References
The instructions here will tell how to run mTower on the NuMaker-PFM-M2351 board.
Start out by following the "Get and build the solution" in the build.md file.
Warning: Need to download the toolchain (exec.
make toolchain
).
Please note that Nuvoton NuMicro ICP Programming Tool is used under Windows OS. It can be downloaded from here
Once you download the installer and start it, follow the instructions shown in installer window.
- Start NuMicro ICP Programming Tool. A window will open where you must select M2351 target chip and click "Continue" button:
- Connect the board to your PC via USB ICE connector and click "Connect" button in NuMicro ICP Programming Tool window.
- Once board successfully connects, chip ID and info will show in corresponding fields of window. Next you must select images to flash onto board. Click "APROM" button and select previously compiled file
mtower_s.hex
(secure world image), and click "APROM_NS" button and selectmtower_ns.hex
file (normal world image). Check the "APROM" and "APROM_NS" checkboxes in the bottom of window, in Programming group. Click the "Start" button to start flashing process.
- We use console for debugging: one will connect via UART for Secure/Non-Secure input/output.
- Open console/terminal window (e.g., Putty) using 115200 speed setting with 8 bits with no parity check. Press "Reset" button on NuMaker-PFM-M2351 board, and you should see output in terminal window, like one shown below. Note that menu task is running in infinite loop, so the output shall not stop.
https://www.nuvoton.com/products/microcontrollers/arm-cortex-m23-mcus/m2351-series/?tab=1