Nuvoton Nuc980 Study Notes 1 - Project Creation and Download

1. New Tang nuc980

Nuvoton nuc980 iot development board is a Linux industrial IoT development platform . Nuvoton Technology provides an industrial IoT development platform using the NUC980DK microprocessor. This is a complete industrial IoT development platform, including complete hardware design and software. Reference design. Contains Nuvoton's ARM9 MPU with an execution speed of 300 MHz, built-in up to 128 MB DDR memory, a single 10/100 Ethernet port, 2 high-speed USB hosts, 1 Gb SPI NAND Flash storage device, microphone input, stereo headphone output, and is compatible with Arduino interface. Provides embedded Linux OS; can fully support related IoT protocols, such as AWS Client / MQTT / Web Server, etc. Users can use this platform to quickly develop IoT-related applications.

Development platform features

  • 32-bit ARM926EJ-STM NUC980DK microprocessor

  • Microprocessor with built-in up to 128 MB DDR memory

  • Operating frequency up to 300 MHz

  • 1 Gbit SPI-NAND Flash

  • 10 / 100 Ethernet x 1

  • USB 2.0 high-speed host x 1

  • USB 2.0 High Speed ​​Host/Device x 1

  • Mono microphone input

  • Stereo headphone output

  • MicroSD card slot

  • USB Power and CDC Debug Port

  • External memory expansion interface

  • Arduino compatible interface

  • UART x 3

15d04fd453d47435c1ffafe4c9c77220.png

2. Project Creation

Nuvoton nuc980 supports Linux operating system and also supports RT-Thread operating system.

e34f3320a9bd23ecf259f140837d2eb2.png

This article will introduce how to create a nuc980 project based on rt-thread studio.

①Open rt-thread studio software, sdk software management package download bsp resource package

9a64b8cccffdbf94edfde6ab1f574967.png

② Create a new rt-thread project, select the bsp package of nuc980, and complete

ec592fe7bba295741ee1a72506b7071e.png

③Compile

3af7fe66602829d8b9c8d978de41b4fa.png

The project was created successfully and compiled normally

3. Program download

Download software  NuWriter

download link:

https://gitee.com/OpenNuvoton/NUC980_NuWriter

192578a4f419a44ed4c4fc66db0d3552.png

There is a driver in the Driver folder, install the driver.

43791c50cbd9f312495d195320d58329.png

Under the NuWriter folder is the download software, which can be opened directly without installation.

d8d0e4b5b6c57d8f49d94a815dff509d.png

The selection of startup method is as shown below:

10a8b85aa2017651c12a9a6c0968ecf5.png

Ⅰ. Start in USB mode and download to DDR. (rt-thread studio project and compile test)

① Turn off the power and turn all the DIP switches to ON ;

6adc95e79b8b1c2a50f019c1550c60ff.png

②Plug in the USB Micro cable, 2 pieces;

ea6a8af54e42d8e673119e9621bcebe4.png

③Select serial port

64267ed2824dfb0661630b5897153611.png

④Open the serial port assistant

ded3bf6e9c6e208e4d7c33e34a32a8cc.png

170b53372b1e5f22000c485c9cf026b6.png

⑤Open the download software, select the model, and continue;

62448d3846d2acaad1b833be141f3784.png

⑥Select, configure and download as follows

a11e1d6e2e4f8cb1875770d58240aedf.png

48a1b573eb3def239e2448dad79d1257.png

The experimental results show that after downloading, the red indicator light flashes, which is in line with the expected effect.

Test the network

12937cd234b61cf909889640f5dab1d9.png

Ⅱ. Download to SPI NAND (it is recommended to use the env tool for configuration and compilation, the test version is 5.0.0 )

① Turn off the power and turn all the DIP switches to ON ;

89746634c3742965f0405e4a0b2391cb.png

②Plug in the USB Micro cable, 2 pieces;

③Download

13ca54c7c3a631d0fc0a60ac4c5cf2e0.png

d8f6311b8c908e5249d3bcd0a4bd8fb5.png

faf9da89a1a64130b57ee19d3e0bd2b1.png

9c6d9eac64a5528d2a7ba23a0ed6ef3f.png

54b3d9a7f93a9913ff9c237e90d560c7.png

Turn all the DIP switches to OFF and press the RESET button ;

Experimental results

6e7c2e41d2ef140890594890d920e38b.png

For details, please refer to the official steps

https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/tutorial/quick-start/nk-980iot/quick-start

Welcome to follow the official account: Embedded Learning and Practice

reference:

https://www.bilibili.com/video/BV11f4y1y7nb/?spm_id_from=pageDriver&vd_source=f58225e38b5a8bc42ab3351918ec20e5
https://www.bilibili.com/video/BV1Df4y1p7Jp/?spm_id_from=333.999.0.0&vd_source=f58225e38b5a8bc42ab3351918ec20e5
https://www.bilibili.com/video/BV1cu411R7uX/?vd_source=f58225e38b5a8bc42ab3351918ec20e5
https://www.nuvoton.com.cn/products/iot-solution/iot-platform/numaker-iiot-nuc980/
https://gitee.com/OpenNuvoton/NUC980_NuWriter
https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/tutorial/quick-start/nk-980iot/quick-start

Guess you like

Origin blog.csdn.net/weixin_46158019/article/details/132463724