Mobile SIM & bank card and 24C02 EEPROM IC card demos updated with autosnips, autocast, and datasheet integration.
I also tried to be sure to link back into the command reference for every command used (m, W, P, etc), and went back and updated the LEDs tutorial as well.
Fixed some firmware display bugs and resnipped everything in the command reference
This is the true power of the new autosnip and autocast - fix a bug and update the docs in seconds.
Hints for autosnip & autocast:
m hiz
c
3
1
x
rm bpi2c.bp
# 24c02-setup
m i2c
100
1
# 24c02-power
I start every snip script with m hiz; c 3 1 x; rm bpi2c.bp to setup the Bus Pirate before making snips. This:
- Go to hiz
- Config menu, disable toolbar
- delete the i2c (or mode) config file so we see the full setup each time instead of “use previous settings” prompt.
rm bpi2c.bp
m i2c
100
1
W 5
P
[0xa0 0x00 0xff:8]
[0xa0 0x08 0xff:8]
m hiz
c
3
2
x
rm bpi2c.bp
# 24c02-cast
m i2c # m i2c - enter I2C mode
The screencast is even more involved. First we go to I2C, enable power, pullups. Then we erase the rows used in the demo so they start fresh. Then we go to hiz, enable toolbar, delete the mode config file, and then start the screencast capture.
I’m uploading all my -snip.txt and -scat.txt scripts to the /tools/ folder of the docs repo.
Good suggestion. I’ll read through the datasheet.