I would like to know, possibly, which are the commands /mechanisms internally invoked by Astrobe IDE for the Nucleo boards
in order to carry out the following two actions:
1) transfer a binary image from PC to target flash memory
2) run the program previously stored in flash
For custom purposes, complementary to the IDE,
I would like to do something equivalent using the ST-Link CLI utility.
Is Astrobe relying on something related to ST-Link CLI?
Upload and Run
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Upload and Run
1. copy <ModuleName>.bin <USBDriveFolder>\<ModuleName>.bin e.g.
where G: is the USB drivename associated with the Nucleo board connected to your PC as defined in your current configuration file.
2. Clicking on the Reset button on the Astrobe Terminal enables the UART DTR line for 500 msecs.
Astrobe relies on the fact that the supported STM32 Nucleo boards are mbed-enabled. However, you can use the ST-Link CLI to program the boards with the executable file created by Astrobe if you prefer.
Code: Select all
copy info.bin G:\info.bin
2. Clicking on the Reset button on the Astrobe Terminal enables the UART DTR line for 500 msecs.
Astrobe relies on the fact that the supported STM32 Nucleo boards are mbed-enabled. However, you can use the ST-Link CLI to program the boards with the executable file created by Astrobe if you prefer.
Re: Upload and Run
Perfect!
I'm able to load programs with a plain copy to the USB drive and run then using st-link_cli -rst
I mostly use the Astrobe IDE to do this, but I needed a way to handle some batch scenarios.
I'm able to load programs with a plain copy to the USB drive and run then using st-link_cli -rst
I mostly use the Astrobe IDE to do this, but I needed a way to handle some batch scenarios.