5 years, 12 months ago.

Downloading or running compiled code fails afterone time

If the demo program is present I can compile and download a blinking LED example (.bin file) using the online compiler, by storing it on the DISCO-F746NG. But this only works one time, after a second download, nothing happens any more, the DISCO-F746NG does not do anything anymore. I can restore the demo program after which I can download a bin file from the online compiler again for one time. It's too much work reloading the demo program in between each compiler download, in order to allow for an successful download from the online compiler. Are there more people having this problem?

UPDATE: Example code does not suffer with this problem and is a good starting point to develop with this board using the online mbed compiler: https://developer.mbed.org/teams/ST/code/DISCO-F746NG_LCDTS_demo/?platform=ST-Discovery-F746NG

Question relating to:

The STM32F746G-DISCO discovery board (32F746GDISCOVERY) is a complete demonstration and development platform for STMicroelectronics ARM® Cortex®-M7 core-based STM32F746NGH6 microcontroller.

4 Answers

5 years, 11 months ago.

Make an offline project on AC6 STM32 system workbench and include the mbed latest sources from their repo. It works fine enough for me

Accepted Answer
5 years, 11 months ago.

Yes, i just had the same problem.

But i do not have the original demo software, so my board is bricked.

Please, where did you get it ?

You board isn't bricked without original demo software.

Follow the steps in my notebook: https://developer.mbed.org/users/JackB/notebook/reloading-disco-f746ng-demo-software/

posted by Jack Berkhout 01 Oct 2015

Thnaks

posted by Patrick Pollet 02 Oct 2015
5 years, 11 months ago.

Yes I have the same problem. This code works if I unplug and plug the USB cable :

  1. include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; LED is ON wait(1.0); 200 ms myled = 0; LED is OFF wait(1.0); 1 sec } }

But if I had this line under "DigitalOut..." DigitalIn enable2(PA_8);

the code no longer works... The operation is not clear . I will disconnect USB cable so the program starts.

5 years, 11 months ago.

You can find the demo in HEX and source code and many examples in "STM32CubeF7" here : http://www.st.com/web/en/catalog/tools/PF261909

Thanks !

posted by Patrick Pollet 30 Sep 2015