Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG
Hi all,
I am using mcu_plus_sdk_am243x_08_03_00_18 on a LP-AM243. I imported the example from examples\networking\lwip\enet_lwip_cpsw\am243x-lp\r5fss0-0_freertos\ti-arm-clang and got it to work by debugger.
But it does not work when I flash the application as explained here. Flashing is fine, but when starting from flash, no action is visible on the Ethernet port, and the output on COM port is just
DMSC Firmware Version 22.1.1--v2022.01 (Terrific Llam
DMSC Firmware revision 0x16
DMSC ABI revision 3.1
For reference, I did the same with the example from examples\drivers\i2c\i2c_led_blink\am243x-lp\r5fss0-0_freertos. This one works both from debugger and Flash as expected. The COM port output when starting from flash is
DMSC Firmware Version 22.1.1--v2022.01 (Terrific Llam
DMSC Firmware revision 0x16
DMSC ABI revision 3.1
[BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 100.000 MHz
[BOOTLOADER_PROFILE] Boot Image Size : 66 KB
[BOOTLOADER_PROFILE] Cores present :
r5f0-0
[BOOTLOADER PROFILE] SYSFW init : 12190us
[BOOTLOADER PROFILE] System_init : 12289us
[BOOTLOADER PROFILE] Drivers_open : 263us
[BOOTLOADER PROFILE] Board_driversOpen : 147249us
[BOOTLOADER PROFILE] Sciclient Get Version : 10117us
[BOOTLOADER PROFILE] CPU load : 1755us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 183867us
Image loading done, switching to application ...
I2C LED Blink Test Started ...
LED will Blink for 10 loop ...
I2C LED Blink Test Passed!!
All tests have passed!!
Any ideas why the LwIP example cannot run from flash?
One remarkable issue is that to re-start the LwIP example by debugger, it is required to power-cycle the board; this is mensioned in the SDK doc. Why is this, and could this be the reason for the flash problem?
Thanks.