Stack error when bootloader jumps to image with flash driver

Hi,

e2Studio/SSP    7.5.1/1.7.8, S7G2

I have a working Thread-X application.  I'm struggling with adding the simple serial bootloader to it.  I've placed the image at 0x010200.   The bootloader jumps to it just fine.  However, as soon as I include the flash driver to the image HAL, the bootload jump fails with a stack error. 

I'm confused as to what stack in the Thread-X application is affected by the addition of the flash driver to HAL.  If one opens the configuration.xml file and selects BSP, the properties tab shows:

Main stack size, Process stack size, and Heap size

Is "main stack size" what is used by HAL?

Steve

Parents Reply Children
No Data