- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Although ota2 files exist for platform/MCU/STM32F4xx/GCC/STM32F469, I've discovered then read on this site that there is insufficient RAM on the STM family e.g. 384K vs 640K as indicated by the diagram in WICED OTA2 pdf 2.1.2 OTA2 RAM Requirements.
The code size isn't the culprit but the loosing of 200K+ of SRAM. I tracked it down to:
WICED/platform/MCU/STM32F4xx/GCC/STM32F469/ota2_memory_with_bootloader.ld
/*SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 96K*/
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 320K
BTLDR_SRAM (rwx) : ORIGIN = 0x2004BC00, LENGTH = 17k /* Boot loader stack at the end. */
/*BTLDR_SRAM (rwx) : ORIGIN = 0x20010000, LENGTH = 32k / * Boot loader stack at the end. */
Thanks!
Solved! Go to Solution.
- Labels:
-
WICED Studio Wi-Fi Combo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to run the application with:
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 136K /* 320K */
I'm using FreeRTOS with WICED's pre-selection of Heap_3.c (gcc malloc) so hard to get a handle on real RAM needs.
I still don't understand what happens to the seemingly unused RAM.