rt-thread/bsp/nuvoton/numaker-hmi-ma35d1/nuwriter_scripts
Wayne Lin d0b70ab753 Update NuWriter material.
1. DDR timing setting.
2. README.md
3. Remove unused files.
2022-10-11 08:59:42 +08:00
..
ddrimg Update NuWriter material. 2022-10-11 08:59:42 +08:00
README.md Update NuWriter material. 2022-10-11 08:59:42 +08:00
UnpackImage.py Update NuWriter material. 2022-10-11 08:59:42 +08:00
header-nand.json Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
header-sd.json Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
nuwriter.py Update NuWriter material. 2022-10-11 08:59:42 +08:00
nuwriter_ddr_download_and_run.bat Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
nuwriter_nand_programming.bat Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
nuwriter_sd_programming.bat Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
nuwriter_spinand_programming.bat Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
otp_writer.bin Update NuWriter material. 2022-10-11 08:59:42 +08:00
pack-nand.json Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
pack-sd.json Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00
xusb.bin Update NuWriter material. 2022-10-11 08:59:42 +08:00
xusbcom.py Add NuMaker-HMI-MA35D1 and RTP porting. 2022-10-11 08:59:42 +08:00

README.md

nuwriter_scripts

Some scripts can help you program firmware into storages in this folder.

Requirement

Python for Window

After installing Python, some plug-in as below must be installed.

$ pip3 install pyusb usb crypto ecdsa crcmod tqdm pycryptodome

Libusb for Window

In Windows platform, it is required to install libusb manually.

Step 1: Download the library extract the download file.
Step 2: Copy MS64\dll\libusb-1.0.dll to C:\Windows\System32.
Step 3: Copy MS64\dll\libusb-1.0.lib to C:\Users\<user name>\AppData\Local\Programs\Python\<python ver>\Lib.

Double-click Scripts for Windows

nuwriter_ddr_download_and_run.bat

Download rtthread.bin binary file into DDR. The address is 0x80400000.

nuwriter_sd_programming.bat

Program header, DDR timing setting and rtthread.bin binary file into SD card or EMMC.

nuwriter_spinand_programming.bat

Program header, DDR timing setting and rtthread.bin binary file into SPI NAND flash.

nuwriter_nand_programming.bat

Program header, DDR timing setting and rtthread.bin binary file into NAND flash.

See also

NuWriter Repository