Chapter 3 Restore the firmware in
NAND flash
This chapter first gives two steps to restore the firmware in NAND flash. If the
EBOOT of the system is gone, users need to follow the “Restore Stepldr.nb0
and EBOOT.bin from NOR flash “ that described in section 3.1. If the EBOOT
of the system is still alive, users can go to the section 3.2 directly. And in the
last section of this chapter, we will introduce how to restore the firmware in
NAND flash from SD boot.
Before going on, users need to install two kinds of USB drivers that Embedian
provided with on your Windows PC first. The “secusb2” is for the USB
download during the NOR boot configuration and the “wceusbsh” is the
Windows CE USB RNDIS driver. (When plug the USB cable to the Windows
PC at first time, Windows will ask you to install the driver. Just point to the
directory where your USB driver placed and the installation will be done.)
3.1 Restore Stepldr and EBOOT from NOR flash
User will need this chapter in case that your EBOOT is erased by accident or
gone for somehow. To write Stepldr and EBOOT images to NAND flash using
NOR boot, first, power off device and set the jumper JP1 to NOR flash
configuration. (Be sure to power off the system before you changing the
jumper.)
Install the USB host driver to your Windows system and DNW v0.6C programs
that Embedian provided in your host Windows PC. Connect the serial console
cable from serial console port (UART 0 in CN20 of Embedian SBC) of device
to the COM port of your Windows PC. And connect a USB cable from USB
device port (CN19 of Embedian SBC) to USB host port of your Windows PC.
In "
Serial Port
" of your dnw program, click on "
Connect
" and power on device.
In "
Configuration
" of dnw program, at "
Options
" set the COM port as the
following setting of figure 3.1. And the USB Port Download Address is
"
0x50030000
", this is the DDR DRAM address where the program will be
executed. The baud rate is 115200 and the host COM port is this example is
"
COM 1
"