I haven't seen many references in the forums to what people are actually using their IR Toys for, so I thought you might be interested in how I've used mine in a project I've been working on recently.
I've had this working properly previously, but since upgrading to firmware v4.2 I've been getting different values when trying to dump memory from an SLE4442. Hopefully someone can point out my mistake to me.
First, my settings:
Bus Pirate v3 Firmware v4.2 Bootloader v4.1 DEVID:0x0447 REVID:0x3042 (B4) http://dangerousprototypes.com *----------* POWER SUPPLIES ON Voltage monitors: 5V: 4.84 | 3.3V: 3.27 | VPULLUP: 4.84 | a/A/@ controls CS/TMS pin Open drain outputs (H=Hi-Z, L=GND) Pull-up resistors ON LSB set: LEAST sig bit first *----------*
ATR macro works, read LSB first, and getting the expected 0xA2 0x13 0x10 0x91
ISO 7816-3 ATR (RESET on CS) RESET HIGH, CLOCK TICK, RESET LOW ISO 7816-3 reply (uses current LSB setting): 0xA2 0x13 0x10 0x91 Protocol: 2 wire Read type: to end Data units: 256 Data unit length (bits): 8
but when trying to dump main memory I don't get those values repeated in the first four bytes. I get 0x45 0x27 0x20 0x22 instead. {0x30 0 0xff} r:255 r:10 (-/_)I2C START BIT WRITE: 0x30 WRITE: 0x00 WRITE: 0xFF (_/-)I2C STOP BIT READ 0xFF BYTES: 0x45 0x27 0x20 0x22 0x03 0x00 0x02 . . .
I have three cards, all of which I have gotten the expected values prior to the v4 update and now all produce the same changes suggesting either I screwed something up terribly (quite possible), somehow managed to change the header info of the cards (unlikely), or something has changed in the firmware.
I suspect it may be a LSB or MSB issue, but I don't know enough about how they are converted to confirm. I do know the binary of 45 is 1000101 and A2 is 10100010 which seems like a mirror image, but that falls apart for the 0x27 and 0x13 of the next byte.
My IR Toy just arrived and it's working great with the notable exception that the infrared LED isn't firing. My questions are this: what's the metal sleeve on the LED for? I have a bunch of cheap infrared LEDs I got off eBay a long time ago... Any reason I can't swap one of those in?