Other Parts Discussed in Thread: SYSBIOS, TMS320F280049C
Tool/software: Code Composer Studio
Hi,
I am trying to complie a sample project for sysbios. I imported from resource exploerer. I am unbale to compile it . Please help.Below are the errors-
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.
Tool/software: Code Composer Studio
Hi,
I am trying to complie a sample project for sysbios. I imported from resource exploerer. I am unbale to compile it . Please help.Below are the errors-
Hi,
Thanks for the reply. Even I thought so, as aren't sample examples supposed to work out of box if you select the right part number. Earlier I was using CCS Version: 7.1.0.00016. I complies smoothly in this. But since we decided to use F280049C and it is only in Version: 8.2.0.00007 . So same sample example doe snot compile . Which makes me wonder
Are you talking about the change you made for .econst? There are a couple things you can try--(1) Using the ">" says that you want to allocate it into the first memory range in the list into which it fits properly. In your case, this won't work, because .econst is bigger than either one of those memory blocks. If you switch the ">" to a ">>", it tells the linker to split the section among the listed memory regions, so try that first.
If that doesn't work, (2) you can try combining memory ranges to make a bigger memory range. So you could combine FLASH_BANK1_SEC4 and FLASH_BANK1_SEC5 into a new memory block called FLASH_BANK1_SEC4_5 and assign .econst to it.
FLASH_BANK1_SEC4_5 : origin = 0x094000, length = 0x002000 /* on-chip Flash */
/*FLASH_BANK1_SEC4 : origin = 0x094000, length = 0x001000 /* on-chip Flash */
/*FLASH_BANK1_SEC5 : origin = 0x095000, length = 0x001000 /* on-chip Flash */
.econst : >> FLASH_BANK1_SEC4_5, PAGE = 0, ALIGN(4)
The problem is that SYS/BIOS isn't providing .cmd files that are compatible with its examples so you need to create them yourself. It's an issue that SYS/BIOS needs to fix. Using CCS 8.2 should be fine.