Skip to main content
Topic: Bus Pirate - Community Firmware 7.0 (Read 95106 times) previous topic - next topic

Re: Bus Pirate - Community Firmware 7.0

Reply #150
Hi guys, since 2012 I bought the buspirate V3.5C and the buspirate V4.0
Several times update the firmwares, but always return to firmware version v6.2-beta1 r1981.
By mid-2018 I had loaded the bpv3_fw7.11_opt1_12062018.hex but then went back to v6.2-beta1 r1981.
I have a pickit2 which I use from console with pk2cmd.
I wonder if you could not include the bootloader and load the firmware directly with pickit2, for both buspirates.
And what would be the current firmwares to test ... I would have to download a new mplabx, since I have the old mplabx 4.20 running on wine
In this state I am now with both buspirates.

pickit2 identify to ICSP buspirate V3.5C
$ pk2cmd -P -I
Auto-Detect: Found part PIC24FJ64GA002.
Device ID = 0447
Revision  = 3043
Device Name = PIC24FJ64GA002
Operation Succeeded


$ ls -l /dev/ttyUSB0
crw-rw---- 1 root plugdev 188, 0 feb 18 19:52 /dev/ttyUSB0

$ minicom -D /dev/ttyUSB0
HiZ>i
Bus Pirate v3.5
Firmware v6.2-beta1 r1981  Bootloader v4.4
DEVID:0x0447 REVID:0x3043 (24FJ64GA002 B5)
http://dangerousprototypes.com
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)

(1)>



pickit2 identify to ICSP buspirate V4.0
$ pk2cmd -P -I
Auto-Detect: Found part PIC24FJ256GB106.
Device ID = 1019
Revision  = 0003
Device Name = PIC24FJ256GB106
Operation Succeeded

$ ls -l /dev/ttyACM0
crw-rw---- 1 root uucp 166, 0 feb 18 19:54 /dev/ttyACM0

$ minicom -D /dev/ttyACM0
HiZ>i
Bus Pirate v4
Firmware v6.2-beta1 r1981
DEVID:0x1019 REVID:0x0003 (24FJ256GB106 A5)
http://dangerousprototypes.com
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. KEYB
9. LCD
10. PIC
11. DIO
x. exit(without change)

(1)>

Greetings.

 

Re: Bus Pirate - Community Firmware 7.0

Reply #151
It seems that everything has gone well for me, clone the git and compile for BP3 and BP4, I just changed #define BF_FIRMWARE_STRING in base.h
to refer to the compilation date.
Don't use bootloaders and program directly with pickit2,
Everything was accomplished with mplabx 4.20 and XC16 V1.35.

$ pk2cmd -P PIC24FJ256GB106 -M -F busPirate.X.production.hex
Using PE
PICkit 2 Program Report
19-2-2021, 4:55:03
Device Type: PIC24FJ256GB106
Program Succeeded.
Operation Succeeded

$ pk2cmd -P PIC24FJ64GA002 -M -F busPirate.X.production.hex
Using PE
PICkit 2 Program Report
19-2-2021, 5:22:57
Device Type: PIC24FJ64GA002
Program Succeeded.
Operation Succeeded

$ minicom -D /dev/ttyACM0
HiZ>i
Bus Pirate v4
Community Firmware v7.1 - colodes 19-02-2021 [HiZ 1-WIRE UART I2C SPI 2WIRE 3WIRE KEYB PIC DIO]
DEVID:0x1019 REVID:0x0003 (24FJ256GB106 A5)
http://dangerousprototypes.com
HiZ>

$ minicom -D /dev/ttyUSB0
HiZ>i
Bus Pirate v3.5
Community Firmware v7.1 - colodes 19-02-2021 [HiZ 1-WIRE UART I2C SPI 2WIRE 3WIRE PIC DIO] Bootloader v255.255
DEVID:0x0447 REVID:0x3043 (24FJ64GA00 2 B5)
http://dangerousprototypes.com
HiZ>

I will be talking with a 24C44 and with a DS18S20 and reporting if I find problems.
Greetings.