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

TMS320F280049C: 仿真正常,重新上电不运行

Part Number:TMS320F280049COther Parts Discussed in Thread:TIDM-1007, SFRA, C2000WARE

您好!

     使用F280049 controlCARD 运行ttplpfc的lab1例程,仿真运行正常,重新上电后程序无法运行,S1的开关设置在Flash运行状态(up,up);请问是否需要设置其他参数。

Susan Yang:

fan hans 说: 使用F280049 controlCARD 运行ttplpfc的lab1例程

请问测试其他例程是否也能复现这样的现象?

,

Susan Yang:

例如简单的闪灯程序?

,

fan hans:

1. ttplpfc的lab1,2,3,4都是同样的现象,没有更改例程的任何内容,工程直接导入ccs编译(TIDM-2008/TIDM-1007工程)。

2. 例程中有LED闪烁功能,仿真时LED能闪烁,重新上电LED不亮。

3. 硬件用的是TI官方的controlCARD,没有接任何外设,只是提供电源。

,

fan hans:

MEMORY{PAGE 0 : /* BEGIN is used for the "boot to Flash" bootloader mode */

BEGIN : origin = 0x080000, length = 0x000002 RAMM0 : origin = 0x0000F5, length = 0x00030B

RAMLS2LS3LS4LS5 : origin = 0x009000, length = 0x002000

RAMLS6 : origin = 0x00B000, length = 0x000800

RAMGS0GS1 : origin = 0x00C000, length = 0x002000

RESET : origin = 0x3FFFC0, length = 0x000002

/* Flash sectors */ /* BANK 0 */ FLASH_BANK0_SEC0 : origin = 0x080002, length = 0x000FFE /* on-chip Flash */ FLASH_BANK0_SEC1 : origin = 0x081000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC2 : origin = 0x082000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC3 : origin = 0x083000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC4 : origin = 0x084000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC5 : origin = 0x085000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC6 : origin = 0x086000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC7 : origin = 0x087000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC8 : origin = 0x088000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC9 : origin = 0x089000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC10 : origin = 0x08A000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC11 : origin = 0x08B000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC12 : origin = 0x08C000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC13 : origin = 0x08D000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC14 : origin = 0x08E000, length = 0x001000 /* on-chip Flash */ FLASH_BANK0_SEC15 : origin = 0x08F000, length = 0x001000 /* on-chip Flash */

/* BANK 1 */ FLASH_BANK1_SEC0 : origin = 0x090000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC1 : origin = 0x091000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC2 : origin = 0x092000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC3 : origin = 0x093000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC4 : origin = 0x094000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC5 : origin = 0x095000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC6 : origin = 0x096000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC7 : origin = 0x097000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC8_9_10 : origin = 0x098000, length = 0x03000 /* on-chip Flash */ FLASH_BANK1_SEC11 : origin = 0x09B000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC12 : origin = 0x09C000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC13 : origin = 0x09D000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC14 : origin = 0x09E000, length = 0x001000 /* on-chip Flash */ FLASH_BANK1_SEC15 : origin = 0x09F000, length = 0x001000 /* on-chip Flash */

PAGE 1 :

BOOT_RSVD : origin = 0x000002, length = 0x0000F3 /* Part of M0, BOOT rom will use this for stack */

RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */

RAMLS0LS1 : origin = 0x008000, length = 0x001000

RAMLS7 : origin = 0x00B800, length = 0x000800

RAMGS2 : origin = 0x010000, length = 0x002000 RAMGS3 : origin = 0x012000, length = 0x002000}

SECTIONS{ codestart : > BEGIN, PAGE = 0, ALIGN(4) .text : >>FLASH_BANK0_SEC1 | FLASH_BANK0_SEC2 | FLASH_BANK0_SEC3, PAGE = 0, ALIGN(4) .cinit : > FLASH_BANK1_SEC8_9_10, PAGE = 0, ALIGN(4) .init_array : > FLASH_BANK0_SEC1, PAGE = 0, ALIGN(4) .switch : > FLASH_BANK0_SEC1, PAGE = 0, ALIGN(4) .reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */

.stack : > RAMM1, PAGE = 1 .data : > RAMLS0LS1, PAGE = 1

.bss : >> RAMGS3 PAGE = 1 .sysmem : > RAMGS2 PAGE = 1 .const : > FLASH_BANK0_SEC4, PAGE = 0, ALIGN(4)

GROUP { .TI.ramfunc { -l sfra_f32_tmu_eabi.lib } ramfuncs dclfuncs

} LOAD = FLASH_BANK0_SEC6, RUN = RAMGS0GS1, LOAD_START(RamfuncsLoadStart), LOAD_SIZE(RamfuncsLoadSize), LOAD_END(RamfuncsLoadEnd), RUN_START(RamfuncsRunStart), RUN_SIZE(RamfuncsRunSize), RUN_END(RamfuncsRunEnd), PAGE = 0, ALIGN(4)

SFRA_F32_Data : > RAMGS2, ALIGN = 64, PAGE = 1

SFRA_Data : > RAMGS2, ALIGN = 64, PAGE=1

FPUmathTables : > FLASH_BANK1_SEC0, PAGE =0

.scratchpad : > RAMLS0LS1, PAGE = 1 .bss_cla : > RAMLS0LS1, PAGE = 1 controlVariables : > RAMLS0LS1, PAGE = 1

.const_cla : LOAD = FLASH_BANK1_SEC8_9_10, RUN = RAMLS2LS3LS4LS5, RUN_START(Cla1ConstRunStart), LOAD_START(Cla1ConstLoadStart), LOAD_SIZE(Cla1ConstLoadSize), PAGE = 0

GROUP { isrcodefuncs dclfuncs } LOAD = FLASH_BANK1_SEC8_9_10, RUN = RAMLS2LS3LS4LS5, LOAD_START(isrcodefuncsLoadStart), LOAD_SIZE(isrcodefuncsLoadSize), LOAD_END(isrcodefuncsLoadEnd), RUN_START(isrcodefuncsRunStart), RUN_SIZE(isrcodefuncsRunSize), RUN_END(isrcodefuncsRunEnd), PAGE = 0, ALIGN(4)

/* CLA specific sections */ Cla1Prog : LOAD = FLASH_BANK1_SEC8_9_10, RUN = RAMLS2LS3LS4LS5, LOAD_START(Cla1ProgLoadStart), RUN_START(Cla1ProgRunStart), LOAD_SIZE(Cla1ProgLoadSize), PAGE = 0, ALIGN(4)

}

/*//===========================================================================// End of file.//===========================================================================*/

,

Susan Yang:

fan hans 说: 例程中有LED闪烁功能

我指的是 C2000Ware_3_04_00_00\device_support\f2838x\examples\cpu1\led 例程

,

fan hans:

进行了另外一个尝试,C2000Ware_DigitalPower_SDK_3_02_00_00版本TIDM-2008/TIDM-1007导入ccs可以运行,C2000Ware_DigitalPower_SDK_3_01_00_00版本程序导入不能运行只能仿真。

,

Susan Yang:

fan hans 说:3_02_00_00版本TIDM-2008/TIDM-1007导入ccs可以运行,C2000Ware_DigitalPower_SDK_3_01_00_00版本程序导入不能运行只能仿真。

新版本的更新情况如下

https://dev.ti.com/tirex/explore/node?node=AIZYaInRZYPdHOEarfi21g__5C6SEVO__LATEST 

Updated solution tidm_02008 to version 1.00.02.00

目前在最新版本内没有TIDM-1007的相关更新

我会在之后拿launchpad来测试一下。

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F280049C: 仿真正常,重新上电不运行
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1