Skip to content

NuMicro software development tools (IDE, debug adapter, configuration tools, programmer, etc.)

Notifications You must be signed in to change notification settings

synthesis-os/Nuvoton_Tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuMicro software development tools

Nuvoton tools official website

IDE and Debugger

Programmer

Coding assistant

Signal pass-through/monitor (I2C/SPI/CAN of Nu-Link2-Pro):

Apps



Nu-Link2-Pro debugging and programming adapter

When using software development tools above, you may need an USB adapter. We introduce you a new feature-rich Nu-Link2-Pro adapter here.

An overview picture of software tools, adapter and targets

The firmware of Nu-Link2-Pro adapter

All Nu-Link2-Pro firmware binary files can be found here

User can re-program Nu-Link2-Pro to another .bin file by the following instructions (Windows OS)

  1. Press the button on Nu-Link2-Pro and plug in USB cable.
  2. A "Nu-Link2-Pro" disk will show. (If you see disk name is "NuMicro MCU", it will upgrade target device firmware instead of Nu-Link2-Pro itself)
  3. Drag and drop Nu-Link2-Pro firmware .bin file into the disk.
  4. Re-plug the USB cable and it's done.

More options for NuLink2FW (configuration file NU_CFG.TXT)

warning: The meaning of options for v3.09.7380 is different from v3.05.7174r ~ v3.08.7313. This document goes with the latest version (v3.09.7380), if you want to check old setting (v3.05.7174r ~ v3.08.7313), please see the old link.

  1. When you upgrade the NuLink2FW.bin greater than or equal to version v3.09.7380, you will see some options in NU_CFG.TXT.
  • Open NU_CFG.TXT file in pop-up "NuMicro MCU" disk
  1. For Nu-Link2-Pro, you will see POWER-MODE, BRIDGE-MODE options, you need re-plug in USB cable to effect the setting.
  • Set POWER-MODE for SWD output voltage level (mainly for CMSIS-DAP interface use)

  • Set BRIDGE-MODE=0, this is default setting. It has a WebUSB interface conform CMSIS-DAP protocol, and you can connect KEIL Studio via this interface. Note that CMSIS-DAP will be disable in other BRIDGE-MODE (Limited USB endpoints).

  • Set BRIDGE-MODE=1, the pass-through bridge function of Nu-Link2-Pro will be enabled (The word Nu-Link2-Bridge will be used to represent the pass-through bridge application on Nu-Link2-Pro adapter). Nu-Link2-Bridge pass-through the data between VCOM port and I2C/SPI/RS485/CAN interfaces. (You will see a "Nu-Link2-Bridge Virtual Com Port" in device manager.)

  • Set BRIDGE-MODE=2, an USB HID interface supports ISPTool will be enabled. This USB HID interface doesn't pass through data, it communicates with ISPTool via HID_ISP, and offers I2C/SPI/RS485/CAN interfaces for ISPTool.

  1. If you use Nu-Link2-ME, it doesn't support BRIDGE functions, you will only see CMSIS-DAP option.
  • Set CMSIS-DAP=1, this is default setting. It has a WebUSB interface conform CMSIS-DAP protocol, and you can connect KEIL Studio via this interface.
  • Set CMSIS-DAP=0, it will disable CMSIS-DAP and enable Nu-Link2 "USB BULK_ICE" interface (it's faster than "USB HID_ICE").

Comparison of NuLink2FW.bin and NuLink2_DAPLink.bin

  • Proprietary code
  • Support NuMicro 8051, offline programming, user code read-out protection, unlimited flash break points, NuMicro chips specific features (config0/config1 dataflash setting, KPROM, etc.)
  • USB interfaces: MSC/VCOM/HID_ICE(proprietary commands) or CMSIS-DAPv2 WinUSB + WebUSB CMSIS-DAP/VCOM_Nu-Link2-Bridge or HID_ISP (defined by BRIDGE-MODE of NU_CFG.TXT)
  • Open source: DAPLink on Nu-Link2-Pro
  • Support many third party IDE
  • USB interfaces: MSC/CDC/CMSIS-DAPv2 WinUSB/WebUSB CMSIS-DAP

Some other example projects for NuLink2



About

NuMicro software development tools (IDE, debug adapter, configuration tools, programmer, etc.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published