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

Re: Bus Pirate - Community Firmware 7.0

Reply #135
Hi guys.
S_1-29092019.hex and U_1-29092019.hex are exactly the same S_1-28102018.hex and U_1-28102018.hex as before but rebuilt with the agatti fix in spi.c.
They were obtained by using the compression option "1" of MPLAB so to be in full agreement with the latest recommendations issued about the compilation of the repositories using MPLAB in order to build new firmwares for the Bus Pirate v3 and v4.
Compression option "1" assure right timing that option "s" may not ensure.
The only differences with the previous firmware S_1-28102018.hex and U_1-28102018.hex is that the original spi.c was patched with the agatti fix (the updated version of spi.c is in the compressed archive attached):

https://github.com/BusPirate/Bus_Pirate/issues/122#issuecomment-470428292

From the checks I made Bus Pirate works, flashrom works, avrdude works, all is working, but you use them at your own risk, I do not take any responsibility about the possibility of damaging your Bus Pirate or whatever, expecially talking about of the unsafe version!
About the SAFE and UNSAFE version, please also read this:


http://dangerousprototypes.com/forum/index.php?topic=8760.msg70072#msg70072

Attention please!
First to attempt to use U_1-29092019.hex (UNSAFE version of the firmware) you have to evaluate what is the silicon revision of the PIC used in your device, paying much attention to the fact that you might damage your device or whatever!
By doing it you must to assume all the responsibility for your action, even if actually should be no side effect in activating the Hardware I2C mode without honoring the silicon hardware revision of the PIC, because simply then it would not work.
There was a warning message in case the silicon hardware revision of the PIC had not been the expected one, but I do not know if this warning is still present and active in the nowaday new firmwares and I do not have a Bus Pirate wich has one of the buggy silicon revisions of the PIC in order to check it.
You use it at your own risk, I do not take any responsibility about the possibility of damaging your Bus Pirate or whatever!


Thanks a lot to agatti for having fixed the repository and freed the HARDWARE mode inside of I2C protocol!

Please note that both S_1-29092019.hex and U_1-29092019.hex were compiled with MPLAB-X IDE v5.00 and the XC-16 v1.35 compiler on Ubuntu 18.04 computer because the latest repositories are not natively compatible with MPLAB-X IDE v4.xx and earlier and both of them require the new bootloader v4.5 in order to work completely (http://dangerousprototypes.com/forum/index.php?topic=8498.0#p67056 and http://dangerousprototypes.com/forum/index.php?topic=8498.0#p67127).
Otherwise if do not, enter BOOTLOADER using command "$" will not work (https://github.com/BusPirate/Bus_Pirate/issues/58).
Actually it is not really a problem on the firmware side but rather of the bootloader.
In order to fix the matter it is need to upgrade the bootloader to the new revision v4.5:


http://dangerousprototypes.com/forum/index.php?topic=619.0#p67037

https://github.com/BusPirate/Bus_Pirate/issues/38

https://github.com/BusPirate/Bus_Pirate/issues/58

With the firmwares was also provided a pre configured environment that anyone can use with minimal changes to simplify the upgrade of the only firmware or together the bootloader and the firmware in a single step.
The archive also provides further improved instructions on how to use the whole thing under any operative system (Window, Linux and Apple), simply follow them:

"How to use UPGRADE_TO_BL_v4.5.bat.rtf" (specific instructions for Windows users)
"How to update with pirate-loader.rtf" (generic cross-platform instructions for Windows, Linux and Apple users)

Please note that the package is a 7z (7zip) archive because the maximum allowed size in the forum is 1 MiB.


Be seeing you.

U.Sb




 

Re: Bus Pirate - Community Firmware 7.0

Reply #136
Hi guys.
S_1-29092019.hex and U_1-29092019.hex are exactly the same S_1-28102018.hex and U_1-28102018.hex as before but rebuilt with the agatti fix in spi.c.
They were obtained by using the compression option "1" of MPLAB so to be in full agreement with the latest recommendations issued about the compilation of the repositories using MPLAB in order to build new firmwares for the Bus Pirate v3 and v4.
Compression option "1" assure right timing that option "s" may not ensure.
The only differences with the previous firmware S_1-28102018.hex and U_1-28102018.hex is that the original spi.c was patched with the agatti fix (the updated version of spi.c is in the compressed archive attached):

https://github.com/BusPirate/Bus_Pirate/issues/122#issuecomment-470428292

From the checks I made Bus Pirate works, flashrom works, avrdude works, all is working, but you use them at your own risk, I do not take any responsibility about the possibility of damaging your Bus Pirate or whatever, expecially talking about of the unsafe version!
About the SAFE and UNSAFE version, please also read this:


http://dangerousprototypes.com/forum/index.php?topic=8760.msg70072#msg70072

Attention please!
First to attempt to use U_1-29092019.hex (UNSAFE version of the firmware) you have to evaluate what is the silicon revision of the PIC used in your device, paying much attention to the fact that you might damage your device or whatever!
By doing it you must to assume all the responsibility for your action, even if actually should be no side effect in activating the Hardware I2C mode without honoring the silicon hardware revision of the PIC, because simply then it would not work.
There was a warning message in case the silicon hardware revision of the PIC had not been the expected one, but I do not know if this warning is still present and active in the nowaday new firmwares and I do not have a Bus Pirate wich has one of the buggy silicon revisions of the PIC in order to check it.
You use it at your own risk, I do not take any responsibility about the possibility of damaging your Bus Pirate or whatever!


Thanks a lot to agatti for having fixed the repository and freed the HARDWARE mode inside of I2C protocol!

Please note that both S_1-29092019.hex and U_1-29092019.hex were compiled with MPLAB-X IDE v5.00 and the XC-16 v1.35 compiler on Ubuntu 18.04 computer because the latest repositories are not natively compatible with MPLAB-X IDE v4.xx and earlier and both of them require the new bootloader v4.5 in order to work completely (http://dangerousprototypes.com/forum/index.php?topic=8498.0#p67056 and http://dangerousprototypes.com/forum/index.php?topic=8498.0#p67127).
Otherwise if do not, enter BOOTLOADER using command "$" will not work (https://github.com/BusPirate/Bus_Pirate/issues/58).
Actually it is not really a problem on the firmware side but rather of the bootloader.
In order to fix the matter it is need to upgrade the bootloader to the new revision v4.5:


http://dangerousprototypes.com/forum/index.php?topic=619.0#p67037

https://github.com/BusPirate/Bus_Pirate/issues/38

https://github.com/BusPirate/Bus_Pirate/issues/58

With the firmwares was also provided a pre configured environment that anyone can use with minimal changes to simplify the upgrade of the only firmware or together the bootloader and the firmware in a single step.
The archive also provides further improved instructions on how to use the whole thing under any operative system (Window, Linux and Apple), simply follow them:

"How to use UPGRADE_TO_BL_v4.5.bat.rtf" (specific instructions for Windows users)
"How to update with pirate-loader.rtf" (generic cross-platform instructions for Windows, Linux and Apple users)

Please note that the package is a 7z (7zip) archive because the maximum allowed size in the forum is 1 MiB.


Be seeing you.

U.Sb





Thanks USB, you are truly the hero Gotham deserves :D All your effort is much appreciated.

What firmware version are you currently preferring/choosing to use, out of curiosity?