From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comment flasher un pic à travers LabVIEW

Bonjour,

 

je suis entrain de programmer un microcontrolleur STM32w108 (sous IAR). Est-il possible de flasher le pic à travers LabVIEW? 

 

Merci,

0 Kudos
Message 1 of 2
(2,064 Views)

There is no native way to flash a processor from LabVIEW.  You'll either need to call an external program to do it (if you have access to such a program, you can use System Exec to run it), or you'll need some code already on the processor that can receive new code over some interface (serial, CAN, etc) and write it to the processor's flash memory.  I've seen sample code for this for Microchip's dsPIC processors, perhaps similar sample code exists for your system.

 

If you happen to have access to the LabVIEW Embedded Toolkit, and it supports your processor, then there may be an easier way to do this.

0 Kudos
Message 2 of 2
(2,060 Views)