This involved flashing a third party firmware. From a project which refuses to release binaries. I had to install something like 5GB of toolchains to build it, and then THEN! I had to manually edit the resulting .hex file. At some point the binary is converted to an ASCII representation of the hex pairs, but all letters converted to uppercase. Then it's parsed back into binary with the wrong values. I had to manually search and replace uppercase letters with lowercase.
I've seen a lot of dumb software nonsense in my time, but this one really takes the cake.
It also never actually worked. Hopefully the firmware on this revision is less terrible
Also buspirate was registered in 2009, last updated 2023. Same for dangerousprototypes. Seems legit to me.
There are very fancy high end tools like this that an electronics engineer might use, but the Bus Pirate has always been more tailored to things hackers and electronics hobbyists want.
I bought the predecessor (v3 because reasons) in 2010 for $27, it's impressive that this new version which has seriously improved capabilities is only $37.
As is normal with software developers having an electronics hobby, I haven't used it all that much, but the few times I have needed it I was really glad to have it and it made me happy.
A few quick questions:
1) Max data acquisition speed?
2) Max data buffer?
3) Are start/stop triggers available? (i.e., start buffering data when you see a specific binary string, stop after say 4K, 8K, 16K, etc. or when secondary binary string is seen, or start/stop when other conditions are true, etc.)
4) Max speed talking to host PC (not the chip or circuit being debugged) -- How fast?
5) Max continuous data streaming speed to host PC? (As opposed to buffering in local RAM? So data from Debug Chip or Circuit -> BusPirate -> Host PC... how fast (max sustainable speed) if continuous?)
Anyway, looks very cool!
2) RP2040 has 264kB of RAM, and a portion of it will be used by software. 3) Looking at the docs, seems like you either use dedicated protocol modes in which case you more or less get read bytes/write bytes commands. Or if you flash a one the RP2040 logic analyzer firmware ports you will likely only get basic edge/level triggers with all the protocol decoding happening in Sigrok on the computer. Some parts of docs mention macros which might be used for more complex interactions, but there are barely any details. 4/5) In the best case limited by USB FS speed 12Mbit/s (not even USB 2.0 HS) but I wouldn't be surprised if it was in many cases worse
Overall it's a jack of all trades master of none type of deal.
If you want a moderately performant logic analyzer, get a logic analyzer.
>It's a RP2040 don't expect an amazing performance or throughput.
In reading the "The Bus Pirate v5 Saga" (AKA the history of how the Bus Pirate was developed, including previous versions): https://buspirate.com/coming-soon/ -- yes, apparently the main CPU/microcontroller is a RP2040 -- that's apparently because other/previous microcontrollers turned out to have sourcing issues.
2) The RP2040 has 264kB of onboard RAM, that's true -- but apparently there is additionally a 128Mbit Flash RAM and 1Gbit NAND Flash RAM (https://hardware.buspirate.com/components/chips). I'm guessing that one of those could be used for data buffering -- although I am still uncertain as to the exact data rate... Would it be slower than the fastest logic analyzer? Probably. But I'd still value knowing that exact rate...
Not all applications require the fastest of the fast data rates (JTAG debugging at 115kbps, or slower, for example).
3) Thank you, good information!
4/5) Quite possibly true -- but again, I'd value knowing the exact max speed.
>If you want a moderately performant logic analyzer, get a logic analyzer.
Agreed -- but at $37.85 (https://dirtypcbs.com/store/designer/details/ian/6633/bus-pi...) -- for low-speed and JTAG debugging, it might be quite the deal!
Apparently low-end 100Mhz Arm+FPGA-based logic analyzers on EBAY (from China) start at $55 (at the point in time I am writing this, the price may of course fluctuate over time) but of course, the same questions as I raise with respect to the BusPirate also apply to all that's available on EBAY...
Also, apparently (https://buspirate.com/coming-soon/) an ICE40 FPGA was to be part of a previous BusPirate version in 2018:
>"2018 Bus Pirate gets an FPGA - An ICE40 FPGA is bolted onto the ARM, giving total flexibility over pin assignments, a fast logic analyzer and more."
But apparently that idea was scrapped due to chip sourcing issues...
Anyway, while definitely not a high-end logic analyzer, for $37.85 it looks experiment-worthy...