TI中文支持网
TI专业的中文技术问题搜集分享网站

仿真调试出现Memory map prevented reading 0x7910EA08@Data

仿真调试出现Memory map prevented reading 0x7910EA08@Data, 请问这个问题怎么解决呢?

Susan Yang:

There is a GEL file associated with your target configuration.  The file is specifying what memory is present on your board and what its properties are.  In this case you are trying to access 0x7910EA08 on the Data page.  The memory map either doesn't have memory as being defined there or has it as non-readable.

You can view the memory map when you are in a debug session by going to the Tools menu and selecting Memory Map.  This will open a new view.  In the memory map section you should see tabs for the Program, Data and I/O pages.

建议您通过 Tools–>Memory Map 来查看0x7910EA08的情况

仿真调试出现Memory map prevented reading 0x7910EA08@Data, 请问这个问题怎么解决呢?

Dongyang Chen:

回复 Susan Yang:

看了下,0x400000-0xFFFFFFFF为NONE,应该是没有定义内存,那编译器怎么给函数分配了这个地址呢,根本跳不过去啊?

仿真调试出现Memory map prevented reading 0x7910EA08@Data, 请问这个问题怎么解决呢?

Dongyang Chen:

回复 Susan Yang:

或者怎样使CCS支持大模式,使能够支持32位指针?

仿真调试出现Memory map prevented reading 0x7910EA08@Data, 请问这个问题怎么解决呢?

Susan Yang:

回复 Dongyang Chen:

请问您现在使用的是哪款芯片?您可以先看一下

processors.wiki.ti.com/…/C2000_CLA_C_Compiler

Pointers are interpreted differently on the C28x and the CLA. The C28x treats them as 32-bit data types (address bus size being 22-bits wide can only fit into a 32-bit data type) while the CLA only has an address bus size of 16 bits.

仿真调试出现Memory map prevented reading 0x7910EA08@Data, 请问这个问题怎么解决呢?

Susan Yang:

回复 Dongyang Chen:

C2000芯片上目前有两种内核,一是C28x,一是CLA,其中C28x可以使用各种语言编程,所有编译器也都支持,但CLA是很特别的,它虽然支持C语言编程,但有不少限制比如不能支持多层的函数调用。所有C2000芯片上都有C28x,只有一小部分是除了C28x还有CLA,那它的CLA是有限制的,若是只有C28x,所以没有任何限制。

仿真调试出现Memory map prevented reading 0x7910EA08@Data, 请问这个问题怎么解决呢?

Jie Li:

回复 Dongyang Chen:

你解决了么?我也出现了类似的问题,知识地址和你不一样,我是在线调试程序时,从床后观察数据时,在VALUE一栏显示的不能查看

赞(0)
未经允许不得转载:TI中文支持网 » 仿真调试出现Memory map prevented reading 0x7910EA08@Data
分享到: 更多 (0)