Author Topic: Warning about USBee  (Read 7785 times)

0 Members and 1 Guest are viewing this topic.

Offline andrewg_ozTopic starter

  • Newbie
  • Posts: 2
  • Country: au
Warning about USBee
« on: August 16, 2019, 02:02:57 pm »
Long time lurker here, registered just now to post this...

tldr: USBee makes (made?) logic analysers. They also produce their own Windows support software, the USBee Suite. That software appears to contain 'kill code' intended to disable knock-off clone hardware, but will also kill legitimately purchased USBee hardware.

In 2009 I was in the market for a logic analyser and decided on the USBee DX. At the time it was the top-of-the-line logic analyser from USBee. I purchased it primarily because their software supported user-developed protocol decoders, which I ended up making limited use of. I paid about $1600 at the time, which was a lot, but worthwhile for what I was doing with it.

A couple of years ago I stopped working for myself, and started working for "the man". I stopped using my own logic analyser. Until, that is, a few weeks ago when an old project turned up that needed troubleshooting. I downloaded the USBee Suite from the website re-installed it, and .... nothing. The logic analyser wasn't recognised.

Instead, an unknown device with VID 69C0 and PID 6909 showed up. The USBee DX should have been VID 08A9 and PID 0015.

Two weeks ago I emailed USBee and was advised to return it to fix an eeprom corruption, which I did. It was only after sending it that I thought to do some Googling. It turns out that USBee clone developers had reported the VID and PID of their hardware being changed to 69C0 and 6909 after running the USBee Suite software. Clearly, the anti-clone measures were too broad and had disabled my very expensive and legitimately purchased USBee DX, right when I needed to use it!

Two weeks later, and FedEx have been unable to deliver my logic analyser, so it is heading back. Unfixed. Apparently, the USBee guy I contacted gave me his *home* address, and he was "moving", so nobody was there to receive it.

So, let this be a warning. If you're currently using a USBee and their Suite - be very careful. Don't download any updates, and keep a copy of whatever installer you currently have. Use something like sigrok/pulseview instead. If you're looking at getting a USBee - don't. Any business that kills their own customer's hardware should be avoided. Well, I think something else should be done to them, but I'll refrain from describing *that*.

I'm currently planning to follow some instructions involving some Cypress utility software to edit the VID and PIDs myself. Maybe I can get it working.
 
The following users thanked this post: genghisnico13, wolfy007

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: Warning about USBee
« Reply #1 on: August 17, 2019, 01:53:53 am »
Thanks for the heads up.  Sounds like the morons at FTDI.
 
The following users thanked this post: comox

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5898
  • Country: ca
Re: Warning about USBee
« Reply #2 on: August 17, 2019, 02:13:35 am »
Cloned ftdi chip has its vid pid changed by the drivers .. windows cant see it properly identified afterwards      cant recall witch version

You have to use the ftdi prog  to reset/ re-write  the vid and pid to their proper versions, and use an x vesrion of the drivers to work .....

That was the famous FTDI gate ...
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9504
  • Country: gb
Re: Warning about USBee
« Reply #3 on: August 17, 2019, 10:31:04 am »
Best Regards, Chris
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16650
  • Country: 00
Re: Warning about USBee
« Reply #4 on: August 17, 2019, 01:00:26 pm »
Thanks for the heads up.  Sounds like the morons at FTDI.

Yup. If it has FTDI Inside then it might be nothing to do with USBee.

(apart from them using cloned chips to build the thing in the first place, but maybe they thought they were real chips...)
« Last Edit: August 17, 2019, 01:05:15 pm by Fungus »
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11632
  • Country: my
  • reassessing directives...
Re: Warning about USBee
« Reply #5 on: August 17, 2019, 01:30:54 pm »
so the $1600 USBee is using cloned FTDI?
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16650
  • Country: 00
Re: Warning about USBee
« Reply #6 on: August 17, 2019, 05:18:10 pm »
so the $1600 USBee is using cloned FTDI?

If they are, it's maybe not their fault.

FTDI are notoriously hard to buy from directly in "small" quantities (ie. less than millions) and the chip fakers are quite resourceful in getting their products into the supply chains used by anybody who wants less than that.

and (b) That still doesn't give FTDI the right to brick people's devices.

This has been gone over a zillion times already. No need to start another thread, the old ones still apply.

Start here:


« Last Edit: August 17, 2019, 06:00:17 pm by Fungus »
 

Online Kean

  • Supporter
  • ****
  • Posts: 2092
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Warning about USBee
« Reply #7 on: August 17, 2019, 05:57:28 pm »
There is no FTDI chip in the USBee DX.  This isn't related to FTDIgate.
The OP's problem may or may not be intentional on the part of the software developers.

The USBee DX apparently uses a pair of Cypress FX2LP chips (CY7C68013A) - one for digital I/O, and the other for analog inputs via some ADCs.  They "share" the USB via a USB hub chip.
More info (based on a clone) is at the Sigrok site https://sigrok.org/wiki/XZL_Studio_DX
 
The following users thanked this post: Fungus

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11632
  • Country: my
  • reassessing directives...
Re: Warning about USBee
« Reply #8 on: August 18, 2019, 06:18:57 am »
ditto, in fact i have the cloned hardware that can be switched between usbee, salaeae and altera blaster using cypress chip. it doesnt have FTDI. a $5 HW with $1595 SW. last night i checked they now have $20 version SW for the cloned HW. its the $1595 pro version that imo condemned the cloned chip.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline andrewg_ozTopic starter

  • Newbie
  • Posts: 2
  • Country: au
Re: Warning about USBee
« Reply #9 on: August 18, 2019, 09:59:28 am »
Just a follow-up, the USBee guy has been back in touch with a link to that cheap SW for cloned hardware, "You will want to use the following software so that doesn’t happen again".

That's pretty much admitting it was their software and it was deliberate...

I'll be really annoyed if this fixes it without faffing about with the Cypress software.
 

Offline comox

  • Regular Contributor
  • *
  • Posts: 52
Re: Warning about USBee
« Reply #10 on: January 02, 2024, 04:15:09 am »
Jan 1 2024: This is EXACTLY what has happened to me!   I pulled my USBee DX out of the drawer to put it to use, re-installed software and BAM the USB IDs had been changed!   Also paid $1600 for it new back in 2009 or so....     Company now out of business...  What can I do?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11632
  • Country: my
  • reassessing directives...
Re: Warning about USBee
« Reply #11 on: January 02, 2024, 05:11:20 am »
1600? You got to be kidding me! You must be a rich man.. what now? Buy saelae logic..
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 334
  • Country: sk
Re: Warning about USBee
« Reply #12 on: January 02, 2024, 07:38:25 am »
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
 

Offline mwb1100

  • Frequent Contributor
  • **
  • Posts: 529
  • Country: us
Re: Warning about USBee
« Reply #13 on: January 02, 2024, 07:46:32 am »
Maybe sigrok works with it?
 

Online Kean

  • Supporter
  • ****
  • Posts: 2092
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Warning about USBee
« Reply #14 on: January 02, 2024, 08:30:30 am »
At the Sigrok link I posted previously showing support of the clone USBee DX, it mentions there is only support for the digital inputs.

https://sigrok.org/wiki/XZL_Studio_DX
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: Warning about USBee
« Reply #15 on: January 02, 2024, 09:08:41 am »
Jan 1 2024: This is EXACTLY what has happened to me!   I pulled my USBee DX out of the drawer to put it to use, re-installed software and BAM the USB IDs had been changed!   Also paid $1600 for it new back in 2009 or so....     Company now out of business...  What can I do?
Get a suitable EEPROM programmer (not 100% sure, but isn't it possible to use the FX2 itself to program its EEPROM?) and investigate.

See if it's enough to reprogram PID/VID back to original values.

If not, beg for somebody to upload full image from a working unit. Or look if an image hasn't been published somewhere.
Or buy a clone and copy the firmware :-DD
 

Offline kloetpatra

  • Contributor
  • Posts: 29
  • Country: de
Re: Warning about USBee
« Reply #16 on: January 02, 2024, 08:11:54 pm »
1600? You got to be kidding me! You must be a rich man.. what now? Buy saelae logic..
Well, despite I like, and prefer Saleae logic analyzers over every other one, $1,499.00 isn't far away from your kidding $1600. In this regard Saleae isn't any different and they are actively bricking counterfeit analyzers as well. Until now I bought over 10 original analyzers from them and I absolutely recommend Saleae. Their support is outstanding. However when I tested a clone which uses a spartan 3 FPGA, it used to work until an update in 2015 or so. After that update it was completely dead even using previous SW versions. Either they've burned fuses in the FPGA or reprogrammed the I2C EEPROM with incorrect data.
« Last Edit: January 02, 2024, 08:38:07 pm by kloetpatra »
 

Offline comox

  • Regular Contributor
  • *
  • Posts: 52
Re: Warning about USBee
« Reply #17 on: January 02, 2024, 09:50:05 pm »
Thanks everyone for your suggestions.

The reason I dug it out was to try it with Sigrok, as I wanted to use the USB PD protocol decoding capabilities.

I first wanted to make sure that it was working so reinstalled the USBee software I had downloaded years ago - before USBee disappeared - and that it when I started having problems.   At first it was working.  The USBee DX software recognized the device, would run for a bit, then crash.  This happened a few times.

Then decided to try on a different machine that I had the USBee software installed.  It was at that point the device was no longer recognized.  The USBee device enumerates in Windows Device Manager, but is not connected to the correct drivers.

I then found this post, and confirmed that the USB VID and PID had been changed to the 69C0 and 6909 as the original poster indicated.  This means that Windows no longer recognizes the USB device and therefore cannot associate it with the USBee drivers.   So it is clear that that VID and PID in the USBee DX ROM has been corrupted.

I then tried the Cypress USB programmer (a software package from Infineon) that allows programming of the Cypress chips used by the USBee, which contains two CY7C68013A-56XVC, one for the digital inputs and the other for the analog.   No luck, as it could not see the USB devices.   Oddly It found the USB mouse and keyboard, but not the USBee.   

Assuming that the EEPROM code is valid but only the VID and PID have been altered, it may be salvageable, but if the EEPROM contents have been corrupted further, then, yes, a new software image will be required.

The question is, how do I program the bloody thing if even the Cypress software can no longer attach to the device?
 

Offline kloetpatra

  • Contributor
  • Posts: 29
  • Country: de
Re: Warning about USBee
« Reply #18 on: January 02, 2024, 10:40:30 pm »
The question is, how do I program the bloody thing if even the Cypress software can no longer attach to the device?

Well two options:
  • short SDA line to ground -> FX2LP detects eeprom corruption and boots to VID/PID of 04B4/8613
  • use external programmer
 

Offline Randy222

  • Frequent Contributor
  • **
  • Posts: 643
  • Country: ca
Re: Warning about USBee
« Reply #19 on: January 02, 2024, 10:42:09 pm »
Would be helpful for those confirming the issue to post SHA256 or MD5 hashes of the culprit executable.

Not all bad software is malware bad, but bad is still bad.  ;)
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5898
  • Country: ca
Re: Warning about USBee
« Reply #20 on: January 02, 2024, 10:56:52 pm »
Cypress Suite Usb 3.4.7  can  and could on some fx + eeprom,  rewrite and or work with an external eeprom,  not sure it apply here ??

CY3684Setup.exe   51 megs ....  i had to search a lot outside Cypress to get it
« Last Edit: January 02, 2024, 10:58:45 pm by coromonadalix »
 
The following users thanked this post: egonotto

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: Warning about USBee
« Reply #21 on: January 02, 2024, 11:00:53 pm »
The question is, how do I program the bloody thing if even the Cypress software can no longer attach to the device?

Well two options:
  • short SDA line to ground -> FX2LP detects eeprom corruption and boots to VID/PID of 04B4/8613
  • use external programmer
The short should work, of course it needs to be removed after the board shows up on USB but before accessing the EEPROM with Cypress software.

Alternatively, I found a 3rd party tool for Linux which reads and writes EEPROM connected to FX2. It can work with any IDs.
https://github.com/ribalda/fx2eeprom

I checked that it reads my FX2 board, but it only reads 4KB. Perhaps that's the maximum transfer the bootloader can do in one go and moving more data is as simple as repeating the USB request with increasing 'address' variable, but I haven't tried.

edit
Yes, it can read and write to arbitrary addresses, up to 4KB per run. Patch below is all I had to change, 'offset' is the address to start reading/writing at. I have successfully reprogrammed my board's 8KB EEPROM a few times.
Code: [Select]
diff --git a/fx2eeprom.c b/fx2eeprom.c
index 222b8eb..72d8883 100644
--- a/fx2eeprom.c
+++ b/fx2eeprom.c
@@ -47,7 +47,7 @@ enum {READ,WRITE};
 
 void use(char *prog){
 
- fprintf(stdout,"%s w/r VID PID size\n",prog);
+ fprintf(stdout,"%s w/r VID PID size offset\n",prog);
 
  return;
 }
@@ -60,7 +60,7 @@ int main(int argc, char *argv[]){
  int address =0;
  int mode;
 
- if (argc!=5){
+ if (argc!=6){
  use(argv[0]);
  return -1;
  }
@@ -72,6 +72,7 @@ int main(int argc, char *argv[]){
  vid=strtoul(argv[2],NULL,0);
  pid=strtoul(argv[3],NULL,0);
  length=strtoul(argv[4],NULL,0);
+ address=strtoul(argv[5],NULL,0);
 
  buffer=malloc(length);
  if (!buffer){
« Last Edit: January 02, 2024, 11:45:37 pm by magic »
 
The following users thanked this post: comox, egonotto, mwb1100

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5898
  • Country: ca
« Last Edit: January 02, 2024, 11:10:20 pm by coromonadalix »
 
The following users thanked this post: egonotto

Offline comox

  • Regular Contributor
  • *
  • Posts: 52
Re: Warning about USBee
« Reply #23 on: January 03, 2024, 08:26:46 pm »

Well two options:
  • short SDA line to ground -> FX2LP detects eeprom corruption and boots to VID/PID of 04B4/8613
  • use external programmer

The short should work, of course it needs to be removed after the board shows up on USB but before accessing the EEPROM with Cypress software.

Alternatively, I found a 3rd party tool for Linux which reads and writes EEPROM connected to FX2. It can work with any IDs.
https://github.com/ribalda/fx2eeprom

I tried shorting SDA to GND and connecting to USB, letting it start, but it didn't change the VID/PID.

There is a convoluted Windows process involving VisualStudio to change the VID/PID of the drivers, but seemed like too much work.

I think fx2eeprom is the way to go, but I am struggling to get it compiled.   I have some Linux VMs, mostly Red Hat 7.9 x64, and have managed to connect the device through to the VM (VMWare on Windows) and lsusb displays the 2 Cypress devices, so promising.

Just struggling to get the fx2eeprom software complied.   Installed libusb, had to download and install the rpm libusb-devel, but perhaps it is the newer flavor of Linux I'm using?

I am tempted to bin the thing and just buy a cheapo Sigrok compatible logic proble from Spark Fun.
« Last Edit: January 03, 2024, 08:34:34 pm by comox »
 
The following users thanked this post: egonotto

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: Warning about USBee
« Reply #24 on: January 03, 2024, 09:24:26 pm »
C25 :wtf:

I tried shorting SDA to GND and connecting to USB, letting it start, but it didn't change the VID/PID.
You failed to short it properly. But forget it, I tried with my board and the FX2 simply hangs forever waiting for the EEPROM read to complete and never responds to enumeration requests from the host. Same thing when shorting SCL. My board has a jumper to disable the EEPROM but it works by disconnecting SDA from the chip.

Just struggling to get the fx2eeprom software complied.   Installed libusb, had to download and install the rpm libusb-devel, but perhaps it is the newer flavor of Linux I'm using?
This should do it. What happens? What's the libusb version you installed? Was it the same for -devel? ;)
« Last Edit: January 03, 2024, 09:30:57 pm by magic »
 
The following users thanked this post: egonotto


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf