Setting up a cheap Logic Analyser (CY7C68013A) in Windows
Вставка
- Опубліковано 26 сер 2024
- This is a quick set-up guide for cheap CY7C68013A-based logic analysers with Windows 10, based on my experience.
Useful Timestamps:
General Overview: 0:08
Setup Guide: 0:55
My Other Thoughts on This Device: 5:53
Links:
Original Setup Guide by ChaitanyaV_61 (this contains the iic file): community.cypr...
Cypress EZ-USB SDK (requires a free Cypress account): www.cypress.co...
Sigrok PulseView: sigrok.org/wik...
CY7C68013A Datasheet: www.cypress.co...
HxD hex editor: mh-nexus.de/en...
Just in case the original guide is lost in the future, the hex values for the IIC file are: 0xc0 0x50 0x1d 0x8d 0x60 0x20 0x20 0x00
Please excuse my weird voice. It's worse at the moment due to allergies.
Useful Timestamps:
General Overview: 0:08
Setup Guide: 0:55
My Other Thoughts on This Device: 5:53
Links:
Original Setup Guide by ChaitanyaV_61 (this contains the iic file): community.cypress.com/docs/DOC-18867
Cypress EZ-USB SDK (requires a free Cypress account): www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit
Sigrok PulseView: sigrok.org/wiki/Downloads
CY7C68013A Datasheet: www.cypress.com/file/138911/download
HxD hex editor: mh-nexus.de/en/hxd/
Just in case the original guide is lost in the future, the hex values for the IIC file are: 0xc0 0x50 0x1d 0x8d 0x60 0x20 0x20 0x00
I bought one of these and then forgot all about it.... found it now so following the guide. Very good. Thanks!
Cool! I hope it worked out for you!
@@mMcFab It did! Have been using it today. Thx
Thanks! Helped to make it work after few years of conservation of the board!
Followed step-by-step, right through to connecting to a I2C link and getting the data decode. Everything was exactly as described - a very good job. This is Windows 11 with a generic clone module. Note that 24Mhz does not work, at least not with full 16 channels. I will need to explore the limits, but I am actually interested in multiple channels more than the high speed.
Hi, it is not necessary to download the 384MB "FX3 SDK Setup" file if you have some means of writing the EEPROM, perhaps using an Arduino or a cheap CH341 programmer. Memory has only 8 addresses written, the rest are all 0xFF.
I used the CH341 programmer (Type: 24 EEPROM; Manu: Holtek; Name: HT24LC128), kept jumper J2 (this jumper changes address A0 from 24C128) and connected VCC (3.3V), GND, SDA and SCL to the board pins and CH341 using wires. The contents of memory 24C128 (which CySuiteUSB3 wrote) is this: C0 50 1D 8D 60 20 20 00 (all in hex). After programming the EEPROM, using CH341 or another programmer, you must remove jumper J2 for use.
Thank you. I've tried the FX3 SDK method without any success. Then I used an Arduino board to program the 24C128:
#include
#include "SparkFun_External_EEPROM.h"
ExternalEEPROM myMem;
void setup()
{
Wire.begin();
if (myMem.begin() == false)
{
while (1);
}
char myValue1 = -64;
myMem.put(0, myValue1); //(location, data)
char myValue2 = 80;
myMem.put(1, myValue2); //(location, data)
char myValue3 = 29;
myMem.put(2, myValue3); //(location, data)
char myValue4 = -115;
myMem.put(3, myValue4); //(location, data)
char myValue5 = 96;
myMem.put(4, myValue5); //(location, data)
char myValue6 = 32;
myMem.put(5, myValue6); //(location, data)
char myValue7 = 32;
myMem.put(6, myValue7); //(location, data)
char myValue8 = 0;
myMem.put(7, myValue8); //(location, data)
}
void loop()
{
}
i wish i ve known this before watching the entire video
Excellent! Your instructions worked perfectly for me!
Very helpful. Thank you so much.
Clear and understandable. I have a logic level analyzer for 5 usd! Thank you my friend! First I followed the instructions for linux use, but unfortunately after i compiled the firmware I couldn't manage to load it to the board. Then I created a virtual w10 and followed your video! it works perfectly. Maybe You could make a video for linux also!
hi !!! Very handy explanation. I used to setup my logic analyzer. In a first attempt I used the instructables guide, but it lacked the part of downloading the application to the controller, so the analyzer software complained with an error.
Great job, thank you for sharing your knowledge!
Thank you, sorted my board out. Just a couple of things different in my scenario. Would not load the driver (windows 11) so had to fudge it by manually adding the driver - browse - add manually - selected all - then browsed to the driver directoryand click ok.
It listed a whole chain of them, so I selected the Cypress blah blah no eeprom. Windows complained saying using wrong driver might produce un expected results. Clicked ok and then the device showed up in the usb control center.
Had another problem writing the lic file. It only would do it successfully with the link enabled, failed with it off from the usb control software.
Ran Zadig, select unkown device, and BOMB, its all working. Cheers again. btw the board I had was a DollaTek EZ-USB FX2LP CY7C68013A USB
how to enable link
Awesome 👍
Congratulations ! It is very nice hardware. It is going to be very usefull for me. I am looking for reverse-engineering the serial communication between two home appliance's PCB's. I don't know even what is the protocol used, but it seems to be easy to discover. Thank you, Marina !
Finally today, I could install and configure my logic analizer. I followed your instructions and it is working. Thank you a lot, Marina McFab !
Thx got one in transit, and this will be a helping hand as this driver-bananas can be a jungle to sort out with cheap Chinese boards and clones.
but then again, at like a tad over 4 bucks... difficult to complain.
thx for the info.
If you have a board with only one jumper like me:
-jumper off
-connect to PC
-install drivers (Cypress)
-jumper on
-program
-install drivers (Zadig)
Done, always use with jumper on
Thanks
In PulsView i get a Error message that says.. : "failed to open device generic/unspecified error" Device is selected on sigrok FX2 LA (16ch), whats wrong here.? Please help me out.. I'm running Win 10 x64 | Kind Regards !
I just installed the driver and programmed eeprom on mine today. When running PulsView I get same fault as you. The deive is recogniced, but error message when it tries to open the device: "failed to open device generic/unspecified error", same as you. Did you ever find out how to fix the problem? Thanks.
cool
i can't install the driver. I set the correct path, but i get: "windows was unable to install your unknown device". I'm using win7 x64
me too, please tell me how to fix
hi guys! I just bought one and when i plugged in, the led doesn't work. It is normal before installing the drivers and the other stuff or my card is just dead ? there is 5v at one point in the board (i measured it) and I also use the switch before someone asking. If someone have this board non set up yet or if someone remembered before, let me know the behavior of the led. thanks
3:06 Can't find this diver.
I installed the logic analayzer, it works fine, but it pulls up without any signal. When 0v is given to the input, the signal becomes low, and when the signal is cut off, it becomes high. How can we set the entries as pulldown at startup?
The diver doesn't get a notification. I can't go in to see the appointment.
This is the same hardware of the HCTEST0006 (8 channel 24MHz) logic analyzer, which has input buffer (highly recommended).
Ooh, excellent recommendation!
Using PulseView 0.4.2 it only worked up to 12MHz here. The latest version has been identified as a virus by AVAST (Win32:Evo-gen).
I've had this thing laying around for about 2 years as well, still didnt find real use for it, but it could be useful at some point
what's the maximum frequency that can be used ? I have a cheap one (different) it's maximum is 16Mhz
help me!! how to change VID and PID step by step?
You are spring ans I2C, so you connect on clock and data. But In think you need to have the same ground (GND), otherwise logic analyser cannot detect accuratly the logic level. Somebody can explique me? Than you.
Hi, currently we had follow your instructions but in vain. Can we connect with you? Thank you very much
Can this be used as a USB to i2C adaptor? In order to flash new .bin files to printer cartridge chips..
USB Control Center 64kB EEPROM "Programming failed". I've followed all the tutorial but I wasn't able to program the EEPROM. Any clues? Thank you.
did you put off ur jumper before programming?
@@asdasd-qy1dq I've removed the jumper after powering the board and before programming. Two boards from the same seller with the same issue. But I was able to program it using an Arduino board like posted in another comment.
oh nice,I hope someone makes a video in detail.
how you program it can you please share having same issue @@andersonmorais8074
Hey are you able to use it at 24Mhz speed? pulseview crashing for me at 16Mhz and above! It's valid on both windows and Linux :(
If you are facing the same problem just disable all the pins from P8-P15. I am able to get up to 24Mhz speed on P0-P7 pins!
@@lorforlinux Impressive! I'm very new to the hardware scene, so learning how to do this stuff is great. Thanks for sharing!
@@mMcFab My pleasure, Maybe we both can learn something new from each other here ;)