2017-02-21 10:54 AM
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-2017-03-22 12:46 PM
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.