General > General Technical Chat
The Rigol DS1052E
just:
Hi Meiner, as I can see in the flash file you have changed the serial number before the downgrade...
The two halfs of the flash are quite identical, only 251 bytes are different, more data in the first half. And the *.rgl is with 21 bytes more than 4MB, not 16 bytes. Maybe it will work if you put the file in the lower part of the flash, without the 21 bytes...
regards
Just
JimBeam:
--- Quote from: shafri on July 22, 2010, 05:29:24 am ---each half in the bin is 4,194,344 bytes, my 2.02 *.rgl is 4,194,325 bytes. so its 19 bytes shorter? how could you say that it got 21 bytes more than 4MB?
--- End quote ---
2^22 = 4,194,304 - not 4,194,344
So it is 21 bytes longer.
just:
Hi, please calculate
8 MB = 8388608 bytes, the size of file.bin, split in 2 and see the size of each one, also compare them
4 MB = 4194304 bytes,
the *.rgl file is 4194325 bytes in size
so the difference are 21 bytes: "DS1000E 02.01.01.00"
Meiner:
--- Quote from: just on July 21, 2010, 10:50:06 pm ---Hi Meiner, as I can see in the flash file you have changed the serial number before the downgrade...
The two halfs of the flash are quite identical, only 251 bytes are different, more data in the first half. And the *.rgl is with 21 bytes more than 4MB, not 16 bytes. Maybe it will work if you put the file in the lower part of the flash, without the 21 bytes...
regards
Just
--- End quote ---
Hi Just,
you are right, I already changed the serial number. I also thought about writing the *.rgl without the 21 byte header into the forst half of the flash, but after finding out that the flash contains less data than the *.rgl, I'm not so sure to do so any more. I'm afraid of damaging the solder pads on the pcb by multiple soldering/desoldering the flash...
I'm trying to get the contents of a working flash, to find out whether the few data in my flash was caused by the failed downgrade or not. I hope to find out, that the *.rgl is really placed in the lower half of the flash, if so, I can safely program a new flash and resolder it.
So, if someone could post his (working) flash content, I would be very thankful.
Mechatrommer:
--- Quote from: Meiner on July 25, 2010, 11:35:35 am ---Hi Just,
you are right, I already changed the serial number. I also thought about writing the *.rgl without the 21 byte header into the forst half of the flash, but after finding out that the flash contains less data than the *.rgl, I'm not so sure to do so any more. I'm afraid of damaging the solder pads on the pcb by multiple soldering/desoldering the flash...
I'm trying to get the contents of a working flash, to find out whether the few data in my flash was caused by the failed downgrade or not. I hope to find out, that the *.rgl is really placed in the lower half of the flash, if so, I can safely program a new flash and resolder it.
So, if someone could post his (working) flash content, I would be very thankful.
--- End quote ---
yup! u ar going to need the good working scope's flash content as we dont know how's the existing file header content will be mixed together with the written firmware by the bootloader. cant you device a way to program the flash on board right away? so to avoid multiple solder-desolder? the existing JTAG maybe? or build a custom parallel interface that pop out of the flash pin on the PCB? this way, we can program the flash and test it as many time we want.
even the 3rd party generic flash reader still quite expensive for me, i'm thinking of building a custom PIC or AVR EEPROM reader for this specific spansion flash, but gotta find a good allocation of time for it, still quite busy for everything rite now :(
if any existing code for pic or avr for this, i'll be happy to burn it down the pic and start poking out my spansion.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version