10-11-2013 07:03 AM
Then it will connect again and do all the procedure. I just want after initializing.
Can you modify the VI I attached
10-11-2013 07:26 AM
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.
10-11-2013 07:30 AM
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?
10-11-2013 07:58 AM - edited 10-11-2013 07:59 AM
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.
10-11-2013 10:44 PM
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
10-11-2013 10:56 PM - edited 10-11-2013 11:04 PM
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
10-14-2013 02:20 AM
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
------------------------------------------------------------------------
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.
10-14-2013 02:38 AM - edited 10-14-2013 02:43 AM
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
10-14-2013 02:52 AM
Yes, you have to pass it the same arguments each time.
10-14-2013 03:26 AM - edited 10-14-2013 03:26 AM
I haven't tried yet but one question I got is whether will it not take same time?
But let me try it first