Skip to main content
Topic: Compiling Bus Pirate firmware with MPLABX (under linux, mac, ...) (Read 63313 times) previous topic - next topic

Re: Compiling Bus Pirate firmware with MPLABX (under linux,

Reply #45
the opensource USB stack is in our svn. it should reside in the directory ./dp_usb

You are using the right svn? we switched some time ago to one where all our projects reside.

Link to the latest sources: http://code.google.com/p/dangerous-prot ... 2FFirmware

Re: Re: Compiling Bus Pirate firmware with MPLABX (under lin

Reply #46
@Sjaak

Oh .. ok thanks ...
 The svn source tree I found was this:
    http://code.google.com/p/the-bus-pirate/source/browse/
a seemingly older archive with no warning that it is presumably out of date...?
Couldn't someone archive and trash the old tree. If I found that then others can too and it wastes time and causes confusion :-(

cheers
Kim

Re: Re: Compiling Bus Pirate firmware with MPLABX (under lin

Reply #47
I'm sorry about the confusion. I have been meaning to clean it for a while so I:
*Updated front page, added warning, removed old links and stuff
*Made a snapshot of v5.10 firmware
*Added warning text files to SVN with link to new address
Got a question? Please ask in the forum for the fastest answers.

 

Re: Re: Compiling Bus Pirate firmware with MPLABX (under lin

Reply #48
[quote author="beeduino"]
I used this info to recompile the firmware but whatever value for Program Memory End I set  - the hex file was the same - no diffs. What other options could be in affect?[/quote]

I had the same issue with MPLAB X 1.85 and XC16 1.11. I eventually resorted to going through every setting in the Project Properties dialog and messing with the ones that looked relevant. As Arkku said, you need to choose [tt:]PICkit3[/tt:] as the hardware target and configure it to export only program memory from [tt:]0x0[/tt:] to [tt:]0xa7ff[/tt:]. In order for that to take effect I also had to enable [tt:]Remove unused sections[/tt:] under [tt:]xc16-ld[/tt:]. I don't know whether that also works with C30, and there may be other necessary settings which for me were serendipitously correct. YMMV.

Re: Compiling Bus Pirate firmware with MPLABX (under linux,

Reply #49
[quote author="Sjaak"]Link to the latest sources[/quote]

Latest sources are now available there - http://http://dangerousprototypes.com/forum/viewtopic.php?f=28&t=8498
Firmware v7.0 ;) Need to expose this link more, so that everyone could easily get a new firmware for their BPv4