8 years, 9 months ago.

DISCO-F746NG demo software

What is the source code for the embedded demo s/w on the DISCO-F746NG? (381 pages of examples = haystack!)

I'd like to be able to return the board to its initial s/w load after experimenting with other example programs.

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.

I second that. The included card said to visit this page but there are no source files related to the specific all inclusive demo on the board. I too would like to start playing around with code but would also like to be able to put the demo code back on when i want to play with that.

posted by James Armstrong 21 Jul 2015

Did you check the comment by Mehmood here? https://developer.mbed.org/questions/54296/How-to-add-this-platform-to-MBED-compile/

posted by Asbjorn Mikkelsen 21 Jul 2015

Ahh - thanks, Asbjorn. I saw that comment title, but "How-to-add-this-platform-to-MBED-compile" didn't imply that I would find the source code!

posted by David Bell 21 Jul 2015

Sorry, I'm still totally lost! "How to add..." points to a source for Cube firmware. That link leads to a page with a number of pdf's, and one link to "STM32CubeMX". Clicking that expands to a number of apparent libraries/sources. One is "STM32CubeF7" and the description looks like the demo firmware. Clicking through *that* simply closes the expanded list. Nothing leads to an actual code library, nor loads it into the Compiler.

posted by David Bell 21 Jul 2015

Hello David, you need to download the STM32CubeF7 package by pressing the big red download button at the bottom of the page, then unpack and look in the Projects\STM32746G-Discovery\Demonstration subdirectory

posted by Maxime TEISSIER 22 Jul 2015

Yes, it's there, downloaded an unpacked it here now, use "preferred" toolchain it says, but seems like it only supports keil, iar etc?, what about gcc?

posted by Asbjorn Mikkelsen 22 Jul 2015

Maxime Teissier: Yes, I saw the Download button. When I click on it, it only reloads the page, somtimes expanding the list of "Related tools and software", sometimes collapsing it. Never initiates a download... It is a link to: http://www.st.com/web/en/catalog/tools/PF261909#

posted by David Bell 22 Jul 2015

Got through the download: It wasn't working in Firefox, possibly due to configurations set on my work PC. The download worked fine in Chrome, and I completed installing the (huge) library of examples. Now, I just have to figure out how to build and flash them to the board...

Dave

posted by David Bell 22 Jul 2015

To reprogram the demo sw you must program the internal Flash AND the external QSPI-Flash. But neither Keil nor STLink V3.6 can do that. You Need ST-Link V3.7 which can not be find on ST Homepage... :(

Edit : ST-Link V3.7 is online

posted by Lutz Schulze 23 Jul 2015

How do you reprogram the demo? I've compiled de demonstration with Keil but when I execute the demo this have got problem with images (ST LOGO, icons and all of the images presents on the demonstration example).

If I try to download the .hex file using st-ink v3.7 but it doesn't work because it needs an .elf file but I don't know where it is.

Thank you.

posted by Lluís Rovira Leranoz 31 Jul 2015

@all : I asked for it in the ST-Forum and this is the answer :

There is an error at the source "usb_msc.c"

Repository\STM32Cube_FW_F7_V1.1.0\Middlewares\ST\STM32_USB_Host_Library\Class\MSC\Src\usbh_msc.c

line 446, change

if((phost->Timer - MSC_Handle->timer) > 10000)

to

if((phost->Timer - MSC_Handle->timer) < 10000)

I hope that will help somebody else !

@Lluís Rovira Leranoz Sorry for the late answer . Did you add the "External loader" "N25Q128...746G_DISCO" ?

posted by Lutz Schulze 24 Aug 2015

3 Answers

8 years, 3 months ago.

I restored the original demo project (& icons) using the free AC6 plugin with Eclipse and ST-LINK 3.7.

The hex file... C:\path\to\eclipse\workspace\STM32Cube_FW_F7_V1.3.0\Projects\STM32746G-Discovery\Demonstration\SW4STM32\STM32F7-DISCO\Debug /media/uploads/robmilne/stm32f746g_disco.png

8 years, 3 months ago.

ALLEZ PARIS !!!!

8 years, 9 months ago.

ST created the demo SW thinking that mbed enthusiasts will write their own libraries looking at the source code. Cheap advertisement tactics IMHO.

I've been greatly underwhelmed at what ST thinks hobbyists plan on doing with their boards. mbed is great but if the basic board support with libraries and being able to program easily is not present then they set the entrance bar to their product too high.

posted by Patrick McNamara 14 Jun 2016