Skip to main content
Jason Orchard
Associate
February 21, 2017
Solved

STM32 Flash Loader Demonstrator - Support for STM32F76X

  • February 21, 2017
  • 7 replies
  • 3187 views
Posted on February 21, 2017 at 04:11

Hi Everyone,

I was looking for a tool that was able to bootload an STM32F767 microcontroller via USART which I thought I found when I came across the STM Flash Loader Demonstrator (version 2.8.0). However, there was no '.STMap' memory map file for this processor family, the closest was STM32F74X/5X.  

I created a new memory map file for the 

STM32F767 (see attached) which allowed me to successfully connect to my micro using the Flash Loader Demonstrator. However, I cannot perform an erase, program or download. The error message that I receive says 'Fail. Check read/write protections'. However, when checking the flash readout and write protections they are disabled. 

Has anyone had success getting this flash loader tool to work for STM32F76X parts?

Also, does anyone know the meaning and significance of 'BID' in an '.STMap' file? I am currently using 'BID' for

STM32F74X/5X parts - maybe this could be the source of the problem?

#stm32 #flash-loader #flash #usart #bootloader #stm32f76
This topic has been closed for replies.
Best answer by mn_it
Posted on June 22, 2017 at 09:28

Hi, problem resolved.

I change STMap file as:

[Product]

Name=STM32F7_46_1024K_RAM

PID=0449

BID=1FF0EDBE

FlashSize=0400    ;;ADDR_FLASH_SIZE=FFFFFFFF;  TO BE DONE !!!!

PacketSize=80

ACKVAL=79

MAPNAME=Sectors

PagesPerSector=1

family = 6;

;; InternalRAM

[InternalRAM]

Name=userRAM

Address=20010000

Size=0001D000

Type=111

UFO=111

7 replies

Amel NASRI
ST Technical Moderator
February 21, 2017
Posted on February 21, 2017 at 08:14

Hi

,

You find attached a newer version of the FlashLoader demonstrator supporting STM32F7 devices.

Please try it and keep me informed if it is working as expected or you faced any issue using it.

This version will be available soon on the web.

-Amel

________________

Attachments :

STMFlashLoader Demo_V2.9.0RC4.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyuT&d=%2Fa%2F0X0000000bDl%2FPFtATt_1p3PVGzmau8Yp2.MQQOT.samCQzDgE3UdIwc&asPdf=false
To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Amel NASRI
ST Technical Moderator
February 21, 2017
Posted on February 21, 2017 at 09:25

Also, does anyone know the meaning and significance of 'BID' in an '.STMap' file?

BID: it is the Bootloader ID.

The information about its value for each product could be found in

http://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf

(table 3).
To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
mn_it
Associate II
June 21, 2017
Posted on June 21, 2017 at 17:29

Hi

I am going to program qspi flash using UART boatloader that can use for future update from internet,

My MCU is STM32F746BG, I change sample project of AN2606 and make new .bin file. but i can not program RAM of stm32f746 using flash loader.

0690X00000603trQAA.jpg

i get Error: can not erase or can not download.

0690X00000603tmQAA.jpg

I change  .STmap file for my MCU:

;;-------

[Product]

Name=STM32F7_46_1024K

PID=0449

BID=1FF0EDBE

FlashSize=0400    ;;ADDR_FLASH_SIZE=FFFFFFFF;  TO BE DONE !!!!

PacketSize=80

ACKVAL=79

MAPNAME=Sectors

PagesPerSector=1

family = 6;

;; InternalRAM

[InternalRAM]

Name=userRAM

Address=20003000

Size=0001D000

Type=111

UFO=111

;;---------

what is wrong?

Abilash Shahin
Associate
September 17, 2018

Hi, Do you have the newer version of Flash loader demonstrator for STM32F76X devices? Kindly share

Tesla DeLorean
Guru
September 17, 2018

They don't, it has been replaced/superseded with the STM32 Cube Programmer in USART mode

https://www.st.com/en/development-tools/stm32cubeprog.html

The protocol remains the same so you could use your own solutions too.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..