Skip to main content
Topic: V4: cannot change the firmware anymore ? (Read 1576 times) previous topic - next topic

V4: cannot change the firmware anymore ?

Hi,

I *somehow* upgraded my bus pirate v3 from a VM running windows. Now it sounds like it is working:

Code: [Select]
HiZ>i
Bus Pirate v3
Firmware v4.1 Bootloader v4.1
DEVID:0x0447 REVID:0x3003 (A3)
http://dangerousprototypes.com
HiZ>

Note that I am a Linux user. I'd like to have an AVR programmer (STK500) to communicate with my buggy arduino.
When I add the jumper between the 2 pins PGC & PGD, the MODE led is turned on. Then, when I try to upload, the green led goes away (bootloader exits ?) and I get:

Code: [Select]
> ./P24qp.py  -s /dev/ttyUSB0 -a ../v3-STK500v2-v0a.hex -v
Using Serial Port /dev/ttyUSB0 @ 9600
Reading 4 bytes from address 0x00FF0000
RX Error:  3  bytes received
47 39 50

Can't connect to device, sorry!

Also, I cannot get any info from it (-i option). I'm very new to bus pirate and I don't really understand what's going on :S.  Also, as it was already said in the previous post, PIC24F cannot connect to the device.

Any help would be appreciated.


c0

Re: V4: cannot change the firmware anymore ?

Reply #1
It looks to me like your now running the new bootloader. is that right?

Has the STK500 .hex file been updated to work with the new bootloader?

As i didnt think it had been yet.

If it hasnt been updated then you will need to reload the old bootloader or wait for ian to update the firmware to suit the new bootloader.

Re: V4: cannot change the firmware anymore ?

Reply #2
Buspirate version 4 and higher require the new bootloader. There are several option when running linux, if you have mono  installed you can use the GUI, but there is also a commandline util.

The GUI is in the SVN and (just added a couple of hours ago) the commandline util. PQ24 just wont work for buspirate 4+.

More info on the dangerousprototypes blog.

Re: V4: cannot change the firmware anymore ?

Reply #3
Code: [Select]
> ./P24qp.py  -s /dev/ttyUSB0 -a ../v3-STK500v2-v0a.hex -v

P24QP is not compatible with the new bootloader v4, it only works with v2. Please use the ds30 Loader or the console utility to bootload the stk500v2 firmware.
http://dangerousprototypes.com/2010/01/ ... 4-upgrade/
http://dangerousprototypes.com/2010/01/ ... linux-mac/

There is a new stk500v2 compile for the v4 bootloader in the v4.1 firmware download at on the Google Code page.
http://code.google.com/p/the-bus-pirate ... e.v4.1.zip
Got a question? Please ask in the forum for the fastest answers.

Re: V4: cannot change the firmware anymore ?

Reply #4
Ok good, I was kind of confused with all these different softwares.

I'm gonna have a try, thanks a lot for all your replies !

c0