Tool/software:
Hi,
I was experimenting with LwIP inside the bootloader and ran into some very strange issue that I think are related to memory corruption.
I started by taking the example of sbl_null and combining it with the example of LwIP using raw APIs (enet_cpsw_rawhttpserver).
Just trying the LwIP part works as an app, but if I try it in the context of the SBL it throws random crashes as soon as I connect my ethernet cable.
The example should be pretty simple so I don't understand why it crashes in the SBL but not as an app.
Is there something weird with this combination?
Steps to reproduce:
- flash sbl_enet_test.tiimage with uart_bootloader.py with ethernet cable detached
- attach JTAG, load symbols, put breakpoints in all of the fault interrupt handlers, modify variable to exit loop_forever
- plug in ethernet cable
sbl_enet_test.zip