0
yuanyongjian

我这块板子烧写代码后一直都能跑,但后来改代码后烧写重启报错就再烧写不进去了

开始用的是gcc编译,jlink烧写,写不进去后,使用IAR工具编译烧写也不行

有什么办法恢复吗?

串口日志如下
ROM Version: 0.3

Build ToolChain Version: gcc version 4.8.3 (Realtek ASDK-4.8.3p1 Build 2003)

=========================================================
Check boot type form eFuse
SPI Initial
Image1 length: 0x3a18, Image Addr: 0x10000bc8
Image1 Validate OK, Going jump to Image1
RTL8195A[HAL]: Hard Fault Error!!!!
RTL8195A[HAL]: R0 = 0x1
RTL8195A[HAL]: R1 = 0x1
RTL8195A[HAL]: R2 = 0x100001
RTL8195A[HAL]: R3 = 0x100025e3
RTL8195A[HAL]: R12 = 0x1c
RTL8195A[HAL]: LR = 0x44c77
RTL8195A[HAL]: PC = 0x100025e2
RTL8195A[HAL]: PSR = 0x1000200
RTL8195A[HAL]: BFAR = 0x8
RTL8195A[HAL]: CFSR = 0x10000
RTL8195A[HAL]: HFSR = 0x40000000
RTL8195A[HAL]: DFSR = 0x0
RTL8195A[HAL]: AFSR = 0x0
RTL8195A[HAL]: PriMask 0x0
RTL8195A[HAL]: BasePri 0x0
RTL8195A[HAL]: SVC priority: 0x00
RTL8195A[HAL]: PendSVC priority: 0x00
RTL8195A[HAL]: Systick priority: 0x00

X u 已回應