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

28335 CKFA工程

  请问,谁有基于CCS4的28335 CKFA工程!串口升级!

MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */

RAMM0M1 : origin = 0x000100, length = 0x000200 /* on-chip RAM block M0M1 */
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip FLASH */
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip FLASH */
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip FLASH */
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip FLASH */
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip FLASH */
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip FLASH */
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip FLASH */
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip FLASH */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM available if MP/MCn=0 */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */

PAGE 1 :
RAMM0M1 : origin = 0x000300, length = 0x000500 /* on-chip RAM block M0M1 */ SCIA : origin = 0x007050, length = 0x000010 /* SCI-A registers */
RAML0L1 : origin = 0x008000, length = 0x002000 /* on-chip RAM block L0 & L1 */
RAMH0_1 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L4 */
RAMH0_2 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L5 */

PAGE 2 :
RAMH0_1 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L4 */
RAMH0_2 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L5 */
}

SECTIONS
{
.text_unsecured : > RAMM0M1 PAGE = 0
{
Unlock_main.obj (.text)
DSP2833x_CodeStartBranch.obj (.text)
Example_Flash2833x_CsmKeys.obj (.text)
DSP2833x_MemCopy.obj (.text)
rts2800_ml.lib (.text)
}
.econst_unsecured : > RAMM0M1 PAGE = 0
{
unlock_main.obj (.econst)
}

.text : LOAD = RAMH0_1, RUN = RAML0L1, LOAD_START(_textLoadStart),
LOAD_END(_textLoadEnd),
RUN_START(_textRunStart),
PAGE = 1

.econst : LOAD = RAMH0_1, RUN = RAML0L1, LOAD_START(_econstLoadStart),
LOAD_END(_econstLoadEnd),
RUN_START(_econstRunStart),
PAGE = 1

.cinit : > RAMM0M1 PAGE = 0

/* User Defined Sections */
codestart : > RAMM0M1 PAGE = 0
BlockTransferBuffer1: > RAMH0_1 PAGE = 2
BlockTransferBuffer2: > RAMH0_2 PAGE = 2
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0

/* Allocate uninitalized data sections: */
.stack : > RAMM0M1 PAGE = 1
.ebss : > RAML0L1 PAGE = 1

/* .reset is a standard section used by the compiler. It contains the */ /* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */ .reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
.SCIARegs : > SCIA PAGE = 1

}

10#:

现成的应该是没有,你可以将基于F2812的改成F28335的,然后直接在v4或v5下导入,自动将v3.3的转换成v4或v5.

  请问,谁有基于CCS4的28335 CKFA工程!串口升级!

MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */

RAMM0M1 : origin = 0x000100, length = 0x000200 /* on-chip RAM block M0M1 */
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip FLASH */
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip FLASH */
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip FLASH */
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip FLASH */
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip FLASH */
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip FLASH */
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip FLASH */
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip FLASH */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM available if MP/MCn=0 */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */

PAGE 1 :
RAMM0M1 : origin = 0x000300, length = 0x000500 /* on-chip RAM block M0M1 */ SCIA : origin = 0x007050, length = 0x000010 /* SCI-A registers */
RAML0L1 : origin = 0x008000, length = 0x002000 /* on-chip RAM block L0 & L1 */
RAMH0_1 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L4 */
RAMH0_2 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L5 */

PAGE 2 :
RAMH0_1 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L4 */
RAMH0_2 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L5 */
}

SECTIONS
{
.text_unsecured : > RAMM0M1 PAGE = 0
{
Unlock_main.obj (.text)
DSP2833x_CodeStartBranch.obj (.text)
Example_Flash2833x_CsmKeys.obj (.text)
DSP2833x_MemCopy.obj (.text)
rts2800_ml.lib (.text)
}
.econst_unsecured : > RAMM0M1 PAGE = 0
{
unlock_main.obj (.econst)
}

.text : LOAD = RAMH0_1, RUN = RAML0L1, LOAD_START(_textLoadStart),
LOAD_END(_textLoadEnd),
RUN_START(_textRunStart),
PAGE = 1

.econst : LOAD = RAMH0_1, RUN = RAML0L1, LOAD_START(_econstLoadStart),
LOAD_END(_econstLoadEnd),
RUN_START(_econstRunStart),
PAGE = 1

.cinit : > RAMM0M1 PAGE = 0

/* User Defined Sections */
codestart : > RAMM0M1 PAGE = 0
BlockTransferBuffer1: > RAMH0_1 PAGE = 2
BlockTransferBuffer2: > RAMH0_2 PAGE = 2
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0

/* Allocate uninitalized data sections: */
.stack : > RAMM0M1 PAGE = 1
.ebss : > RAML0L1 PAGE = 1

/* .reset is a standard section used by the compiler. It contains the */ /* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */ .reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
.SCIARegs : > SCIA PAGE = 1

}

master blade:

回复 10#:

  如附件,我吧2812 CKFA工程的改为28335的,编译成功,发送bin文件不能自动运行,请看一下CMD文件是否有问题?观察发现2812使用到H0 saram,而28335没有这个空间,是否能用L4-L7 SARAM代替,L4-L7 SARAM是否非安全区域,如何修改CMD文件成为28335 CMD?请各位大虾指点一下!

赞(0)
未经允许不得转载:TI中文支持网 » 28335 CKFA工程
分享到: 更多 (0)