NUC977

build nuwriter


編譯步驟

$ cd
$ git clone https://github.com/OpenNuvoton/NUC970_NuWriter_CMD nuwriter
$ cd nuwriter
$ ./configure
$ make
$ sudo make install

測試

$ nuwriter -help
  ============================================
  ==   Nuvoton NuWriter Command Tool V1.0   ==
  ============================================
  NuWriter [Options] [File/Value]

  -d [File]      Set DDR initial file
  -d show        Print supported DDR model

  -m sdram       Set SDRAM Mode
  -m emmc        Set eMMC Mode
  -m nand        Set NAND Mode
  -m spi         Set SPI Mode

  -t data        Set DATA Type
  -t env         Set Environemnt Type
  -t uboot       Set uBoot Type
  -t pack        Set PACK Type
  SDRAM parameters:
  -a [value]     Set execute address
  -w [File]      Write image file to SDRAM
  -i [value]     device tree address
  -n             Download & Run

  NAND/SPI/eMMC parameters:
  -a [value]     Set start offset/execute address
                 if erase, unit of block
  -w [File]      Write image file to NAND
  -r [File]      Read image file from NAND
  -e [value]     Read/Erase length(unit of block)
  -e 0xFFFFFFFF  Chip erase
  -v             Verify image file after Write image 

  ============================================


返回上一頁