This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello everybody,
I am new to this community and F28335 controllers.
I am working with the F28335 and connect through a Jtag Emulator USB2.0
I am currently following the tutorial "Developing a simple Program".
When I tried to load the program I got the error Message "data verification failed at 0x3fffc0"
According to the suggestions in this board I modified my linker command file by adding "type=DSECT"
to the sections reset and vectors. Here my volume.cmd file
-stack 400
-heap 400
MEMORY
{
PAGE 0 : PROG(R) : origin = 0x3E8000, length = 0x10000
PAGE 0 : BOOT(R) : origin = 0x3FF000, length = 0xFC0
PAGE 0 : RESET(R) : origin = 0x3FFFC0, length = 0x2
PAGE 0 : VECTORS(R) : origin = 0x3FFFC2, length = 0x3E
PAGE 1 : M0RAM(RW) : origin = 0x000000, length = 0x400
PAGE 1 : M1RAM(RW) : origin = 0x000400, length = 0x400
PAGE 1 : L0L1RAM(RW) : origin = 0x008000, length = 0x2000
PAGE 1 : H0RAM(RW) : origin = 0x3F8000, length = 0x2000
}
SECTIONS
{
/* 22-bit program sections */
.reset : > RESET, PAGE = 0, type=DSECT
.vectors : > VECTORS, PAGE = 0, type=DSECT
.pinit : > PROG, PAGE = 0
.cinit : > PROG, PAGE = 0
.text : > PROG, PAGE = 0
/* 16-Bit data sections */
.const : > L0L1RAM, PAGE = 1
.bss : > L0L1RAM, PAGE = 1
.stack : > M1RAM, PAGE = 1
.sysmem : > M0RAM, PAGE = 1
.cio : > M0RAM, PAGE = 1
/* 32-bit data sections */
.ebss : > H0RAM, PAGE = 1
.econst : > H0RAM, PAGE = 1
.esysmem : > H0RAM, PAGE = 1
}
After this modification I was able to load volume.out onto the chip.
During that I get the following notifications
GEL Output:
XINTF x16 enabled by GEL
ADC Calibration complete
ADC Calibration complete
Messages:
Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
The problem is that the Disassembly window is blank. Containing only lines like that "---------- ------ ----"
If I click GoMain in the Debug Menu it tells me "Could not set breakpoint for GEL_Go()
can anybody tell me what is the problem here?
Regards
Eduard
Eduard,
I would suggest starting with the C2833x/C2823x C/C++ Header Files and Peripheral Examples, http://focus.ti.com/docs/toolsw/folders/print/sprc530.html
These contain examples that you can run out of the box, and the linker command files are all set up appropriately.
Also if you are using CCSv4, this wiki page is a great "Getting Started" reference: http://processors.wiki.ti.com/index.php/C2000_Getting_Started_with_Code_Composer_Studio_v4