LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dumping hex file into pic microcontroller via ICD3

Solved!
Go to solution

I am able to dump hex files into pic microcontroller using command line utilities that come with MPLAB. But, whenever I have to dump a hex file, I need to go to the ICD3 programmer utility location (in MPLAB directory) and paste the hex file to be loaded there. I tried feeding the address of the hex file in System Exec vi along with other necessary commands but it is unable to track the hex file and displaying an error as "hex file not found"..Is there any way to implement above functionality?

 

(Sorry I didnt get any replies for this query so I am posting it as a new message)

0 Kudos
Message 1 of 21
(5,978 Views)

Can you run the same command in a command window? Is it finding the hex file then?


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 21
(5,977 Views)

No...that is not working either..!!

0 Kudos
Message 3 of 21
(5,946 Views)
Solution
Accepted by mnx

Oh finally i got it...!!

In order to open a folder/file with <space> in its name, I have to put the entire address in double quotes:"<address>" to make it run using command line..:)

0 Kudos
Message 4 of 21
(5,943 Views)
Dear all,

I used the same solution for icd3 via icd2cmd via systemexec. This is working fine on my win xp and win 7 32 bit systems. However on 64 bit systems this isnt working anymore. The script keeps hanging on target connected and is not responding after that message. Anyone experience t
He same issues and have a possible solution for 64 bit systems??

Thanks in advance

Bart bakels
Labview Architect
0 Kudos
Message 5 of 21
(5,759 Views)

Can you tell where is this command line? I do need same thing

--------------------------------------------------------------------------------------------------------
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 21
(5,590 Views)

Where I can get this command line arguments. How you make sure this programmed properly.

--------------------------------------------------------------------------------------------------------
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 21
(5,583 Views)
0 Kudos
Message 8 of 21
(5,514 Views)

here is what I tried.

 

http://forums.ni.com/t5/LabVIEW/Command-line-arguemts-expansion-at-run-time/td-p/2593047


I am using this for mass programming. Hence I am doing this using batch mode.

 

Can you help me out in this?

--------------------------------------------------------------------------------------------------------
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 9 of 21
(5,511 Views)

Are you planning to use multiple programmersc(ICD3, Real ICE etc) together for programming or a single programmer with pipelining operation (programming single device at a time)?

 

Also, do you want to program same type of PIC devices?

0 Kudos
Message 10 of 21
(5,508 Views)