Products > Test Equipment
DG4000 - a firmware investigation
<< < (84/96) > >>
GonzoTheGreat:

--- Quote from: PeDre on August 05, 2020, 10:31:43 am ---I now wanted to record the data with a self-made USB cable. But this does not work, the DG4000 gets stuck with the three illuminated buttons. Could this indicate a voltage problem?
The cable works without problems if the USB stick is used during normal operation of the DG4000.

--- End quote ---
It could indicate intolerance of the boot-loader's code to propagation delays occurring in a longer cable.  How long was it?
RoGeorge:

--- Quote from: GonzoTheGreat on August 05, 2020, 09:05:49 am ---
--- Quote from: RoGeorge on August 04, 2020, 07:09:16 pm ---Try an USB SD card reader with any card inside.

--- End quote ---
I did, without success ...but not with the clone of the "approved" FAT16 file system like before.
The MOD button is lit up steadily and the UTILITY button flashes slowly ...forever.

--- End quote ---

Why are you using FAT16 format?  I remember mine it was formatted FAT32.

I've just found my logs with the steps to upgrade, same thread in page 16, see the "code" section.  My USB pen drive was formatted FAT32:
https://www.eevblog.com/forum/testgear/dg4000-a-firmware-investigation/msg2829452/#msg2829452
GonzoTheGreat:

--- Quote from: RoGeorge on August 05, 2020, 12:49:53 pm ---Why are you using FAT16 format?  I remember mine it was formatted FAT32.

--- End quote ---
Because our resident expert "tv84" has written here that it is OK to use FAT16 and "PeDre" has posted his file system structure here, which contained FAT16.  I just cloned it.
tv84:

--- Quote from: PeDre on August 05, 2020, 04:52:01 pm ---I have tested several other USB sticks with 4 and 8 GB, but none works with the update. Even an external power supply for the USB stick does not help.

--- End quote ---

 :D That adds credit to my theory that this is a timing problem. The programming/interrupts doesn't know how to handle with certain controllers responses. It definitely seems that there is no flux control (delays, timeouts, etc) being maintained.

So, basically, it's a matter of luck.
noreply:
Not sure if this is going to be at all helpful, but I thought I should chime-in with regard to USB stuff.

I use (had no problems so far with a number of instruments) a Sandisk Ultra microSDHC UGS-I 32GB card

I put this 'card' into a usb adaptor - and the device 'looks like' a USB drive to the instrument.

I can then change the microSDHC cards - each different card with associated firmware / files / hacks - in the adaptor for each different instrument.

The cards are kept in a little 'box' dedicated for the storage of these devices - and they are cheap to buy <$10 and convenient to store.

Hope the above info is helpful.

The bonus element in the above is that if you want to 'retire' the microSDHC card from your USB applications - you can simply put it into a camera / smartphone and simply format - now you have a totally new use.

Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod