Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - kim

2
Bus Pirate Development / Re: Compiling Bus Pirate firmware with MPLABX (under linux,
If anyone is interested I  started from scratch and got BPv4 source with Microchip USB compiled using the latest tools:

IDE:  MPLAB X (v1.6).
CC: XC16 (v1.11)
OS:  Mac OS X 10.6.8
Java: 1.6.0_37

USB
I chose the Microchip USB source since I
a) wanted at least one bit reliable :-) 
b) haven't yet found the open source USB source  (location anyone?)
Apart from some Microchip/include files I used:
  • USB/CDC Device Driver/usb_function_cdc.c
  • USB/usb_device.c
  • a local copy of CDC Basic Demo/Firmware/usb_descriptors.c  (as yet unmodified)

MPLAB X IDE notes
I don't like the idea of dumping my project source code inside the mplab source tree just to get it to compile so I found out how to handle includes and source outside the bus-pirate tree.
Bit long to explain here in detail but in short:
  • Add remote .c files using a (new) logical folder (I called mine 'USB') in projects window (optionally add remote .h files but not required).
  • under "project properties" -> categories: xc16-gcc (compiler) -> Option categories: preprocessing and messages -> C include dirs:  path_to_microchip_apps_lib_source..../Microchip/Include
    Talk about obscure....

And it should all compile....
Haven't tried bootloader.

Newcomer Feedback
Also  some feedback as a new comer there isn't really a PBv4 status page and roadmap so I/we don't know overall what is in the pipeline (and by who) what works and what doesn't, what won't ever work (seen a comment or two) and maybe a simple user-contributed test matrix each major platform.

The issues list is unfortunately also confusing for outsiders because there are BPv4 items added to at least 3 different lists....
I understand that the top one may be the definitive one, in which case perhaps the others should be closed as all have been added to in the last 6ish months...

Question
Not sure what to do next as I can't get my hands on a PBv4c board + parts. Any suggestions or should I just wander off buy a v3 and forget trying to get the v4 working (better)?

best regards
Kim

( ! ) 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.01362287720session_write_close ( )...(null):0
20.01392419320ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01392420096Database_MySQL->query( ).../DatabaseHandler.php:119
40.06002558840Database_MySQL->error( ).../Db-mysql.class.php:273