Programming PIC32-T795 using USB

Started by Targus, November 08, 2012, 09:24:39 AM

Previous topic - Next topic

Targus

Hey, i have been using the T795 with a pic kit 3 to program it, i no longer have access to this pic kit 3 but understand that it can apparently be programmed using the mini USB port instead. i have been looking into this but have not worked out how to get this to work. any help would be greatly appreciated.

LubOlimex

Hello Targus,

You might need to upload the bootloader software (which we ship the boards with). This would depend on whether you erased the board's memory. The image you will need to upload on the board is: https://docs.google.com/open?id=0B7WHuNCASY8cczRPWG5UcGNKaWs. After the bootloader is up you can use MM Basic language to program the board. The dialect is excplained in the Duinomite user manual: https://www.olimex.com/Products/Duino/Duinomite/_resources/DuinoMite-UM-1-03.pdf

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

Targus

sorry, i'm still a beginner with this. how do i upload the bootloader software back onto the board?

LubOlimex

Well if you have used PICkit3 initially it is quite possible to have already deleted the original loader. You will need a compatible PIC32 programmer again to upload on the board.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

Targus

and what software would you suggest for loading the hex file onto the board?

LubOlimex

Hey Targus,

People prefer to use MPLAB for Microchip products. It is an IDE created and supported by Microchip themselves. It is free, well optimized and frequently updated. In the previous versions it was harder to find a good compiler but after the launch of MPLAB X even the compiler is free.

If you are looking for active development for PIC I suggest you install the MPLAB X: http://www.microchip.com/pagehandler/en-us/family/mplabx/

If you just want to program the board with a hex I suggest you use any MPLAB 8.xx (you don't need compiler for downloading a hex):
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex