This was a case reported by one customer. We document it here in case other customers may encounter the same problem.
The problem was when tried to upgrade firmware via bootloader AVRUBD showed this:
-----------------------------------------------
> Start download
$ Send reset command: [7E ]
> Start connect
$ <1> Send connect key: 64
$ <2> Send connect key: 64
$ <3> Send connect key: 64
$ <4> Send connect key: 64
$ <5> Send connect key: 64
$ <6> Send connect key: 64
$ <7> Send connect key: 64
$ <8> Send connect key: 64
$ <9> Send connect key: 64
$ <10> Send connect key: 64
$ <11> Send connect key: 64
$ <12> Send connect key: 64
: 43 C
$ <13> Send connect key: 64
: 43 C
V Connect success
|
-
|
-
|
-
|
-
|
-
|
X Too many retry!
X Update fail
-----------------------------------------------
Apparently the connection was successful. The failure was due to flash writing error. The bootloader was some how damaged and failed in writing code to flash. To fix this the bootloader needs to be re-flashed.
To re-flash bootloader please following the steps below:
1 ) Connect to programmer (your flasher)
J3 is the programming header for U1. Please wire the signals on J3 to the matching signals on your programmer. Totally 6 wires are required (including power and ground). Please see attached photo for J3 orientation and use the schematic to identify the signals. The schematic is here http://www.jyetech.com/forum/download/file.php?id=41.
2 ) Load bootloader HEX file to your prorammer
The bootloader HEX file can be downloaded at http://www.jyetech.com/Products/LcdScop ... 03-023.rar. Please check the existing bootloader version number to see if it matches. [Some later shipments uses a different bootloader. This bootloader was attached with this post.] Remember to select correct chip type in your programming software to match that on DSO112. The chip type should be ATMega64A.
3 ) Power-up the scope
You can simply turn on the scope with its own power supply. You can also power it by the programmer (through the wires connected) if the programmer can source enough current (~200mA). The programming voltage should be 3.3V.
4 ) Program by following instructions of programming software.
5 ) If programming successes reboot the scope. You will see the bootloader screen and it constantly reboots for every few seconds. This is because the chip now only contains the bootloader, no main firmware.
6 ) Connect USB to PC and use AVRUBD to update the main firmware. The main firmware HEX can be downloaded here http://www.jyetech.com/Products/LcdScop ... es_112.php
Important: Do not change the fuse settings on the chip unless you are sure they have been changed. You can check them against that provided in the manual. Change fuses needs to be very careful because the chip may be locked up if mistake is made.
Can't upgrade firmware via bootloader
Re: Can't upgrade firmware via bootloader
So, just got my DSO112 on Monday.
Bootloader: 113-11203-023
FW: 113-11201-086
Looks like the firmware is out of date.
Following the directions I am seeing this:
If I read the above post correctly, the bootloader firmware is corrupt and needs to be reflashed? And to reflash, I need special hardware?
Bootloader: 113-11203-023
FW: 113-11201-086
Looks like the firmware is out of date.
Following the directions I am seeing this:
Code: Select all
V Loading file success: [C:\Users\doug\Desktop\113-11201-111.hex]
> File length: 0xC400/50176
> Flash size: 0x10000/65536
> Buffer size: 0xC400/50176
> Start download
$ Send reset command: [7E ]
> Start connect
$ <1> Send connect key: 64
$ <2> Send connect key: 64
$ <3> Send connect key: 64
$ <4> Send connect key: 64
$ <5> Send connect key: 64
$ <6> Send connect key: 64
$ <7> Send connect key: 64
$ <8> Send connect key: 64
$ <9> Send connect key: 64
$ <10> Send connect key: 64
$ <11> Send connect key: 64
$ <12> Send connect key: 64
$ <13> Send connect key: 64
$ <14> Send connect key: 64
$ <15> Send connect key: 64
$ <16> Send connect key: 64
$ <17> Send connect key: 64
: 43 C
$ <18> Send connect key: 64
: 43 C
V Connect success
|
-
|
-
|
-
|
-
|
-
|
X Too many retry!
X Update fail
Re: Can't upgrade firmware via bootloader
An AVR programmer is required to re-flash the bootloader. There are many low cost AVR programmer available on the net. This one, for example, is pretty popular http://www.fischl.de/usbasp/