Git Product home page Git Product logo

nuvoton_tools's Introduction

NuMicro software development tools

IDE and Driver (official download link)

Programmer (official download link)

Open source code

Coding assistant and debugger (desktop)

Coding assistant (cloud)

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

4 Ports CANFD Analyzer Tool:

Apps

Machine learning development environment



Nu-Link2-Pro debugging and programming adapter

When using the software development tools above, you may need a USB adapter. Here, we introduce a new feature-rich Nu-Link2-Pro adapter to you.

An overview picture of software tools, adapter and targets

The firmware of the Nu-Link2-Pro adapter

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

Users can reprogram Nu-Link2-Pro with another .bin file using the following instructions (Windows OS)

  1. Press the button on Nu-Link2-Pro and plug in the USB cable.
  2. The "Nu-Link2-Pro" disk will appear. (If you see the disk name as "NuMicro MCU", it will upgrade target the device firmware instead of Nu-Link2-Pro itself)
  3. Drag and drop the 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), for the old settings, please see the old link.

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

  • Set BRIDGE-MODE=0; this is the default setting. It has a WebUSB interface conforming to the CMSIS-DAP protocol, and you can connect to KEIL Studio Desktop/Cloud 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 the 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; a USB HID interface that 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.

  • Set BRIDGE_MODE=3; a USB HID interface that supports Boot_Loader_ISPTool will be enabled. This USB HID interface doesn't pass through data, it communicates with Boot_Loader_ISPTool via HID_MKROM_ISP, and offers I2C/SPI/RS485/CAN interfaces for Boot_Loader_ISPTool. (this mode need the firmware later than v3.10)
    Only the NuMicro chip that supports mask ROM Boot Loader (e.g., M460 series) can commnuicate with Boot_Loader_ISPTool

  1. If you use Nu-Link2-ME, it doesn't support BRIDGE functions, and you will only see the CMSIS-DAP option.
  • Set CMSIS-DAP=1; this is the default setting. It has a WebUSB interface conforming to the CMSIS-DAP protocol, and you can connect to KEIL Studio Desktop/Cloud via this interface.
  • Set CMSIS-DAP=0; it will disable CMSIS-DAP and enable the 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, encryption during data transmission, unlimited flash break points, NuMicro chip-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



Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.