请问F28027可以进行软件仿真吗

2019-08-04 17:17发布

SETUP中这样设置的:
360软件小助手截图20140115103507.jpg


程序使用TDS510硬件仿真是没有问题,但是使用软件仿真时,装载完.OUT文件后,一运行程序就会出现如下错误提示:
Can't Run Target CPU: Can't read from program memory 0x2F2942, check memory config [-2187]

网上查询,没有找到具体的解决办法,MEMORY MAP中不知道如何设置,没有成功

求大家帮帮看看,是哪里出现了问题呢?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
6条回答
670503982
2019-08-04 18:57
zhangmangui 发表于 2014-1-15 13:01
有硬件仿真器  为何要用simulator呢  
仿真不能做到外设的读写等功能
还有有些memory肯定是受限的    你看 ...

谢谢斑竹回复,
是这样子,看到视频中讲解软件仿真,所以试了一下,但是没有成功,CMD文件用的是RAM调试时的CMD文件,如下:

MEMORY
{
PAGE 0 :
   /* For this example, L0 is split between PAGE 0 and PAGE 1 */  
   /* BEGIN is used for the "boot to SARAM" bootloader mode   */

   BEGIN      : origin = 0x000000, length = 0x000002            
   BOOT_RSVD  : origin = 0x000002, length = 0x00004E     /* Part of M0, BOOT rom will use this for stack */               
   RAMM0      : origin = 0x000050, length = 0x0003B0
   PRAML0     : origin = 0x008000, length = 0x000800
   RESET      : origin = 0x3FFFC0, length = 0x000002

   IQTABLES   : origin = 0x3FE000, length = 0x000B50     /* IQ Math Tables in Boot ROM */
   IQTABLES2  : origin = 0x3FEB50, length = 0x00008C     /* IQ Math Tables in Boot ROM */
   IQTABLES3  : origin = 0x3FEBDC, length = 0x0000AA         /* IQ Math Tables in Boot ROM */

   BOOTROM    : origin = 0x3FF27C, length = 0x000D44               


PAGE 1 :

   /* For this example, L0 is split between PAGE 0 and PAGE 1 */
   RAMM1       : origin = 0x000480, length = 0x000380     /* on-chip RAM block M1 */
   DRAML0      : origin = 0x008800, length = 0x000800         
}


SECTIONS
{
   /* Setup for "boot to SARAM" mode:
      The codestart section (found in DSP28_CodeStartBranch.asm)
      re-directs execution to the start of user code.  */
   codestart        : > BEGIN,     PAGE = 0
   ramfuncs         : > RAMM0      PAGE = 0  
   .text            : > PRAML0,    PAGE = 0
   .cinit           : > RAMM0,     PAGE = 0
   .pinit           : > RAMM0,     PAGE = 0
   .switch          : > RAMM0,     PAGE = 0
   .reset           : > RESET,     PAGE = 0, TYPE = DSECT /* not used, */

   .stack           : > RAMM1,     PAGE = 1
   .ebss            : > RAMM1,    PAGE = 1
   .econst          : > DRAML0,    PAGE = 1      
   .esysmem         : > RAMM1,     PAGE = 1

   IQmath           : > PRAML0,    PAGE = 0
   IQmathTables     : > IQTABLES,  PAGE = 0, TYPE = NOLOAD

MEMORY MAP中设置如下:
3.jpg 2.jpg 1.jpg

麻烦帮忙看看可否解决。

一周热门 更多>