hi i am using mikro c to compile my code . since it generates a hex file.. can i use my microlab mplab icd 2 programmer to program that hex file onto my target? in simple words i want to use micro c compiler and mplab icd 2 to program the target
Yes, no problems!
1. Start MPLAB
2. File/Import - import your HEX file
3. View/Program Memory - here is your HEX file now
4. Select ICD2 as programmer
5. Start Programming
You can step/debug your HEX code too.
or the PICKit2, it gets a software will autoload and programming the hex when a new one is detected. It is a standalone software package from Microhip, not MPLAB.