Following another thread I started thinking about BusPirate extension card that will allow read/write to NAND chips. Probably it will be slower than dedicated(more expensive) devices like ProgSkeet...
BusPirate is the king in the serial IO world(at least for me) with an extension card it will step in the Parallel world too.
Hi, I am trying to read 2MB SPI EEPROM in binary mode and could not manage to use write-then-read function. There is something i don't understand:
Quote
1. First send the write then read command (00000100) 2. The next two bytes (High8/Low8) set the number of bytes to write (0 to 4096) 3. The next two bytes (h/l) set the number of bytes to read (0 to 4096)
above is clear but next:
Quote
4. If the number of bytes to read or write are out of bounds, the Bus Pirate will return 0x00 now
Else if the number of bytes are in the bounds, does BP return something, or do nothing?
At the moment I use freeware version of Eagle, but will try some projects with Target3001( and its integration with PCBfab service). I have KiCAD installed but no projects with it.
Hi, Reading this wiki page. When setting this value, is it expected IRToy to respond on success/fail as BusPirate? When sending 0x05 0x0n (n is 0..7) I do not receive response (0 or 1) but when send something with remote, the capture is different, but not as I expected. See the screen shots. Every capture is with same remote button (Power) code. I expected that after setting [0x05,0x07] I should capture same data as the default one. When I set [0x05,0x06] I expect to see 2x greater values that i shoud multiply with 21.3333/2=10.6666 to get same value. when set [0x05,0x05] I should receive 4x greater values, and so on... Or I am wrong?
Hi, Finally I managed to cleanup the code of my Perl script for recording data from IRToy. Currently it is working with Win32::SerialPort module (windows only AFAIK). Change COM4 to other COM port if needed; There is a 'secret' function to dump (to stdout) the received bytes and the calculated time. To enable this function just create an empty file with name 'irtoy.dump' in the folder where the script is running.
Quote
G:ProjectsEclipse-3.6IRToy>irtoy_record.pl test Sampling mode enabled! Press key on remote or CTRL+C to terminate Processed: test000 min=18(383.9994us), sum=9505.0000, multiply=21.3333, len=400 Processed: test001 min=18(383.9994us), sum=27773.0000, multiply=21.3333, len=1000 Terminating on signal SIGINT(2)
Hi, This Perl script decodes commands from PANASONIC EUR648251 remoce. The protocol is similar to NEC but with different timings and 6 data bytes encoded. According to this lirc file the decoder is working (pre_data is the same and the codes are correct too). The attached bin file contains 'Power','1','2' and '3' button codes.
Hi, Because I am not familiar how to create .ols files and my IRToy cant talk to jawi's OLS client(do not know why) I needed a tool to visualize the data received from the IRToy. So I wrote an script for reading from irtoy (the code is ugly) that works almost like the IRToyRedWrite util. Then the dumped bin was passed to this script. The script helped me to have visual impression of the data.
Hi, The attached perl script is my simple try to decode NEC's IR protocol(details from here). As an single parameter pass a bin file generated by IRToyRecPlay utility.
Usage in cmd prompt: > ir_NEC.pl dumpfile.bin
Here is sample session:
Quote
G:ProjectsEclipse-3.6IRToy>ir_NEC.pl test000.bin 0x00F7AA55 IR-NEC: Addr1:0x00, Addr2:0xF7, Cmd:0xAA OK 0xFFFFFFFF R 0xFFFFFFFF R 0xFFFFFFFF R 0x00F7EA15 IR-NEC: Addr1:0x00, Addr2:0xF7, Cmd:0xEA OK 0xFFFFFFFF R 0xFFFFFFFF R 0xFFFFFFFF R 0xFFFFFFFF R