今天把官网的uartbootloader弄到RM48L952开发板里调试,全速运行的话会出现错误。想通过单步来确定问题所在,但单步调试的话会一直处于等待用户输入的while(1)循环里。请教如何解决问题。
下面是全速运行时的错误信息:
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0Dap: Error: (Error -242 @ 0xFFFFFF0E) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 0.0.0.0)(这个错误在板子复位时也会出现,是不是复位时gdb无法访问的缘故?)
CortexR4: Error: (Error -1025 @ 0x0) Internal error: Invalid error code. Restart the application. If error persists, please report the error. (Emulation package 5.0.872.0)
CortexR4: Trouble Reading Memory Block at 0x80016f4 on Page 0 of Length 0x4: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
CortexR4: Trouble Reading Memory Block at 0x3180 on Page 0 of Length 0x15: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
CortexR4: Trouble Reading Memory Block at 0x3188 on Page 0 of Length 0x49: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
CortexR4: Can't Run Target CPU: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
CortexR4: Trouble Reading Memory Block at 0x80016f4 on Page 0 of Length 0x4: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
CortexR4: Trouble Reading Memory Block at 0x3180 on Page 0 of Length 0x15: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
CortexR4: Trouble Reading Memory Block at 0x3188 on Page 0 of Length 0x49: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)
fei hou:
解决了吗?
gaoyang9992006:
处在等待输入里面,你就根据那个等待输入看看是为何总是陷落进去的,只有符合它的条件才会陷落到那个死循环。