Recovery U-Boot Image (Lizard)

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

Tool Preparation[edit | edit source]

  • Download the zip archive lizard-Recovery.zip and extract it
  • Open the command prompt and go inside the folder where you extracted the recovery file
  • Launch the utility with the serial port number as the argument
C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery.bat COM1
Info Box
Lizard.jpg Applies to Lizard
Lizard-evb-02.png Applies to LizardEVB-Lite

Board Preparation[edit | edit source]

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

Flashing the firmware[edit | edit source]

If everything 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 !!!!!!
200px-Emblem-important.svg.png

Don't close the command prompt

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

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

Now close the serial console and press Enter inside the command prompt.

A new download will start followed by some instruction messages..

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 the serial console and type this command

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

Now the board will restart and, if everything went ok, you should see the U-Boot command line prompt.