发帖
3 0 0

求助,安信可小安派BW21-CBV-Kit无法正确下载

HaydenHu
金牌会员

6

主题

260

回帖

2060

积分

金牌会员

积分
2060
小安派·BW21-CBV-KIt 166 3 2025-3-7 20:10:51

如图显示下载成功,但是复位后,程序无法正常运行,蓝灯常亮,绿灯常灭。

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

image.png

串口监视器显示的日志如下:


== 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

板子现象如下

VID20250307201805_小萌GIF_20250307_201928.gif

──── 0人觉得很赞 ────

使用道具 举报

本帖最后由 sujingliang 于 2025-3-7 20:32 编辑

在按住boot的情况下,按一下en,然后放开boot,最后只有红灯和蓝灯亮。好像你已经这么做了,但不能reset。
烧录成功后插拔USB复位可以正常运行吗
2025-3-10 21:32:32
Ai-Thinker小泽 发表于 2025-3-10 11:29
烧录成功后插拔USB复位可以正常运行吗

不可以,按复位和插拔都不行
您需要登录后才可以回帖 立即登录
高级模式
返回
统计信息
  • 会员数: 28292 个
  • 话题数: 40269 篇