AMB82-Mini wont boot large code size

Hello,

It seems if the code reaches a certain size (my arduino code is around 2000 lines), the AMB82-mini wont boot anymore.

Some sort of signature boot error (see the last part of the boot long below).
Its also mentioning something about pin is conflicting, i dont know what that means.

It keeps rebooting over and over, printing out this information below. If i reduce the code size then it works.

Something is wrong with the bootloader!!

Here is the log:

10:29:42.181 →
10:29:42.181 → == Rtl8735b IoT Platform ==
10:29:42.181 →
10:29:42.181 → [Normal mode]
10:29:42.181 → BootFromNORFlash
10:29:42.181 → [Start Boot ROM…]
10:29:42.181 → === Load PARTBL ===
10:29:42.181 → === Load Done ===
10:29:42.181 → === Load ISP_IQ ===
10:29:42.181 → [fcs chk pass]
10:29:42.181 → ISP_IQ @ 0x8461080, 0x1af80, 0x0
10:29:42.181 → mfcs_data version 0x00010001
10:29:42.181 → fcs_data version 0x00010101
10:29:42.225 → === Process ISP_IQ ===
10:29:42.225 → === Load Done ===
10:29:42.225 → === Load BL ===
10:29:42.225 → [Image Start Table @ 0x18200]
10:29:42.257 → === Load Done ===
10:29:42.257 →
10:29:42.257 → == Boot Loader ==
10:29:42.257 → Mar 28 2024:15:29:24
10:29:42.257 → === Load FCS Para ===
10:29:42.257 → === Load Done ===
10:29:42.257 → [crc pass]
10:29:42.257 → === Load ISP_IQ Sensor ===
10:29:42.257 → ISP_IQ @ 0x8461080, 0x1af80
10:29:42.257 → === Process ISP_IQ ===
10:29:42.257 → === Load Done ===
10:29:42.257 → === Load FW1 ===
10:29:42.257 → FW_ISP_IQ @ 0x8061080, 0x1cf80
10:29:42.299 → === Process FW_ISP_IQ ===
10:29:42.299 → DRAM_TYPE is DDR2 128MB.
10:29:42.299 → ddr_freq = 533
10:29:42.299 → VOE flash @ 0x807e080, 0x7ff80
10:29:42.299 → FCS KM_status 0x00002081 err 0x0000200a
10:29:42.299 → Wait KM fcs done 0 us
10:29:42.299 → FCS TM_status 0x003f0000
10:29:42.299 → store fcs data for application
10:29:42.299 → RAM TM_STATUS 0x00bf1208 err 0x00001208
10:29:42.299 → read fcs_status 0x000000bf
10:29:42.347 → read fcs_status 0x000000bf
10:29:42.347 → === Process VOE IMG ===
10:29:42.347 → [Image Start Table @ 0x20106200]
10:29:42.347 → RAM Load @ 0x80fe100->0x20106200, 0x6278
10:29:42.391 → DDR Load @ 0x8105080->0x70100000, 0x172055
10:29:42.423 → === FW Load Done ===
10:29:42.423 →
10:29:42.423 → Boot Loader <==
10:29:42.463 →
10:29:42.463 → == RAM Start ==
10:29:42.463 → Build @ 14:48:33,@Jun 6 2024
10:29:42.463 →
10:29:42.463 → == Rtl8735b IoT Platform ==
10:29:42.463 →
10:29:42.463 → [Normal mode]
10:29:42.463 →
[MISC Err]Pin 0[1] is conflicted
10:29:42.463 →
[MISC Err]It’s configured as RFAFE_CTRL/JTAG now.
10:29:42.463 →
[MISC Err]Pin 0[0] is conflicted
10:29:42.463 →
[MISC Err]It’s configured as RFAFE_CTRL/JTAG now.
10:29:42.463 → BootFromNORFlash
10:29:42.463 → [Start Boot ROM…]
10:29:42.463 → === Load PARTBL ===
10:29:42.463 →
[BOOT Err]StartUp@0x0: Invalid RAM Img Signature!Boot_err(0xe2001811)
10:29:46.243 →
10:29:46.243 → == Rtl8735b IoT Platform ==
10:29:42.463 → == Rtl8735b IoT Platform ==
10:29:42.463 →
10:29:42.463 → [Normal mode]
10:29:42.463 → [MISC Err]Pin 0[1] is conflicted
10:29:42.463 → [MISC Err]It’s configured as RFAFE_CTRL/JTAG now.
10:29:42.463 → [MISC Err]Pin 0[0] is conflicted
10:29:42.463 → [MISC Err]It’s configured as RFAFE_CTRL/JTAG now.
10:29:42.463 → BootFromNORFlash
10:29:42.463 → [Start Boot ROM…]
10:29:42.463 → === Load PARTBL ===
10:29:42.463 → [BOOT Err]StartUp@0x0: Invalid RAM Img Signature!Boot_err(0xe2001811)
10:29:46.243 →
10:29:46.243 → == Rtl8735b IoT Platform ==
10:29:46.243 →

Hi @nsmith1024,

Maybe you ran out of RAM.

Are you running mainly Neural Network code?

Thank you.