如图显示下载成功,但是复位后,程序无法正常运行,蓝灯常亮,绿灯常灭。
Failed to open amebapro2_fwfs_nn_models.json: 3
Failed to open amebapro2_fwfs_nn_models.json: 3
Failed to open directory: 3
Sketch uses 4763648 bytes (28%) of program storage space. Maximum is 16777216 bytes.
Enter Flash Mode!
Start Erase Flash then Upload Flash
Erasing...........erase success
End Erase Flash
Uploading.............upload success
End Upload Flash

串口监视器显示的日志如下:
== Rtl8735b IoT Platform ==
[Normal mode]
BootFromNORFlash
[Start Boot ROM...]
=== Load PARTBL ===
=== Load Done ===
=== Load ISP_IQ ===
[fcs chk pass]
ISP_IQ @ 0x8461080, 0x29f80, 0x0
mfcs_data version 0x00010001
fcs_data version 0x00010101
=== Process ISP_IQ ===
=== Load Done ===
=== Load BL ===
[Image Start Table @ 0x18200]
=== Load Done ===
== Boot Loader ==
Jan 31 2025:15:19:16
=== Load FCS Para ===
=== Load Done ===
[crc pass]
=== Load ISP_IQ Sensor ===
ISP_IQ @ 0x8461080, 0x29f80
=== Process ISP_IQ ===
=== Load Done ===
=== Load FW1 ===
FW_ISP_IQ @ 0x8061080, 0x2bf80
=== Process FW_ISP_IQ ===
DRAM_TYPE is DDR2 128MB.
ddr_freq = 533
VOE flash @ 0x808d080, 0x80f80
FCS KM_status 0x00002081 err 0x0000200a
Wait KM fcs done 0 us
FCS TM_status 0x003f0000
store fcs data for application
It don't do the sensor initial process
RAM TM_STATUS 0x00bf1208 err 0x00001208
read fcs_status 0x000000bf
read fcs_status 0x000000bf
=== Process VOE IMG ===
[Image Start Table @ 0x20106200]
RAM Load @ 0x810e100->0x20106200, 0x5c84
DDR Load @ 0x8114080->0x70100000, 0x14884
=== FW Load Done ===
Boot Loader <==
Bus Fault:
SCB Configurable Fault Status Reg = 0x00000100
Bus Fault Status:
BusFault Address Reg is invalid(Asyn. BusFault)
Instruction bus error
S-domain exception from Thread mode, Standard Stack frame on S-MSP
Registers Saved to stack
Stacked:
R0 = 0x00000104
R1 = 0x00000000
R2 = 0x00000380
R3 = 0x0d6a82d9
R4 = 0x40009000
R5 = 0x100000e0
R6 = 0x10000e10
R7 = 0x00000000
R8 = 0x00002c47
R9 = 0x20106200
R10 = 0x0002f228
R11 = 0x00000000
R12 = 0x00000016
LR = 0x201063d3
PC = 0x80000000
PSR = 0x01000000
Current:
LR = 0xfffffff9
MSP = 0x20003e50
PSP = 0x00000000
xPSR = 0x00000005
CFSR = 0x00000100
HFSR = 0x00000000
DFSR = 0x00000000
MMFAR = 0x00000000
BFAR = 0x00000000
AFSR = 0x00000000
PriMask = 0x00000000
SVC priority: 0x00
PendSVC priority: 0x00
Systick priority: 0x00
MSP Data:
20003E50: 00000104 00000000 00000380 0D6A82D9
20003E60: 00000016 201063D3 80000000 01000000
20003E70: 00000001 7FFF3FFB 40009140 20106303
20003E80: 20106200 00016F28 00018300 000007CD
20003E90: 0001B660 10000E10 100BC800 0001A2B0
20003EA0: 00002C47 0002A3B5 00000001 1001CFDB
20003EB0: 00000015 10010004 00000000 003F3FFB
20003EC0: 2017F124 00000000 2017F108 000019A5
20003ED0: 00000001 BB31A398 4407BA78 A3ABAE81
20003EE0: 00000000 000000FF 85CC64F3 400090DC
20003EF0: F88C89C5 8AF23560 00063331 00000000
20003F00: 00010300 0007FE77 A17C8704 692A89B8
20003F10: CC7BD3F5 FFFFFFEF EE4F684B 00503C18
20003F20: 1E66839A E2EB7778 61C2E3EA 82EBB4A3
20003F30: 6DCDAED3 00010350 725FE28B 67A6639D
20003F40: 76A08120 7676ED27 617F8F09 A15E2831
== NS Dump ==
CFSR_NS = 0x00000000
HFSR_NS = 0x00000000
DFSR_NS = 0x00000000
MMFAR_NS = 0x00000000
BFAR_NS = 0x00000000
AFSR_NS = 0x00000000
MSP_NS = 0x00000000
PSP_NS = 0x00000000
NS HardFault Status Reg = 0x00000000
SCB Configurable Fault Status Reg = 0x00000000
No Back Trace!
按住下载按键(boot)后,点击一下复位按键(en)进入下载(烧写)模式,显示日志如下:
== Rtl8735b IoT Platform ==
[test mode PG]
Download Image over UART1[tx=4,rx=3] baud=115200
板子现象如下
