Welcome, Guest

Author Topic: Programming PIC32-T795 using USB  (Read 4140 times)

Targus

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Programming PIC32-T795 using USB
« on: November 08, 2012, 09:24:39 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1949
  • Karma: +50/-3
Re: Programming PIC32-T795 using USB
« Reply #1 on: November 08, 2012, 02:02:56 PM »
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

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Programming PIC32-T795 using USB
« Reply #2 on: November 09, 2012, 12:23:31 AM »
sorry, i'm still a beginner with this. how do i upload the bootloader software back onto the board?

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1949
  • Karma: +50/-3
Re: Programming PIC32-T795 using USB
« Reply #3 on: November 09, 2012, 11:04:52 AM »
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

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Programming PIC32-T795 using USB
« Reply #4 on: November 09, 2012, 03:38:35 PM »
and what software would you suggest for loading the hex file onto the board?

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1949
  • Karma: +50/-3
Re: Programming PIC32-T795 using USB
« Reply #5 on: November 12, 2012, 11:04:10 AM »
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