牛卧堂MCU技术交流

标题: [NuMicro] Using Nu-Link2 to Access MCU on Linux [打印本页]

作者: admin    时间: 2021-12-23 17:47
标题: [NuMicro] Using Nu-Link2 to Access MCU on Linux
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





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2