10-09-2013 01:51 AM
I need to select/browse the hex file from labview and need to dump on PIC IC. Is there any way to acheive this using labview? What are the different hardware we need for that. I do have a ICD installed in my PC.
What I need is for browsing and dumping the code I should use LV UI.
10-09-2013 02:07 AM
What is the command line utilities for? How can I use it here?
10-09-2013 07:32 AM
Hello,
with the command line utilities you can program (erase, verify ....) a processor with a command line string (show manual).
I think it´s quit easy if you use the labview command prompt vi or a batch file.
Hope this help you.
10-09-2013 08:40 AM - edited 10-09-2013 08:42 AM
Example using the ICD3CMD.exe with system exec.vi call:
Simply call the ICD3CMD.exe with /? from cmd for full list of programing options.
edit: As for hardware you would need an ICD3 or PICkit3.
10-09-2013 09:36 PM
Do I need batch file?
10-09-2013 09:40 PM
@Ralok wrote:
Example using the ICD3CMD.exe with system exec.vi call:
Simply call the ICD3CMD.exe with /? from cmd for full list of programing options.
edit: As for hardware you would need an ICD3 or PICkit3.
Thanks for the reply. I have ICD3. Do I need to set a path? What is the input to the path input?
10-10-2013 12:48 AM
I am using
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3\ICD3CMD.exe / PIC16F684 /M/V/F "A.HEX"
Here A.HEX is my hex file. But it says illegal parser?
10-10-2013 01:02 AM
when I use
cmd/c ICD3CMD/PIC16F684/V/M/F "A.HEX" ----------------then it says
Device not found
Initialize Failed !!!
But device selection is proper
10-10-2013 01:32 AM
@Ranjeet_Singh wrote:
Do I need batch file?
Not necessary, but you could do it with a batch file aswell.
@Ranjeet_Singh wrote:
Thanks for the reply. I have ICD3. Do I need to set a path? What is the input to the path input?
The path would be the folder where ICD3CMD.exe is located.
@Ranjeet_Singh wrote:
when I use
cmd/c ICD3CMD/PIC16F684/V/M/F "A.HEX" ----------------then it says
Device not found
Initialize Failed !!!
But device selection is proper
Device not found can also refer to the ICD3 itself, i've had some problems with that myself. Try and see if you can program the device using the MPLAB ide first. If that works it should work fine with ICD3CMD aswell.
10-10-2013 01:38 AM
I tried. its working with IDE but not with command prompt..Can you share your VI in 2011?