Since Ian started already releasing v5.2, I jumped also on the wagon:
I just commited r410, nothing much, but added:
- baudrate can be manually set for pcside (uart1) and protocol (uart2)
- display warning when the speed of uart2 is faster then uart1
- updated the firmware display string
here is a 'screenshot':
HiZ> i
Bus Pirate v3a
Firmware v5.2RC (r410) Bootloader v4.1
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
HiZ> b
Set serial port speed: (bps)
1. 300
2. 1200
3. 2400
4. 4800
5. 9600
6. 19200
7. 38400
8. 57600
9. 115200
10. BRG raw value
(9)> 10
Enter raw value for BRG
(34)> 68
Adjust your terminal and press space to continue
HiZ> m 3
Set serial port speed: (bps)
1. 300
2. 1200
3. 2400
4. 4800
5. 9600
6. 19200
7. 38400
8. 57600
9. 115200
10. BRG raw value
(1)> 10
Raw value for BRG (MIDI=127)
(34)> 34
Data bits and parity:
1. 8, NONE *default
2. 8, EVEN
3. 8, ODD
4. 9, NONE
(1)>
Stop bits:
1. 1 *default
2. 2
(1)>
Receive polarity:
1. Idle 1 *default
2. Idle 0
(1)>
Select output type:
1. Open drain (H=Hi-Z, L=GND)
2. Normal (H=3.3V, L=GND)
(1)>
WARNING: Possible bufferoverflow
Ready.
UART>
I haven't added a nightly or made it final since (at least) Ian also has some things to add.
I wanted to add the improved i2c sniffer posted in the forums, but there wasn't enough room for it. Prolly better to overwrite the existing one instead of using this one along with the current (dunno yet what to do)