- Application: On Linux platform, this example code uses the HIDAPI library to connect Nu-Link2 and access NuMicro series microcontrollers (MCUs).
- Linux Version: Ubuntu 20.04.3 LTS
- Hardware: Nu-Link2 (Nu-Link2-Pro or Nu-Link2-Me)
This example code demonstrates the use of HIDAPIto connect Nu-Link2 on Linux, connect to the target microcontroller (MCU) through Nu-Link2, perform chip erase, and read/write operations on Flash and configuration area.
The HIDAPI library used in the example supports two back-ends (hidraw and libusb) on Linux platform. For details, please refer to HIDAPI official website. When compiling this example code, you can choose to use hidraw or libusb back-end in the compilation options.
The example code supports 8-bit (8051) and 32-bit (Arm Cortex-m) target microcontroller access. You can choose to use 8-bit or 32-bit access in the compilation options.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1210095708
|