; -------------------------------------------------------------------------------- ; @Title: NAND FLASH Programming script for DB-88F6281/88F6192 board from Marvell ; @Description: ; NAND1GW3B(ST Micro) ; ; SDRAM: 0x00120000 ; ; After booting up ; Command Register : 0xF9000001 ; Address Register : 0xF9000002 ; Data Register : 0xF9000000 ; ; before booting up ; Command Register : 0xD8000001 ; Address Register : 0xD8000002 ; Data Register : 0xD8000000 ; ; @Author: jjeong ; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only ; @Chip: 88FR531 ; @Board: DB-88F5281-DDR1-BP-A ; @Keywords: Marvell NAND1GW3B ST flash NAND ; -------------------------------------------------------------------------------- ; $Id: 88f6281-nand1g08.cmm 10516 2022-02-02 11:39:30Z bschroefel $ LOCAL &arg1 ENTRY &arg1 &arg1=STRing.UPpeR("&arg1") // for example "PREPAREONLY" FLASHFILE.RESet //FLASHFILE.config FLASHFILE.CONFIG 0xF9000001 0xF9000002 0xF9000000 // FLASHFILE.TARGET FLASHFILE.TARGET 0x00120000++0x1FFF 0x00122000++0x1FFF ~~/demo/arm/flash/byte/nand1g08.bin //Read FLASH Manufacture and Device ID FLASHFILE.GETID //End of the test prepareonly IF "&arg1"=="PREPAREONLY" ENDDO //Open the NAND Dump Windows - Main Area FLASHFILE.DUMP 0x0 //Open the NAND Dump Windows - Spare Area FLASHFILE.DUMP /SPARE /TRACK ENDDO