Recovery U-Boot Image (Lizard)

From DAVE Developer's Wiki
Jump to: navigation, search

Tool preparation

  • Download the zip archive lizard-Recovery.zip and extract it in a folder
  • Open the command prompt and go inside the utility folder
  • Lunch the uitility with the serial port number

C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery_V2.bat COM1

Info Box
Lizard.jpg Applies to Lizard
Lizard-evb-02.png Applies to LizardEVB-Lite

Board Preparation

  • Power down the board and set the deep switch 2 1 configuration.
  • Connect the serial console to the PORT2 of your board.
  • Turn the board on.

Flashing the firmware

If everithing was set correctly, this message should appear on your screen


ASIC ID Detected.

Sending 2ndFile:

Downloading file: 100.000% completed(15232/15232 bytes)

File download completed.

In attesa da 0 secondi. Premere un tasto per continuare...

Downloading file: 100.000% completed(218792/218792 bytes)

File Download completed

Open Serial Console and write this command

.

.

"=> mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200"

.

.

CLOSE Serial Console !!!!!!

Now it is necessary to open a serial console for example Putty and insert the following command

mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200

Now close the command line and pres Enter inside the command prompt. A new download will start.

Downloading file: 100.000% completed(218792/218792 bytes)
File Download completed
.
.
Open Serial Console and write this command
"=> protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000"
"=> res"
.
.
.

When the download is finished, you need to reopen putty and insert this command

protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000
res

If everithing went ok, you shuld

  • Turn off the board.
  • Change the sweetch position to reflect the original one.
  • Turn on the board.