NUC972 SDK

From ElectroDragon Wiki
Revision as of 18:47, 9 July 2020 by Chao (talk | contribs) (→‎Flash Guide)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Boot Mode Select

  • PA0-0 / PA1-0: USB BOOT
  • PA0-0 / PA1-1: NAND BOOT


Flash Guide

2020-05-26 122714.png
  • Software and all information please find at https://github.com/Edragon/Nuvoton-NUC972
  • Flash into On board SPI Flash + NAND Flash
  • USB_ID0 jumper to right HIGH to enter into flash mode (2.54mm pin header)
  • On board default UART0 debug port is GND-U0R-U0T (2.54mm pin header)
  • Use download software NUwrite, and plug in USB to upload firmware


  • First erase all if necessary
File Size Type Mode Address Encrypt Description
u-boot-spl.bin - uboot NAND 0x 200 Disable
u-boot.bin - Data (uboot) NAND 0x 100000 Disable
env.txt - Environment NAND 0x 80000 Disable Note the definition: bootcmd=nboot 0x7fc0 0 0x200000;bootm 0x7fc0; define boot linux at 0x 2000000
970image(-new).ub 6109KB Data NAND 0x 200000 Disable
rootfs_yaffs2 / yaffs2_test.img - Data NAND 0x 1600000 / 0x2000000 Disable
  • Switch PA1 from 0 to 1, to switch the boot mode from USB to NAND Flash

Setup

  • #./ts_calibrate // try the touchscreen calibration
  • #vi /etc/init.d/rcS and comment line for graphic interface:
#./usr/qt_demo/desktop -qws  &

Official Git