Re: Problem with running Zephyr from external flash on STM32xx

Jan Pohanka

On Fri, Nov 22, 2019 at 07:35 AM, Erwan Gouriou wrote:
One point though, are you using same usart peripheral on console and shell ?
If not, this could be strangely similar to
which has been seen on internal flash as well.
Thanks you for suggestion, but this probably is not related. I use the same UART and moreover all works normally when running from internal flash. In fact only change is in linking for internal flash FLASH is located in 0x08000000 for external 0x90000000. The memory mapped QSPI is working fine. I reach the main function

void main(void)
while (1) {
printk("Hello World! %s\n", CONFIG_BOARD);

but second call to k_sleep ends in fault. The arch_system_halt is called from main thread.... Surprisingly no fault message is prined out even if it is enabled.


Join to automatically receive all group messages.