annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Interfacing Microchip ICD3 With Labview.

Then it will connect again and do all the procedure. I just want after initializing.

 

Can you modify the VI I attached

--------------------------------------------------------------------------------------------------------
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
Messaggio 31 di 50
2.970Visualizzazioni

Due to the way ICD3CMD works it will always run the connection/initialization towards the ICD3.

You can't have it initialize then wait for additional commands like the IDE does.

 

This shouldn't be an issue tho, even if you program say 100 chips in a row.

0 Kudos
Messaggio 32 di 50
2.965Visualizzazioni

If I want to program 100 chips then each time it initializes and then writes. If you see in theie application first comes

---------------------------

Connecting... 

MPLAB ICD 3 detected
Connecting to MPLAB ICD 3...
Firmware Suite Version...... 01.26.56
Firmware type......................PIC18F
MPLAB ICD 3 Connected.
ICD3Err0045:
You must connect to a target device to use

MPLAB ICD 3.

------------------------------

 

then after selection of voltage there is no message

------------------------------

After import it programm option will be enable

-----------------------------

After you press program message will comes

--------------------------

Programming/ Verify

Successfully

--------------------------

 

But in my case all message comes each time I run my program.. How to avoid 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
Messaggio 33 di 50
2.963Visualizzazioni

It only works that way in the MPlab IDE, you can't do it that way with labview.

 

Just let it initialize each time, it really doesn't matter and it won't hurt the overall time spent programing 100 chips.

 

see attachment for vi with programming options.

0 Kudos
Messaggio 34 di 50
2.950Visualizzazioni

I just dont want this message appear again and again.
---------------------------

Connecting... 

MPLAB ICD 3 detected 
Connecting to MPLAB ICD 3... 
Firmware Suite Version...... 01.26.56 
Firmware type......................PIC18F 
MPLAB ICD 3 Connected. 
ICD3Err0045: 
You must connect to a target device to use

MPLAB ICD 3.

------------------------------

 This is only my concern

--------------------------------------------------------------------------------------------------------
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
Messaggio 35 di 50
2.927Visualizzazioni

Let me tell you what is my requirement

 

1. As soon as ICD connected it should display all these message

------------------------------------------------------------------------

Connecting...
MPLAB ICD 3 detected
Connecting to MPLAB ICD 3...
Firmware Suite Version...... 01.26.56
Firmware type......................PIC18F
MPLAB ICD 3 Connected.
Device ID Revision = 00000004

------------------------------------------------------------------------

 

2. In all my PIC ICs there is one serial number involved and hence when user will do bar code scanning for that PIC IC only message it should display is 

 

------------------------------------------------------------------------

Erasing ...
Erase device complete

 

Programming Device ...
Programming/Verify complete

 

 

------------------------------------------------------------------------

This should come when user will click on both this options otherwise defualt case only programming.

 

 

This is the way MPLAB works but only difference is in that place programming triggeres only when program button is pressed from front panel. In my case that should be triggered only when barcode scanning is done. I know how to scan and trigger the operation. Here after initialization I need to wait untill user scans just like MPLAB application. So my question is when user scans then what parameter I need to pass and how to user system exec.

 

Hope this is clear with you. So my requirement is after initialization it need to wait for user 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
Messaggio 36 di 50
2.926Visualizzazioni

as i've been trying to say, that's impossible with the ICD3CMD, as there is no way to keep it idle and waiting for more commands.

 

If you don't want it to show the

 

Spoiler

------------------------------------------------------------------------

Connecting... 
MPLAB ICD 3 detected 
Connecting to MPLAB ICD 3... 
Firmware Suite Version...... 01.26.56 
Firmware type......................PIC18F 
MPLAB ICD 3 Connected. 
Device ID Revision = 00000004

------------------------------------------------------------------------

each time your only option would be to filter it from the return string.

0 Kudos
Messaggio 37 di 50
2.878Visualizzazioni

Dear Ralok,

                     I aggee with you but tell me when user presses next time then next time do I need to pass same command? If it is so then let me try that

 

 

Will let you and thanks for concern

--------------------------------------------------------------------------------------------------------
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
Messaggio 38 di 50
2.872Visualizzazioni

Yes, you have to pass it the same arguments each time.

0 Kudos
Messaggio 39 di 50
2.865Visualizzazioni

I haven't tried yet but one question I got is whether will it not take same time?

 

But let me try it first Smiley Strizza l'occhioSmiley Strizza l'occhioSmiley Strizza l'occhio

--------------------------------------------------------------------------------------------------------
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
Messaggio 40 di 50
2.862Visualizzazioni