LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is possible compile .asm code to hex code?? and read&program from lb pic16f84 serial port??

Hi,

I would like to use my aplication, i use a pic 16f84, in my vi application i modify the asm code, and save it. LAter i need to use mplab to compile to hex and use icprog to pass to the pic by serial port...

Is possible do all on labview???.
Or maybe call the mplab directly to open and convert to hex file, and later call the icprog to program the pic.. without use this programs. Directly with commands do it and close the programs...

I hope any help..!
Regards, Fonsi.
0 Kudos
Message 1 of 3
(3,231 Views)
Fonsi,

You certainly could write an assembler for the pic code in LV. I wrote an assembler for the old 6502 processor in LV4. The project got cancelled before everything was finished, but the concept is valid. It is a lot of work, parsing strings and tracking all the addressing modes, etc.

Whether it is worth the trouble as opposed to using the existing tools is something you will have to decide.

If the other software can be called from a command line, the system Exe.VI might be useful.

Lynn
Message 2 of 3
(3,229 Views)
Thanks john!.

But it is very heavy and long??. I ask myself if it already exist to use this option...

ON the call the softs is possible, but i only got start the program, i dont know, if i could say to the soft, open this file... compile it.... and save there... and close program... and the same with the icprog...

IS difficult get that?.

Regards, Fonsi.
0 Kudos
Message 3 of 3
(3,225 Views)