Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month 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:
4 Answers
9 years, 1 month 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
9 years, 1 month 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 01 Oct 20159 years, 1 month ago.
Yes I have the same problem. This code works if I unplug and plug the USB cable :
- 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.
9 years, 1 month 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