03-30-2018 05:11 AM
hi everyone
is there any solution using labview to flash a microcontroller that can replace the commun programms which are made for this like flash loader ?? if yes , what kind of communication protocole is used?? thanks
03-30-2018 05:17 AM
Which Micro-controller?
03-30-2018 05:49 AM
just for information , i mean by "flashing" the fact to send to the microcontroller a compiled file
@atul_ghumade : i don't know which micro yet , is there any difference of the ability of flashing with labview between each micro??
03-30-2018 06:48 AM - edited 03-30-2018 06:49 AM
We used the CAN (Controller Area Network) interface. The basic bootloader had most of the instructions for operation pre-loaded, then we would use a flash kernel to add additional functionality (PGM & PGM_6 commands) to allow for uploading new firmware into the processor. We have also performed a similar task using RS-232.
03-30-2018 08:05 AM
thanks for the answer , but i didn't get your idea well , what did you mean by the basic bootloader ?? is a simple UART communication can do the job ?? i used to communicate with types of micro's via RS 232 (sending simple command and read the answers) but is it the same case with flashing a compiled program ??
03-30-2018 09:27 AM - edited 03-30-2018 09:30 AM
It really depends on the micro in question, and whether the manufacturer will give you all the details of the programming interface (hardware and software) that is necessary.
I have had to program LabVIEW basically update a "Hex" file with calibration factors, then write a batch file, then call that batch file with the Systemexec.vi to launch a separate program to program some microcontrollers in the past.