取消
显示结果 
搜索替代 
您的意思是: 

Interfacing Microchip ICD3 With Labview.

Are you able you program your PIC?

--------------------------------------------------------------------------------------------------------
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 项奖励
21 条消息(共 50 条)
3,503 次查看

Try this one.

 

Yes i've programed loads of micochip ICs with labview, altho don't have the equipment before me right now so can't test myself. (And all the chips i've programed have had external power).

0 项奖励
22 条消息(共 50 条)
3,492 次查看

Ya it was fine yesterday but today it says invalid power voltage mysteriously.

 

Here is the complete string

 

cmd /c ICD3CMD /P18F26K22 /V5/M /Y /F"D:\pic26k22_tp2000_2003\PIC26K22_TP2000_2003.hex"

--------------------------------------------------------------------------------------------------------
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 项奖励
23 条消息(共 50 条)
3,459 次查看

@Ranjeet_Singh wrote:

Ya it was fine yesterday but today it says invalid power voltage mysteriously.

 

Here is the complete string

 

cmd /c ICD3CMD /P18F26K22 /V5/M /Y /F"D:\pic26k22_tp2000_2003\PIC26K22_TP2000_2003.hex"


Guessing you need a space between /V5 and /M. so:

cmd /c ICD3CMD /P18F26K22 /V5 /M /Y /F"D:\pic26k22_tp2000_2003\PIC26K22_TP2000_2003.hex"

24 条消息(共 50 条)
3,456 次查看

Hi its working but something strange has happened. Attached image file for reference.

 

But if you see the ICD user interface first it connects and says running self test and all. Then after pressing button it should program and erase. But here what is happening is each time I run the VI it is doing all the things again.

 

Any solution for that?

--------------------------------------------------------------------------------------------------------
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 项奖励
25 条消息(共 50 条)
3,453 次查看

After programming its not verifying. Here is the string.

 

cmd /c ICD3CMD /P18F26K22 /V5 /E /M /F"D:\Autocop PROJECTS\MPLAB\pic26k22_tp2000_2003\PIC26K22_TP2000_2003.hex"

 

Now only other problem persists.

--------------------------------------------------------------------------------------------------------
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 项奖励
26 条消息(共 50 条)
3,446 次查看

@Ranjeet_Singh wrote:

Hi its working but something strange has happened. Attached image file for reference.

 

But if you see the ICD user interface first it connects and says running self test and all. Then after pressing button it should program and erase. But here what is happening is each time I run the VI it is doing all the things again.

 

Any solution for that?


The ICD3CMD will connect to the ICD3 each time it's run, that's just the way it's set up. Not much you can do about that, altho the time spent connecting is minimal and shouldn't really matter even if you have to program loads of chips.

 

as to why the verification failed i can't say.

 


@Ranjeet_Singh wrote:

After programming its not verifying. Here is the string.

 

cmd /c ICD3CMD /P18F26K22 /V5 /E /M /F"D:\Autocop PROJECTS\MPLAB\pic26k22_tp2000_2003\PIC26K22_TP2000_2003.hex"

 

Now only other problem persists.


if you want it to verify after programing you need the /Y argument.

0 项奖励
27 条消息(共 50 条)
3,455 次查看

No Ralok what I mean to say is as soon we start ICD3. it connects. This is I also can do. When user presses the program it will erase then program or directly program but how to pass this arguments later after user presses the button.

 

Mean suppose user wants to program 10 chips then first time it will all the job but in the next time it should not connect but only argument we need to pass is E,M and F hex file path. Hope you got my point but. 

 

How to pass this argument next time. Here is what I tried

--------------------------------------------------------------------------------------------------------
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 项奖励
28 条消息(共 50 条)
3,451 次查看

Forget my last post. Just tell me how to erase only when user will press button from front panel. 

--------------------------------------------------------------------------------------------------------
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 项奖励
29 条消息(共 50 条)
3,435 次查看

erase only would be "cmd /c ICD3CMD /P18F26K22 /V5 /E"

0 项奖励
30 条消息(共 50 条)
3,423 次查看