Difference between revisions of "Recovery U-Boot Image (Lizard)"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
  
 
== Tool Preparation ==
 
== Tool Preparation ==
 
* Download the zip archive lizard-Recovery.zip and extract it  
 
* Download the zip archive lizard-Recovery.zip and extract it  
* Open the command prompt and go inside the folder where you extract the recovery
+
* Open the command prompt and go inside the folder where you extracted the recovery file
* Lunch the uitility with the serial port number
+
* Launch the utility with the serial port number as the argument
 
<pre>
 
<pre>
 
C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery.bat COM1
 
C:\Users\Desktop\lizard-Recovery\lizard> .\uart-recovery.bat COM1
Line 14: Line 13:
 
== Board Preparation ==
 
== Board Preparation ==
 
* Power down the board and set the deep switch 2 1 configuration.
 
* Power down the board and set the deep switch 2 1 configuration.
* Connect the serial console to the <ode>PORT2</code> of your board.
+
* Connect the serial console to the <ode>PORT2 of your board.
 
* Turn on the board.
 
* Turn on the board.
  
 
== Flashing the firmware ==
 
== Flashing the firmware ==
  
If everithing was set correctly, this messages should appear on your screen
+
If everything was set correctly, this message should appear on your screen
 
<pre>
 
<pre>
  
Line 57: Line 56:
 
</pre>
 
</pre>
  
Now close the serial console and pres <code>Enter</code> inside the command prompt.
+
Now close the serial console and press <code>Enter</code> inside the command prompt.
A new download will start follewd by some instructions.
+
 
<pre>
+
A new download will start followed by some instruction messages..<pre>
 
Downloading file: 100.000% completed(218792/218792 bytes)
 
Downloading file: 100.000% completed(218792/218792 bytes)
 
File Download completed
 
File Download completed
Line 71: Line 70:
 
.
 
.
 
</pre>
 
</pre>
When the  download is finished, you need to reopen putty and insert this command
+
When the  download is finished, you need to reopen the serial console and type this command
 
<pre>
 
<pre>
 
protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000
 
protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000
 
res
 
res
 
</pre>
 
</pre>
Now the board will restart and if everithing went ok, you should see the U-Boot command line prompt.
+
Now the board will restart and, if everything went ok, you should see the U-Boot command line prompt.

Revision as of 11:03, 15 March 2018

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.