This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: GPMC如何正确配置GPMC_CONFIG7_i 寄存器的 MASKADDRESS[11-8 ] BASEADDRESS[5-0]?

Part Number: AM6442


我的初始化配置顺序如下:引脚配置->gpmc时钟配置->复位 ->disable CS0  (硬件接线 连接的是CS1)

GPMC 接口配置为 NOR 32bit, MASKADDRESS[11-8 ] = 0xf    BASEADDRESS[5-0] = 0x11;  ....   依据TRM的编程指南进行的。

读写地址(0x5100 0000)时,调试会断开连接,提示如下信息:

MAIN_Cortex_R5_0_0: Trouble Halting Target CPU: (Error -2062 @ 0x136) Unable to halt device. 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 9.9.0.00040)

MAIN_Cortex_R5_0_0: Can't Single Step Target Program: (Error -1169 @ 0x70085814) Unable to flush instruction cache. 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 9.9.0.00040)

猜测是无法访问设备内存(0x5100 0000无法访问)导致的,如果猜测正确,那么是什么原因导致的?是否与NOR timings configuration有关?