I am using MATLAB SIMULINK r2013b with STM32f4 libraries ( installed from MATLAB ADD-ONs) to blink LEDs. When I build the model, the command prompt says " Successful completion of build procedure for model: <file name> ". but the respective LED doesnot blink. The matlab Help says " use flash programming utility to run the generated HEX file on stm32f board."
I need help, as I am trying to use the board for real time signal processing like Harmonic analysis. ( closed loop ). I shall be grateful for any help. thankyou.
... "use flash programming utility to run the generated HEX file on stm32f board"
So did you do that?
If this is using the STM32F4-Discovery board, you can use the on-board ST-LINK with the ST-Link Utilities to flash the output .HEX file.
If built within Keil, you can presumably go into the Project Options, and under debug select the ST-LINK, with SWD connectivity, and add the STM32F4 flashing algorithm, then you'll be able to directly flash the part from the Keil IDE, and debug it if you want.