Difference between revisions of "Patch your Firmware"

From Rigol Homebrew Wiki
Jump to: navigation, search
Line 7: Line 7:
  
  
 +
----
 +
 +
Before you can start to develop your own software, you need a possibility to upload and start it on your Rigol device. Because the original firmware doesn't offers this possibility, we must patch some things to open the door to the memory.
  
 +
For this job you need
 +
* The completly installed Blackfin and Rigol toolchain (follow the instructions [[Build_the_Toolchain|here]])
 +
* A installed md5sum tool
 +
* A original Rigol firmware image (DS1000EUpdate.RGL) version 02.05.02.00 with a md5sum of 9c28690d8d5a5690b7340fda943f5549.
  
 
----
 
----
 +
 +
 +
 +
 +
 +
Copy your firmware image to examples/rwpatch/DS1000EUpdate.RGL,
 +
switch to this directory and do a
 +
 
 +
make patch
 +
 +
When you get the Message "Firmware ready to flash.", you can copy the resulting firmware
 +
image to a USB stick and flash it to you oscilloscope.
 +
     
 +
!!! Make sure your oscillsocope will work with version 02.05.02.00 of the firmware !!!
 +
!!! BEFORE you flash the image !!!
  
  

Revision as of 15:43, 22 December 2011

Sorry, not complete yet...

Download the Toolchain from https://github.com/krater/rigol-toolchain

and follow the instructions in the README file...



Before you can start to develop your own software, you need a possibility to upload and start it on your Rigol device. Because the original firmware doesn't offers this possibility, we must patch some things to open the door to the memory.

For this job you need

  • The completly installed Blackfin and Rigol toolchain (follow the instructions here)
  • A installed md5sum tool
  • A original Rigol firmware image (DS1000EUpdate.RGL) version 02.05.02.00 with a md5sum of 9c28690d8d5a5690b7340fda943f5549.



Copy your firmware image to examples/rwpatch/DS1000EUpdate.RGL, switch to this directory and do a

make patch

When you get the Message "Firmware ready to flash.", you can copy the resulting firmware image to a USB stick and flash it to you oscilloscope.

!!! Make sure your oscillsocope will work with version 02.05.02.00 of the firmware !!! !!! BEFORE you flash the image !!!


compile firmware example

get firmware image

patch firmware

upload to scope

Then:Start_Development