Pickit2 with ASM-IDE?

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
Don
Posts: 2
Joined: Fri Feb 15, 2008 5:09 am

Pickit2 with ASM-IDE?

Post by Don »

Use ASM-IDE I am able to create hex files and then use my Pickit2 programmer to program the pic. However I cannot do this automatically from only the ASM-IDE menu. Under the Assemble/Option menu, I have changed the path for the programmer to the file where the Pickit2.exe file is located. When I try to program from the IDE, the program hangs.
I have also downloaded from this site the PK2CMD_mtx.exe file and tried loading it in as the programmer under the Assemble/Option menu, but the program still hangs. I did put the .dat file in the same directory, as the readme file says to do.
What am I doing wrong? thx

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Pickit2 with ASM-IDE?

Post by Benj »

Hello

The easiest way to get the ASM IDE and PICKit to automatically work together are to do the following.

Revert the settings in the ASM IDE back to their default state. Then open the PICkit software and click the button marked "Auto Import Hex + Write Device"

This will ask for a hex file. When ever the hex file changes from the version that is loaded onto the chip the PICkit will automatically reprogram the device.

Don
Posts: 2
Joined: Fri Feb 15, 2008 5:09 am

Re: Pickit2 with ASM-IDE?

Post by Don »

Way too easy.
Thanks very much Ben....it worked.

Post Reply