Author Topic: Bus Pirate v3.6 XSVF Code Compilation Help (PIC24FJ64GA002 With MPLAB IDE 5.30)  (Read 612 times)

0 Members and 1 Guest are viewing this topic.

Offline FrustcircTopic starter

  • Newbie
  • Posts: 1
  • Country: au
Hi everyone,

I have been trying to figure out how to compile and rebuild the XSVF firmware for a Bus Pirate to make some customisations to the firmware. The Bus Pirate uses a PIC24FJ64GA002 and currently I have installed MPLab X IDE (v5.30) and XC16 cross compiler (v1.41). I am using the code for the XSVF firmware located here: https://github.com/BusPirate/Bus_Pirate/tree/master/Firmware-Alternates/firmware-XSVFplayer

Due to numerous issues in the code I have made changes in an effort to make it compile (see http://dangerousprototypes.com/forum/index.php?topic=10404.0). However as described in the post it is impossible to compile the program using the IDE. It appears as if the UART library/variables that always seem to work no matter what in other people’s code are listed as undeclared. A copy of the code I am trying to compile incorporating the changes described on the dangerous prototypes forum post linked to can be found at: https://1drv.ms/u/s!Araf1cyQhCzgg2AN6mHDiXC1X78_?e=xlhVuG

Would anyone who knows how to compile code for PICs be able to help me out? Then I would be able to recompile the code as often as I want. Alternatively as the post on the dangerous prototypes forum suggests I would like to have a copy of the firmware with each different MAXLEN variable (or it would be awesome for the firmware to prompt for a maxlen value on start/connect via serial; I would if I had the skill but I don’t and I have spent so long trying to figure out all the issues and I am not getting any further).

Thanks.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf