Jan. 23rd, 2013

torkell: (Default)
Well, that was surprisingly easy. I've just compiled the firmware for the Bus Pirate (with a change to one of the strings so I can tell it apart from the official one), flashed it, and checked that my change is there.

And all that without spending ages trying to put a build environment together - in fact, the longest part of the whole process was the installer for the MPLAB IDE. Compare that to the last time I tried doing anything with an embedded system, and gave up after spending several days trying to compile the necessary cross-compiler.

Anyway, now to make some real changes to the firmware...
torkell: (Default)
The Mystery Project is taking shape...

SPI>i
Bus Pirate v3.a
Firmware v6.1 r1676 TMcC  Bootloader v4.4
DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
http://dangerousprototypes.com
CFG1:0xFFDF CFG2:0xFF7F
*----------*
Pinstates:
1.(BR)  2.(RD)  3.(OR)  4.(YW)  5.(GN)  6.(BL)  7.(PU)  8.(GR)  9.(WT)  0.(Blk)
GND     3.3V    5.0V    ADC     VPU     AUX     CLK     MOSI    CS      MISO
P       P       P       I       I       I       O       O       O       I
GND     3.35V   4.82V   0.00V   4.80V   L       H       L       L       H
POWER SUPPLIES ON, Pull-up resistors ON, Open drain outputs (H=Hi-Z, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls AUX pin
SPI (spd ckp ske smp csl hiz)=( 1 1 0 0 1 1 )
*----------*
SPI>(0)
 0.Macro menu
 1.Sniff CS low
 2.Sniff all traffic
20.TMcC Mystery Project Mode
 
SPI>(20)
TMcC Mystery Project Mode
Any key to exit
 
cmd 0x01 flags 0x00 len 0
0x01|0x00
0x00|0x00
0x00|0x81
0x00|0x08
Sent ack/status

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 15th, 2025 05:34 am
Powered by Dreamwidth Studios