LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming a PIC 10f202 MCU

I have an application where I need to program a Microchip PIC10f202 MCU using Labview.  Is there a way to program the chip directly or do I need to interface with a Microchip programmer/ debugger (i.e MPLAB ICD 3)? If I do need to interface with the programmer are there any com driver or interface vi's out there for Microchip programming products?
0 Kudos
Message 1 of 5
(4,486 Views)

Hey MRJIA,

 

You will need to know how you are physically interfacing with the chip and the protocol that the chip uses to be able to program it. In order to program your microchip, you are likely going to want to use the NI VISA drivers. The previous link gets you to a bunch of resources for the NI VISA driver. There is also another thread that you might find beneficial that deals with a similar issue: How can i control PIC programmer with LabVIEW.

 

Hope this helps.

 

-Ben

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 2 of 5
(4,450 Views)

Bcho,

  Thanks for the info.  I have already visited that thread.  I am in need of a command line to communicate with a different programmer (MPLAB ICD 3).  You don't happen to know if there is anything out there for this particular programmer?

- Mike

0 Kudos
Message 3 of 5
(4,433 Views)

Mike wrote:

I am in need of a command line to communicate with a different programmer (MPLAB ICD 3).  


You can use the "System Execution.vi"

0 Kudos
Message 4 of 5
(4,419 Views)

Hey MRJIA,

 

There are some packages designed to interface with microprocessors, but they only support 32-bit platforms or greater. Resources for this type of microprocessor interface can be found at NI LabVIEW Microprocessor SDK. For your particular application I would agree with Pnt in saying that using the System Execution.vi would be a good bet. Your programmer device comes with a customer interface that allows you to program your microchip device. You could call this program from within LabVIEW using the System Execution.vi.

 

Hope this helps!

 

-Ben

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 5 of 5
(4,396 Views)