Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
Dear Sir/Madam,
I am working on TMS320F28035 Processor. I am getting a debugging issue when I am running the code. I am generating the PWM pulses through ePWM channels. I am debugging my program into flash memory. My .cmd file is as follows.
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
FLASH : origin = 0x3E8000, length = 0x004000
// L0SARAM : origin = 0x008000, length = 0x002200
// L1DPSARAM : origin = 0x00A200, length = 0x000400
// L2DPSARAM : origin = 0x00A600, length = 0x000400
// L3DPSARAM : origin = 0x00B000, length = 0x000400
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
// RAML0L1 : origin = 0x008000, length = 0x000D00
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 :
M0SARAM : origin = 0x000000, length = 0x000400
M1SARAM : origin = 0x000400, length = 0x000400
// BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */
// RAMM1 : origin = 0x000480, length = 0x000380 /* on-chip RAM block M1 */
// RAML2 : origin = 0x008D00, length = 0x000500
// RAML3 : origin = 0x009200, length = 0x000800
}
SECTIONS
{
codestart : > BEGIN, PAGE = 0
ramfuncs : > RAMM0 PAGE = 0
.text : > FLASH, PAGE = 0
.cinit : > FLASH, PAGE = 0
.pinit : > FLASH, PAGE = 0
.switch : > FLASH, PAGE = 0
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
.ebss : > M0SARAM, PAGE = 1
.stack : > M1SARAM, PAGE = 1
.econst : > M0SARAM, PAGE = 1
.esysmem : > M0SARAM, PAGE = 1
IQmath : > FLASH, PAGE = 0
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
}
When I am running the program, it is giving the pulses for few seconds and after that it is going to the high value(3.3V), and when I pause the program it is showing the message as " Break at address "0x3ff8cd" with no debug information available, or outside of program code. "
I am unable to trace out the problem. Could you help me to solve this issue.
Thanks
Regards
Ravi