LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading a hex file into pic microcontroller using labview

Hi, I need to load firmware into a pic microcontroller using labview UI.Is there any way to design this?

0 Kudos
Message 1 of 11
(5,451 Views)

Hi,
Labview is a software, your pic is a hardware : you will need a hardware to interface your pic with a PC.

So search a hardware which can be controlled (Serial, Dll, ethernet... etc.), and it will be easy...

V-F
0 Kudos
Message 2 of 11
(5,443 Views)

I want to have a labview UI which will load a hex file onto pic controller using RS 232 interface on user selection.Could you please reply in that context? ..Thanks

0 Kudos
Message 3 of 11
(5,440 Views)

Hi,

if the manufacturer of your hardware provide you how to communicate with your device through RS 232, so yes you will be able to program your pic...

Best Regards,

V-F
0 Kudos
Message 4 of 11
(5,436 Views)

Can you please post any example vi about the same?

0 Kudos
Message 5 of 11
(5,432 Views)

To program you chip, you will need a device :


PC <==Rs232==>DEVICE<===>PIC

what is the name of your device ?

 

Best Regards,

V-F
0 Kudos
Message 6 of 11
(5,429 Views)

I have PIC dem 2 plus demo board

0 Kudos
Message 7 of 11
(5,427 Views)

with an ICD 3

0 Kudos
Message 8 of 11
(5,426 Views)

Hi,
you can search on forum "ICD 3", you will find many topics about it :

for exemple :

http://forums.ni.com/t5/LabVIEW/How-can-I-control-PIC-programmer-with-LabVIEW/m-p/138120?requireLogi...

 

best Regards,

V-F
0 Kudos
Message 9 of 11
(5,424 Views)

Hi all,

 

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 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?

0 Kudos
Message 10 of 11
(5,276 Views)