找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 59681|回复: 18

Tutorial: How to flash/debrick/update DFU on DSO203 HW V2.81

[复制链接]

3

主题

4

回帖

22

积分

新手上路

积分
22
发表于 2015-8-14 23:42:15 | 显示全部楼层 |阅读模式
To get this straight. This method will work with older hardware versions, but the DFU linked will work with HW v2.81 devices and probably all the other 8MB versions (like v2.72).

This tutorial will cover how to flash DFU firmware, and unlock the device with the proper license. Also this fixes the DFU drive issue under Windows 8 / 8.1 /10 for DFU versions 3.40C and lower. This is done by updating the DFU to v3.45C.

Firstly you need to get a note of your licence number. Boot the DSO into DFU mode and write it some place safe:



In case your device is bricked and don't know your license number, don't worry. You should be able to get your serial number after de-brick and you can kindly ask in the forum here about your license number:
http://www.minidso.com/forum.php?mod=forumdisplay&fid=54

Make sure you have a working USB to SERIAL (RS232) adapter that supports TTL levels 3.3V. This means you have installed the correct drivers and it is working under your OS. I'm using a genuine FTDI FT232L usb to serial adapter. This one has adjustable TTL levels so make sure you set the jumper to 3.3V:



Now disassemble your device. It has just 4 allen screws in the bottom. Unscrew them and taking the backing plate off:



Then you can either disconnect the battery to help you take the board out (and prevent any accidental shorts) or you can leave it in (because we'll need to attach it back on later). To pull out the board you need to lift it from the bottom, and then draw it outwards. The power switch and/or buttons may fall out but it's really easy to put them back on later. I found pulling it up from the bottom right corner with a flat screwdriver to be the easiest.

Now get some jumper wires and connect as follows:



Number 1 is the pad with a square shape.
Connect as follows to your RS232 adapter:

-PIN 1 jumped together with PIN 2
-PIN 6 connects to GND of your adapter
-PIN 4 is RX so it connects to TX of your adapter
-PIN 5 is TX so it connects to RX of your adapter

If you find later that you get no response, try swapping pins 4 and 5 RX<>TX.

Make sure that the jumper cables you used don't protrude all the way through and touch the shield! This will cause a short to GND and you will not get it working.

Now is a good time to plug the battery back on if you had it disconnected before. Power up the device, and if there is a white screen means you are good to go!

Continuing now please download and unpack my archive. It's a rar file so you'll need winrar or another suitable program to extract it (duh..):

http://www57.zippyshare.com/v/gBYD2TLX/file.html

Now install the Flash_Loader_Demonstrator_v2.5.0_Setup.exe. This is the flasher we are going to use to flash the new firmware.

Launch the flash loader, select the correct COM port of your RS232 device and press next. If it all goes well it should detect the STM32 processor (512K). Press next through the screens until you go to the screen where you can select a file to download. This is good chance to upload the DFU firmware from the device to keep as a backup in case you mess something up. I uploaded mine from the device 2 times and compared the hash to verify it. I have also included it as DFU340C.hex in the pack in case someone needs it. Now select DFU345C.hex and download it to the device. Do not touch anything! Just leave it there to do its job! If you accidentally disconnect something you'll need to repeat the flash process. It takes about 5mins to download, please be patient:



Now if all went well, you can power down the device, disconnect the jumper cable between PIN 1 and 2 and power up the device. You will get a license error but check if everything works. Now is a good time to get your serial number if you lost your license number and ask for it in the forum link i gave above.

To unlock your device now you'll need to re-connect the jumper cable and go again through the same process and flash UNLOCK.hex . Now when you boot back again you will be prompted to input your license number:



Once finished, you'll need to re-flash the SYS file through the DFU disk mode of the DSO203.

Assembly is the reverse of disassembly, so put back everything together and your DSO is ready to GO!



回复

使用道具 举报

0

主题

3

回帖

6

积分

新手上路

积分
6
发表于 2015-9-18 17:01:04 | 显示全部楼层
Hello again,
many thanks!!!
that's fast.
the file boot HW2.72 worked wonderfully, the license is the right one.
my device working again.
now I can experiment and if something goes wrong start all over again.
thank you again!!!
many greetings Franzl
回复 1 0

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2015-8-17 09:44:25 | 显示全部楼层
Very good, very detailed DFU update post, thanks for sharing.
回复

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2015-8-17 11:30:14 | 显示全部楼层
attention: this firmware is only suitable for HW2.81, not suitable for other HW version
回复

使用道具 举报

3

主题

4

回帖

22

积分

新手上路

积分
22
 楼主| 发表于 2015-8-18 05:51:41 | 显示全部楼层
sagittarius Posted 2015-8-17 11:30
attention: this firmware is only suitable for HW2.81, not suitable for other HW version

Yes that's correct i wrote it in the title. However i believe it should work on HW 2.72 with the DFU FW i've included. The method although is pretty much the same for all versions though
回复

使用道具 举报

0

主题

3

回帖

6

积分

新手上路

积分
6
发表于 2015-9-17 18:11:46 | 显示全部楼层
Hello there,
my name is Franz, I need help with my DS203 Hardware version 2.72.
My unit turns on only with a white screen after different update.
now I have a ST32prog and a programmer file default.hex written to the device. According to the description, this is only suitable for the hardware default.hex 2.81, is that right?
there is a default.hex for my hardware 2.72?
the device reports after importing from an FPGA defalt.hex error and a license error, what can I do?
where can I get for my SN 7931E19E a valid license?
does my machine after entering the license again?
I have to downgrade to 2.72? and which files do I need?
crash before my unit starts me 3.12C 3.45C now appears, is that right?
many wonder bad english sorry ..
is a translator ...
I hope someone can help me
回复

使用道具 举报

1

主题

225

回帖

277

积分

管理员

积分
277

社区居民忠实会员

发表于 2015-9-18 10:17:14 | 显示全部楼层
allgaeuer 发表于 2015-9-17 18:11
Hello there,
my name is Franz, I need help with my DS203 Hardware version 2.72.
My unit turns on onl ...

I'm sorry, due to the file didn't explain before, let you made a mistake. "Default.hex" The hex file is only suitable for HW2.81 DS203 (best teardown version number is obtained by PCB).

Now give you a HW2.72 DS203_Boot file, note: suitable for HW2.72 previous versions, but is not suitable for HW2.81.

SN:7931E19E  LIC:AB3DF91D
DS203_Boot: DS203_Boot(HW272).hex (720.15 KB, 下载次数: 1525)

回复

使用道具 举报

1

主题

3

回帖

8

积分

新手上路

积分
8
发表于 2017-10-28 01:09:04 | 显示全部楼层
[i = s] posts by alex32 in 2017-10-28 01:20 Edit

Hello thank you for your fine job. I have done the procedures exactly as you quote. I have a problem when I turn on, message: # FPGA configuration error #. please what should I do to solve the problem?  DS203 V2.72
Thanks in advance
Untitled.png
回复

使用道具 举报

1

主题

3

回帖

8

积分

新手上路

积分
8
发表于 2017-10-29 20:18:09 | 显示全部楼层

Can you please explain to me what I need to do?
回复

使用道具 举报

0

主题

1

回帖

1

积分

新手上路

积分
1
发表于 2017-12-23 04:01:11 | 显示全部楼层
[i = s] posts by Glenn in 2017-12-23 04:02 Edit
alex32 Posted 2017-10-28 01:09
posts by alex32 in 2017-10-28 01:20 Edit  

Hello thank you for your fine job. I have done the pro ...

Hi,

I've got same issue but found a way out

Downlaod https://github.com/MotoMaxis/DS203-DSOQuad.git
Unzip
Enter upgrade mode ( DSO: Pause button and power button ) and connect to PC
Copy first FPGA_281.ADR and wait tilll DSO reappears
Copy 281_FPGA.BIN and wait till DSO reappears
Copy app1.hex and wait till DSO reappears
Disconnect and restart DSO
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|MINIWARE产品技术交流 迷你工具-智能烙铁-加热平台-示波器-体感电动螺丝刀-数字电源-智能镊子 ( 粤ICP备07030012号-1 )

GMT+8, 2024-11-21 21:06 , Processed in 0.233456 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表