Program device with hex file using pickit3 and MPLAB X

Program device with hex file using pickit3 and MPLAB X

Postby dbhughe » Fri Jun 27, 2014 6:23 am

Hi all

Is there an easy way to program a device using only a hex file on MPLAB X, if not there should be.

Thanks
dbhughe
 
Posts: 3
Joined: Fri Jun 27, 2014 6:16 am
PIC experience: Professional 5+ years with MCHP products

Re: Program device with hex file using pickit3 and MPLAB X

Postby jtemples » Fri Jun 27, 2014 6:55 am

I've not tried it, but it has the same File...Import...Hex file feature as MPLAB 8. You have to go through creating a "prebuilt" project, so there are a few extra clicks.
jtemples
Verified identity
 
Posts: 163
Joined: Sun May 25, 2014 2:23 am
Location: The 805
PIC experience: Professional 5+ years with MCHP products

Re: Program device with hex file using pickit3 and MPLAB X

Postby ric » Fri Jun 27, 2014 11:48 am

I assume, as with MPLAB 8, that you need to select your device first, then import the hex file.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 409
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Program device with hex file using pickit3 and MPLAB X

Postby JoshuaHartwig » Fri Jun 27, 2014 2:34 pm

Otherwise, check out the MPLab X IPE. If programming is the only thing you need to do, it's much lighter weight. It does have its quirks though, like occasionally being unable to set your programmer to power the target on first try (simply disconnect, toggle the power setting off then on, then reconnect and it should work). I find the IPE useful for programming batches of engineering samples.
JoshuaHartwig
 
Posts: 9
Joined: Thu May 29, 2014 10:40 pm
PIC experience: Professional 1+ years with MCHP products

Re: Program device with hex file using pickit3 and MPLAB X

Postby Tom Maier » Fri Jun 27, 2014 2:48 pm

A few years ago I took an old program assembled with the Parallax assembler and ran the hex code through the mplabx disassembler. After making sure the disassembled code looked proper, I was able to end up with a microchip assembler source file and a new hex file to blow to the target chip using mplabx and pickit 3. I don't remember all the clicks I used to do that, but everything in mplabx starts with creating a progect, so that's a hint.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products


Return to MPLAB X IDE

Who is online

Users browsing this forum: No registered users and 1 guest

cron