Restoring the EA3250 boot loaders

Document created by jorge_plascencia Employee on Apr 26, 2016Last modified by Diana Torres on Apr 26, 2016
Version 2Show Document
  • View in full screen mode

If you accidentally erase the kickstart or S1L boot loaders on the Embedded Artists LPC3250 board, this procedure can be used to restore them. Note the boot loaders provided in this restoration method might be newer than the versions provided with the Embedded Artists board. The original versions of the boot loaders can also be downloaded from the Embedded Artists 's website when you register your board.

 

Restoration of the boot loaders on the board require no special hardware (ie, JTAG) and are performed with boot loaders and tools built or included in the LPC32x0 Common Driver Library. However, you will need a PC with a USB port to perform the update procedure.

 

Restoring the kickstart loader and is a 2-step process. The kickstart loader is restored first and then is restored. The serial loader is used to transfer the application and the burner images (which is used to program the application into NAND FLASH). The LPC32x0 will automatically burn the image into NAND FLASH after it has been downloaded and then provide a status.

 

Step 1: Download the pre-built boot software and restoration images for the Embedded Artists LPC3250 board from the Resources page.

Step 2: Extract the files on a Windows based PC

Step 3: Connect a USB cable between the Embedded Artists boards USB serial connector and the PC. Power up the board and install and USB serial drivers if necessary. These drivers are included with the software included with the board.

Step 4: Start the Serial loader software (LPC3250_Loader.exe) included in the pre-built boot software package.

Step 5: Setup the 'Primary boot (IRAM)' file in the Serial loader to the burner_kickstart_nand_large_block_rvw.bin file. Setup the 'Secondary Executable (SDRAM)' file in the Serial loader to the kickstart_nand_large_block_rvw.bin file. Verify that the Comport control selection matches the COM part on the PC that is connected to the Embedded Artists board.

 

NOTE: The pre-built binaries may have slightly different names than those listed in steps 5 and 7, depending on the tool used to build the binaries. If the binaries were build with GNU instead of Realview, the 'rvw' field in each name will contain the 'gnu' identified instead. Change the filenames as necessary for you binaries you have.

 

Step 6: Press the 'Load bin's / Start primary' button on the Serial loader and power on the board. The burner image and the kickstart loader image should transfer to the board and the kickstart loader will then be programmed into NAND FLASH block 0 for boot from the boot ROM by the burner application. After the files have transferred, press the 'Enable terminal mode' button to see the program status. In the Status / Terminal output window of the Serial loader tool, you should see the following output.

Waiting for BootID .. 5 .. found!
Sending 'A' .. done!
Expect 2-nd BootId .. 5 .. found!
Sending 'U','3'.. done!
Expect 'R' .. R .. found!
Sending startaddress .. done!
Sending size .. done!
Sending code .. done!

--- Loading Secondary executable ---
Wait for 'X' .. X .. found!
-- Sending command .. p ..done!
Sending startaddress .. done!
Sending size .. done!
Wait for acceptance from primary boot .. o ..OK!
Sending code .. done!
Expect final 't' .. t .. found,
---- Secondary Executable loaded. ---


--- Enabling terminal mode ---
Formatting blocks...
Format complete
Writting kickstart into flash...
Verifing data......Successfully
NAND flash is programmed Successfully

 

 

Step 7: Setup the 'Primary boot (IRAM)' file in the Serial loader to the burner_s1app_nand_large_block_rvw.bin file. Setup the 'Secondary Executable (SDRAM)' file in the Serial loader to the s1l_from_kick_rvw.bin file. Verify that the Comport control selection matches the COM part on the PC that is connected to the Embedded Artists board.

 

Step 8: Press the 'Load bin's / Start primary' button on the Serial loader and reset the board. The burner image and the image should transfer to the board and will then be programmed into NAND FLASH block 1 (and on) for boot from
the kickstart loader. After the files have transferred, press the 'Enable terminal mode' button to see the program status. In the Status Terminal output window of the Serial loader tool, you should see the following output.

 

 

Waiting for BootID .. 5 .. found!
Sending 'A' .. done!
Expect 2-nd BootId .. 5 .. found!
Sending 'U','3'.. done!
Expect 'R' .. R .. found!
Sending startaddress .. done!
Sending size .. done!
Sending code .. done!

--- Loading Secondary executable ---
Wait for 'X' .. X .. found!
-- Sending command .. p ..done!
Sending startaddress .. done!
Sending size .. done!
Wait for acceptance from primary boot .. o ..OK!
Sending code .. done!
Expect final 't' .. t .. found,
---- Secondary Executable loaded. ---


--- Enabling terminal mode ---
Formatting blocks...
Format complete
Writting S1 image into flash...
NAND flash is programmed Successfully

Step 8: Close the Serial loader and open a terminal program, then reset the board

Close the serial loader tool and open a terminal program such as Teraterm. Reset the board and should start.

5
Embedded Artist 3250 Board
Build date: May 21 2010 15:12:06
Autoboot in progress, press any key to stop

ea3250

>

Attachments

    Outcomes