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.

TMS320F28379D: Matlab and CCS Linker Error

Part Number: TMS320F28379D

Hi,

I have an issue when trying to use MathWorks tools (Embedded coder of Matlab 2021a + CCS 8.2) where I get an error when trying to load a program to flash in external mode. When trying to load the firmware it mentions an error in the memory map.

I believe it’s some error in the linker file associated with the f28379d (it is using C28377D linker there is no 779d variant linker in the folder

any advise on how to solve this 

Thanks 

  • Hi,

    Can you give more details about the linker error ? I think C28377D should be good enough. You may want to review the linker file.

  • When I load firmware I get this 

    The same error is received when I try to load directly of CCS. I tried to use TI generic flash linkers but those don’t work at all. Not that this is when I load at external mode. I did not try to deploy though I expect external mode to work from flash.

  • Inside CCS after you are connected, open the flash tools: Tools->Flash Tools.  I want to make sure that these are configured to erase/program/verify all sectors.  The memory range you are showing is a valid flash address, but since the error mentions not being able to validate the contents, I'm wondering if the "erase" function is deselected, and CCS can't re-program that address(range).

    I believe MW loader re-uses the CCS IDE, so once we solve this inside CCS it should work in MW as well.

    Best,

    Matthew

  • Just validated today the settings is correct and the problem is still there

    Any other Ideas of what is going on here? 

  • With CCS, are you able to erase the flash using the tools I referenced above?  We could attempt to program the .out file that MW created with CCS instead and see if this also has the same error(or not)

    Best,

    Matthew