cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746 Discovery IAP using Ethernet

JAYDIP KATHIRIYA
Associate
Posted on February 21, 2017 at 19:54

Hi All, I have recently purchased STM32F746 Discovery board and i have STM32Cube_FW_F7_V1.6.0. In application folder only one program is available for Lwip so is there any source code to do IAP for this board using Ethernet only. Thanks in advance.

https://community.st.com/tags♯/?tags=stm32f746g-disco%20%3B%20freertos

 

https://community.st.com/tags♯/?tags=stm32%20ethernet%20f7

 

https://community.st.com/tags♯/?tags=cube%20mx%20ac6%20system%20workbench%20iap

‌

borowczak.thomas

simon.scullion

xena.lappin@socialedgeconsulting.com

oliverbeirne

#stm32-ethernet-f7 #cube-mx-ac6-system-workbench-iap #stm32f746g-disco-
1 REPLY 1
Joerg Wagner
Senior III
Posted on March 22, 2017 at 20:46

This method is a 'dual bank' emulation:

Write a 2nd application just for flashing. Set in the linker script the base address of the last flash bank (bank7).

It will fit easily in the bank.

Reduce the flash size memory in your main application minus 256k in the linker script.

You will not need 1MB for your main app.

In your main application write a function to set the base address to 0x80C0000 in the option bytes. Receive your data via network of the new main application and save it into memory. You have to tell the flash app where to find the data.

After performing a software reset your flash program will be called. Flash the data. Set the base address in the option bytes back to 0x8000000. Do a software reset and your new main application will run.