硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
Young Hu:可能供电电压被拉下来了,”debug运行到InitXintf16Gpio();就会出现low-power mode“ 用示波器看一下电压
硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
Seven Han:您的电路板是自己设计的还是TI的?
试下用TI的例程调试是否也会出现这个问题。
硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
user4539168:
回复 Seven Han:
自己设计的,用别的开发板没有这个问题
硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
user4539168:
回复 Young Hu:
DSP供电电压3.3~3.5V之间,内核电压1.9~2.0之间,都正常的额
硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
Young Hu:
回复 user4539168:
主要看瞬间跌落。
硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
user4539168:
回复 Young Hu:
没有跌落。。
硬件:电压3.3V供电正常,内核电压1.9到2V之间;XRS高电平;仿真器XDS100V3;
现象:debug运行到InitXintf16Gpio();就会出现low-power mode,然后就自动退出debug;
想请教:该如何解决?
user4539168:
回复 Young Hu:
当我把以下代码注释掉后,就好了。
Uint16 *ExSRAM_TEST = (Uint16 *)0x100000;
*ExSRAM_TEST = 10;
cc = *ExSRAM_TEST;
我现在对xintf的硬件配置如下:
cmd文件如下
MEMORY{PAGE 0 :/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */RAMM0 : origin = 0x000050, length = 0x0003B0RAML0 : origin = 0x008000, length = 0x001000RAML1 : origin = 0x009000, length = 0x003000// RAML2 : origin = 0x00A000, length = 0x001000// RAML3 : origin = 0x00B000, length = 0x001000ZONE6 : origin = 0x100000, length = 0x080000ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 – program space */CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */ADC_CAL : origin = 0x380080, length = 0x000009RESET : origin = 0x3FFFC0, length = 0x000002IQTABLES : origin = 0x3FE000, length = 0x000b50IQTABLES2 : origin = 0x3FEB50, length = 0x00008cFPUTABLES : origin = 0x3FEBDC, length = 0x0006A0BOOTROM : origin = 0x3FF27C, length = 0x000D44
PAGE 1 :/* BOOT_RSVD is used by the boot ROM for stack. *//* This section is only reserved to keep the BOOT ROM from *//* corrupting this area during the debug process */
BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */RAML4 : origin = 0x00C000, length = 0x001000RAML5 : origin = 0x00D000, length = 0x001000RAML6 : origin = 0x00E000, length = 0x001000RAML7 : origin = 0x00F000, length = 0x001000ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 – data space */}
我想完成的是往sram里写个数据,然后再读出来。
目前一旦把那三行代码加上就出错,去掉就不会。。想请教该怎么做?