LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing Microchip ICD3 With Labview.

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. 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 1 of 50
(6,804 Views)

What is the command line utilities for? How can I use it here?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 50
(6,774 Views)

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.

0 Kudos
Message 3 of 50
(6,745 Views)

Example using the ICD3CMD.exe with system exec.vi call:

 

ICD3 LabVIEW.png

 

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.

Message 4 of 50
(6,734 Views)

Do I need batch file?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 50
(6,718 Views)

@Ralok wrote:

Example using the ICD3CMD.exe with system exec.vi call:

 

ICD3 LabVIEW.png

 

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?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 50
(6,717 Views)

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?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 7 of 50
(6,697 Views)

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

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 8 of 50
(6,695 Views)

@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.

0 Kudos
Message 9 of 50
(6,685 Views)

I tried. its working with IDE but not with command prompt..Can you share your VI in 2011?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 10 of 50
(6,680 Views)