Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : El Cheapo Logic Analysers
Page 2 of 2 | |||||
Author | Message | ||||
Wajkaj Newbie Joined: 03/11/2012 Location: NetherlandsPosts: 14 |
Bought one too from Ebay. Installed Saleae software. And to my surprise, it works. Finally i can check I2C and SPI signals now. Great tool for a very low price. Thanks to all for bringing this up. Started with LNW80. |
||||
James_From_Canb Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 265 |
I finally got my USBee clone working as a Saleae under XP on my laptop. Ray provided a link providing instructions on how to convert a Saleae to a USBee and back, so if you get a Saleae clone, they're the instructions to follow. If however you're like me and bought a USBee labeled box, there's an extra step needed. Once you've changed the VID/PID on the box to 0925/3881 you're still using the Cypress generic driver 3.4.7. You need to go to Device Manager and uninstall the Cypress driver. Then remove the cable from the USB socket and reinsert it after a couple of seconds. XP will say it has found a Cypress device. Don't let it install that driver again. (I tried renaming the .inf file to stop it reinstalling, but it used the driver and info it had installed last time, so don't bother trying that). Tell it you will point to the driver. Then point to the driver in C:\Program Files\Saleae LLC\Drivers. That installs the correct driver, and Logic 1.1.15 (the Saleae software) will automatically identify the device. Voila. Done. Thanks to Ray for putting up with an almost endless stream of questions while we figured it out. Some notes: 1. The Saleae VID/PID is 0925/3881 2. The USBee VID/PID provided in the article is 08A9/0005 3. The USBee VID/PID on my box was 08A9/0014 4. My box had some sl*g stuck across some tracks next to a chip which may have damaged it (see note 5). You should check carefully before using. 5. I cannot use CypressConsole to change the VID/PID unless I download the generic firmware first. That's each time, and not how it's supposed to work. Any advice gratefully accepted. 6. If you want to try Saleae software, my suggestion is to buy one of the boxes already loaded with the Saleae VID/PID. Buying the USBee one from DX cost around $12. Buying a Saleae one from eBay will cost around $18. In my opinion the time taken to change the VID/PID is more valuable than the extra $6, so I'd buy the eBay one if I did this again. Then again, it was interesting and I learnt lots. 7. Some Internet forum threads talk about early clones having too big an EEPROM. It needs to be only 256 bytes according to their research. If you get an "EEPROM not found" message, that may be why. 8. Be adventurous. When in CyConsole, try dumping the first 256 bytes of the EEPROM. You can even dump the first 512 bytes, but maybe the 256 bytes of EEPROM address fit into the main chip's address space so the extra 256 bytes shown are not from the EEPROM - or maybe it can actually have a bigger EEPROM. I can't read the details on top of the EEPROM chip to check. 9. If you search for USBee in DX you won't find the cheapie. You need to search for Logic Analyzer, or just follow this link DX USBee cheapie. Check out the Analyzer link on DX anyway. There are lots of interesting ones. 10. I intend to treat this the same way I used to treat pirate game software many years ago before demo versions came out. If I find that I actually use it regularly, I'll buy the original. If I don't, it just goes into the cupboard. If I get time I'll revise the instructions on Ray's link to include the newer software versions and tools, and how to start with a USBee. James My mind is aglow with whirling, transient nodes of thought careening through a cosmic vapor of invention. Hedley Lamarr, Blazing Saddles (1974) |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Hi James, I'm having trouble finding this specific development kit mentioned in that JW Andrews site to get my Logic Analyser going - I bought the same one as you. Some googling quickly led to this article, explaining how to read the EEPROM contents using the CY7C68013A (which the EEPROM is of course connected to). So, I downloaded the Cypress EZ-USB development kit (cy3684_ez_usb_fx2lp_development_kit_15.exe) which contained the tools to allow this. I downloaded what appeared to be the correct one from this link Cypress - it was the one at the top of the list, 51MB, dated 06/07/2012 but it doesn't have the "_15" at the end of filename as shown on the JW Andrews blog. I installed it (after installing the Akami downloader they wanted installed first) but it doesn't seem to have the CyConsole included, just the GPIB and Kiel programs. Can you give me a specific link to the correct development kit that contains the CyConsole and drivers please. Greg |
||||
James_From_Canb Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 265 |
Hi Greg. That link looks like a mix of TBS and Cypress site info - http://www.thebackshed.com/forum/cy3684_ez_usb_fx2lp_develop ment_kit Anyway I think that's the same one I downloaded. (update: it's needed for the vend_ax.hex file). I downloaded CySuiteUSB_3_4_7_B204.exe from the bottom of this Page. That's even though the author says it's not needed for XP. It has CyConsole and the drivers I needed. HOWEVER, maybe running CyConsole and using the drivers from this instead of EZ-USB is why I needed to download the new firmware every time I wanted to change the VID/PID. I'd like to know why it doesn't work like the author says for completeness, but it's not necessary to changing to the Saleae VID/PID. James Edit: Hang on. Looks like the vend_ax.hex is in the EZ-USB suite. My mistake. Post updated. What a pain to install all that software for one small file. My mind is aglow with whirling, transient nodes of thought careening through a cosmic vapor of invention. Hedley Lamarr, Blazing Saddles (1974) |
||||
graynomad Senior Member Joined: 21/07/2010 Location: AustraliaPosts: 122 |
I understand that Saleae are releasing a much enhanced version of their software soon, I wonder if they have found a way to stop the clones, probably not without new hardware as well. Rob Gray, AKA the Graynomad, www.robgray.com |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Yes, not sure what I did there but you're right it seems to be the right one. I managed to find all the files - they were there all the time from the install, I'd just been looking in the wrong place and the install had put an icon on the desktop for the Kiel and GPIB programs but not for the Cy Console ones - set me off on the wrong foot. It installed CyConsole.exe in the C:\Cypress\Cypress Suite USB 3.4.7 folder. I also have the cyusb.inf and cyusb.sys files in the: C:\Cypress\Cypress Suite\USB 3.4.7\Driver\bin\wxp\x86 folder and the vend_ax.hex file in the C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.0\Firmware\Vend_ax folder - note the different main folders here. I've made the Cypress VID & PID changes to the .inf file OK but I can't seem to install the cyusb.sys driver. I plug the unit in, I stop the installation, tell it where cyusb.inf (modified) is and it comes back with "no device information". This is all too complicated to explain here, I'll have to call you, maybe around midday tomorrow if you're going to be home. Greg |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
James & Ray, Thanks for your help here, I've finally got it all happening and seen a few pulses. All I have to do now is find a good job for it - which is probably unlikely to happen soon, but it's been instructive setting it up, especially the USB PID/VID thing and modding the EEPROM with CyConsole. Rob Guess it'll be interesting to see - there must be thousands of these out there now. I've got the same attitude to it as James - if I was using it at all regularly or commercially I'd get the real thing, but I'm not going to shell out $150 for something I'll probably only ever use to learn. At $150 I wouldn't be in the market for one so I guess I'm not affecting their market. Greg |
||||
Page 2 of 2 |
Print this page |