Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: andromeda92 on December 29, 2017, 01:04:14 pm

Title: [RESOLVED] help for upgrade firmware for bus pirate v3
Post by: andromeda92 on December 29, 2017, 01:04:14 pm
Hi,
i have no issue for upgrading firmware (all firmawre testing). i have bootloader v4.4 and firmware 5.10
with pirate loader i have this message

Quote
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.



C:buspirate>pirate-loader
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+
  Loader version: 1.0.2  OS: WINDOWS
+++++++++++++++++++++++++++++++++++++++++++

pirate-loader usage:

 ./pirate-loader --dev=/path/to/device --hello
 ./pirate-loader --dev=/path/to/device --hex=/path/to/hexfile.hex [ --verbose
 ./pirate-loader --simulate --hex=/path/to/hexfile.hex [ --verbose


C:buspirate>pirate-loader --dev=COM1 --hex=bpv3_fw7.0_opt2_18092016.hex
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+
  Loader version: 1.0.2  OS: WINDOWS
+++++++++++++++++++++++++++++++++++++++++++

Parsing HEX file [bpv3_fw7.0_opt2_18092016.hex]
Could not load HEX file, result=0



with picpro i have this

Quote
C:buspirate>picprog -p buspirate -u COM8 -s 115200 -c 24FJ64GA002 -t HEX -w BPv
3-firmware-v6.3-r2151.hex
(Bus) Pirate PIC Programer v0.2

Initializing interface
115200
Entering binary mode
Buspirate:Too many tries in serial read! -exiting
 - chip not detected, or not readable/writable

i have tested on windows 7 x64 and xp, i have tested to firmware 6.3.
drivers ftdi is latest.

Any idea ?
thanks for your responses.
Title: Re: help for upgrade firmware for bus pirate v3
Post by: andromeda92 on December 29, 2017, 01:41:00 pm
I have resolved my problem
its because i have downloaded firmware with righ click windows and hex file contains xml code.
now is ok.
Title: Re: help for upgrade firmware for bus pirate v3
Post by: mikeb on June 25, 2018, 09:26:01 pm
[quote author="andromeda92"]I have resolved my problem
its because i have downloaded firmware with righ click windows and hex file contains xml code.
now is ok.[/quote]
Hi friend, its recommended to upgrade a firmware using a Pickit2 hardware tool, it is much more stable than a pirate loader
http://dangerousprototypes.com/docs/Bus ... re_updates (http://dangerousprototypes.com/docs/Bus_Pirate_v4_and_Pickit2_(bootloader_and_firmware_updates))
Guess for Bus Pirate v3 its similar, just please note that BPv3 and BPv4 aren't compatible with each other
regarding the firmware/bootloader By the way its recommended to check out a new community firmware,
we are discussing it in this thread - viewtopic.php?f=28&t=8498 (http://dangerousprototypes.com/forum/viewtopic.php?f=28&t=8498)

I am happy you have resolved your problem. In general, Linux is much more convenient for development than Windows

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00932047496session_write_close ( )...(null):0
20.00962179072ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00962179848Database_MySQL->query( ).../DatabaseHandler.php:119
40.05482318568Database_MySQL->error( ).../Db-mysql.class.php:273