83b3aadaa3
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链 此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链 |
||
---|---|---|
.. | ||
applications | ||
board | ||
linking_scripts | ||
.config | ||
Kconfig | ||
Nu_Link_Driver.ini | ||
README.md | ||
SConscript | ||
SConstruct | ||
config_lvgl | ||
rtconfig.h | ||
rtconfig.py | ||
template.ewd | ||
template.ewp | ||
template.eww | ||
template.uvprojx |
README.md
NuMaker-M2354
1. Introduction
The NuMaker-M2354 is an evaluation board for Nuvoton NuMicro M2354 microcontrollers. The NuMaker-M2354 consists of two parts, a M2354 target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M2354 is designed for secure evaluation, prototype development and validation with power consumption monitoring function.
1.1 MCU specification
Features | |
---|---|
MCU | M2354KJFAE |
Operation frequency | 96MHz |
embedded Flash size | 1MB, Dual Bank |
SRAM size | 256kB |
Crypto engine | PRNG, AES, ECC, RSA, HMAC and SHA crypto accelerator |
1.2 Interface
Interface |
---|
Arduino UNO |
USB 1.1 OTG ports |
A microSD slot |
A segment LCD port |
1.3 On-board devices
Device | Description | Driver supporting status |
---|---|---|
Wi-Fi module | ESP8266-ESP12, AT firmware v1.7 | Supported |
Segment LCD module | Supported |
2. Supported compiler
Support GCC, MDK5, IAR IDE/compilers. More information of these compiler version as following:
IDE/Compiler | Tested version |
---|---|
MDK5 | 5.26.2 |
IAR | 8.32 |
GCC | GCC 6.3.1 20170620 (Need update env) |
Notice: (1) Please install Nu-Link_Keil_Driver or Nu-Link_IAR_Driver for development.
3. Program firmware
Step 1:
At first, you need to configure ISW1 switch on the NuMaker-M2354 board. Set the four switches to ‘ON’ position. After the configuration is done, connect the NuMaker-M2354 board and your computer using the USB Micro cable. After that, window manager will show a ‘NuMicro MCU’ virtual disk. Finally, you will use this virtual disk to burn firmware.
Step 2:
A simple firmware burning method is that you can drag and drop the binary image file to NuMicro MCU virtual disk or copy the binary file to NuMicro MCU disk to burn firmware.
4. Test
You can use Tera Term terminate emulator (or other software) to type commands of RTT. All parameters of serial communication are shown in below image. Here, you can find out the corresponding port number of Nuvoton Virtual Com Port in window device manager.