|
本帖最后由 ws0411101 于 2013-8-23 15:49 编辑
普源1052E 最新的 00.04.01.00.02固件已经放出,可以直接固件刷机升100M,无需再反复降级、升级。
1、新固件刷机原理:
据eevblog里的大神Gizmo说,据他猜想1052E采用的是ARM芯片控制,因此他分析了firmware 代码(利用了固件没有加密的漏洞),然后找到了代码中设置示波器ID Code变量的位置,然后人为修改这个Code码,设置一个型号即可。(因此可以免去以前的降级至00.02.02SP2,再利用上位机rigupgr程序,写入序列号的方法)
原文:
Gizmo:Does anyone know what CPU the Rigol uses? I'm guessing it could well be an ARM. I'll do a bit of poking around as the firmware does not appear to be encrypted given all the plain text in the image.
That didnt take too long. Tracked down where it sets the scope id variable based on parsing the model number. Should be simple to modify this to preset a specific model.
Up to you though!
Gizmo:ARM is very common in embedded applications, hence my tentative guess -- in this case it was a Blackfin processor.(猜想可能采用的是ADI公司的BLACKFIN ARM芯片)
Gizmo:Anyway, the offer still stands if anyone has a JTAG setup on their scope and wouldn't mind doing some testing. I've yet to find anything that tests the serial number, yet. Do you definitely need to change both serial and model? So far I've only found reference to the model number being tested. Of course I may have just failed to find it yet...
Interestingly all the :INFO:MODEL/:SERIAL handler code still seems to be there. Must be disabled with a flag I think, although I've yet to find out where that is disabled yet.(找到MODEL、SERIAL位置)
/////////////////////////////////////////////////////////////
2、新固件安装方法:
DS1000EUpdate.RGL文件考入U盘,插入1052E示波器,屏幕提示升级时,选择OK即可。
原文:
Gizmo:Copy the DS1000EUpdate.RGL file from the zip onto a memory stick, put it in the scope, and select OK when it asks if you want to update the firmware. It's that simple.(安装方法)
Gizmo:this is the 04.00.00.01 firmware which has been patched. It is the latest from Rigol and will work with whatever scopes the firmware is supposed to work with. The only difference is that the DS1052E is set in code to be the same as the DS1102E.As it is the latest firmware, you can just plug in and update with any current scope. When a new version is released then a new patch will need to be made.(安装方法详细说明)
Gizmo:For all those downgrading, model changing and upgrading twice, you can just use the above custom firmware and do it in the one flash. Much less chance of bricking. I developed the hack specifically because I don't like the idea of all the possible things which could cock up with the existing process (like losing hardware version as above).(以往降级升级方法的弊端)
/////////////////////////////////////////////////////////////
3、安装注意事项(适用于任何固件的安装):
为了安全,固件刷机前,校验文件的MD5值,U盘从电脑拔出前,注意弹出,防止文件损坏。因为1052E示波器固件升级前,不会校验文件的完整性(仪器设计上的小失误)。如果,固件文件数据受到损坏,冒然刷机很可能会使示波器变砖。
原文:
For your peace of mind, check the file's MD5 against the above number when it's on your memory stick to ensure it's correct before flashing and always do "eject" on the drive if using windows before pulling out the stick. The scope doesn't bother with any data integrity checking, which is a bit of a shame, so if the file is corrupted at all, you will most likely brick the scope.
(完毕)
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
阿莫论坛20周年了!感谢大家的支持与爱护!!
曾经有一段真挚的爱情摆在我的面前,我没有珍惜,现在想起来,还好我没有珍惜……
|