Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: gipetto on September 12, 2019, 02:43:14 am

Title: Unable to upgrade bootloader from firmware v2.4 on buspirate 3.0a
Post by: gipetto on September 12, 2019, 02:43:14 am
I can connect fine with putty, so I am on the right device and baud rate. I am using linux mint, I have no windows boxs here. I tried the upgrader in the v2to21-bootloader0update-va2.zip. I don't wish to use the buspirate but I need an stk500-v2 programmer and this was on the shelf. Am I dead in the water here? I tried the jumper from pgc to pgd, I read that the buspirate doesn't have great linux support, should I abandon this and get a different programmer. I installed the pyserial library.

sudo python ./P24qp.py -s=/dev/ttyUSB0 -a ==auto=BPv3-v2blupdaterVa3-v4.1.hex
[sudo] password for gipetto: 
Using Serial Port =/dev/ttyUSB0 @ 115200
Can't open serial port =/dev/ttyUSB0 !
Title: Re: Unable to upgrade bootloader from firmware v2.4 on buspirate 3.0a
Post by: tayken on September 16, 2019, 07:39:04 pm
Code: [Select]
Can't open serial port =/dev/ttyUSB0 !
Get rid of the = before the actual serial device.

Code: [Select]
sudo python ./P24qp.py -s=/dev/ttyUSB0 -a ==auto=BPv3-v2blupdaterVa3-v4.1.hex 
I have no idea why you have all those = symbols in there. Also why use auto flag twice? Try this:

Code: [Select]
sudo python ./P24qp.py -s /dev/ttyUSB0 -a BPv3-v2blupdaterVa3-v4.1.hex 
But please check the hex file name first.