Products > Test Equipment

SainSmart DDS120 & DDS140 USB Oscilloscope

<< < (3/84) > >>

ganzuul:
Oh hey! Didn't notice people were posting here!  =D

I'm working on getting a dump from the EEPROM done, but I have been avoiding soldering since I remain horrible at the art. I should be able to attach to the 222 resistors fairly safely though... shouldn't I?

Doc tells me my approach of listening in on the Cypress uC talking to the EEPROM isn't going to work. But, should I not be able to analyze the data after capture just as well? Or is it necessary to chat up the 24LC64 to get it to tell me its secrets?



--- Quote from: dannyf on September 15, 2014, 11:07:35 pm ---You probably don't want to know this...
--- End quote ---
Ah, that was supposed to be a joke. I removed it now.

frenky:
I was able to read contents of eeprom connected to the CY7C68013A by folowing this instructions:

http://www.jwandrews.co.uk/2011/12/saleae-logic-analyser-clone-teardown-and-reprogramming/
http://www.cypress.com/?id=4&rID=33947
http://www.cypress.com/?id=4&rID=26141
http://cosmiac.ece.unm.edu/images/7/71/CyConsole.pdf

ganzuul:
Thanks frenky! I thought I had bricked the EEPROM for a moment there while I was playing around with CyConsole, but it seems to work fine still, capturing traces and so on.  :phew:

It strangely stopped responding to 0xA9 requests after I had mashed the buttons for a bit. It now occurs to me that it might have forgotten the Vend_Ax.hex firmware.
Meanwhile, I'm unsure of how to automate dumping the EEPROM. I would rather not manually iterate through the whole address range, but learning to code this thing has been on my to-do list so I might try that approach.

If others wish to try this route, I can add to step 6 at jwandrews.co.uk's instructions the following:
Open cmd with admin privs, enter;

--- Code: --->cd C:\Cypress\Cypress Suite USB 3.4.7\Driver\bin\wlh\x64
>pnputil -i -a cyusb.inf

--- End code ---
Meanwhile, Vend_Ax.hex is located in C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.0\Firmware\Vend_ax if you use
http://dlm.cypress.com.edgesuite.net/akdlm/downloadmanager/software/CY3684Setup.exe


In addition to the GUI improvements we have discussed, another potential use for this device might be software defined radio. A shortwave radio with two receiving antennas could be very interesting in case the data streams are 'coherent', since you could theoretically then put a ~10db attenuation on local sources of interference.

ganzuul:
Aah! That was easier than I thought. CyConsole does requests of 4096 bytes length, so I just made two of those.

https://docs.google.com/document/d/1gz8bpZO8d04XP_qIzXkw-ArYnnmb7o2oF7ut7Qiz32w/edit?usp=sharing

I'll clean it up and make a proper file out of it, like .hex or .iic...

Note line 0FF0 after the first 4096 bytes is equal to line 0000 of the second 4K. Then there is a little padding, and then the rest of the ROM is NULL. - The Keil compiler that the Cypress SDK comes with is restricted to binaries of 4K, so we can probably assume that Buudai used the free version!

Now IDA Pro does IIRC disassemble 8051 bytecode... More on this later.

ED:
The attached file should be the binary. I presume doc will tell us if it works! =)

doctormord:
BIG thanks to ganzuul and franky, we are back in business!  :box: :clap: :clap: :clap:

Reflash the EEPROM in short:

- disconnect (open) jumper R32 from pcb
- connect scope to PC
- wait for USB recognition (CYPRESS default VID/PID)
- connect (close) jumper R32 on pcb
- start Ponyprog2000
- set EEPROM type to 2464/2465 - I2C bus 16bit eeprom
- do a calibration (Setup -> Calibration
- read device to backup state (button)

- File -> Open Device File -> i.e. "DDS120_24LC64.bin"
- write device (button), verifies when finished

- reconnect scope, wait for scope driver to finish installation

 O0

Flashing is done via a simple parallel-port-programmer called "Easy I²C Bus interface":

http://www.lancos.com/prog.html#easyi2c

Bottom of page.

(Should also be possible via a CH341A eeprom programmer, but haven't any success)

Reprogramming can also be done via the CYPRESS USB Control Center (see attachment). When doing so, it is important to select the "64k eeprom":

- disconnect (open) jumper R32 from pcb
- connect scope to PC
- wait for USB recognition (CYPRESS default VID/PID)
- connect (close) jumper R32 on pcb
- start Cypress USB Console
- start EZ-USB Interface (Options -> EZ-USB)
- "Cypress EZ-USB ..." should be shown next do Device
- press Lg EEPROM "DnLoad to 64k EEPROM"
- select "All files *.*"
- select "DDS120_24LC64.bin"
- wait for finish then reconnect scope
- wait for scope driver to finish installation
- Done

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod