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.

ccs put the map file into flash



hi forum,

i asked google and the search engine on ti.com a lot but i did not get an answer yet. so i try it here (my first post).

our goal is to read the adresses and names of the global variables via rs232 to the pc. then we can manipulate these variables over an simple rs232 protocol. we have implemented these function, but we need the .map-file on the pc.

so the question is: how can i get a .map-file into the flash of the dsp. i know that i have to do this in two steps. fisrt build the project, manipulate the .map-file and then include this into the project. but in wich way do i include a text-file at a specific place. after this i can flash the project to the dsp with the actual .map-file in the flash included.

i apology if this question is to silly/simple.

thank you for you answer

martin

  • Hi Martin,

    Just to give you an alternative approach: You could place your variable in a dedicated memory location using linker pragma DATA_SECTION. The mem locations are well known and you PC app can change these variables.Wasting flash space for a map file would be needless.

    Best regards

    Andreas

  • hi andreas,

    thank you for your hint. but in this case the variables are static and predefined, if i want to add one i have to change the pc prog.

    i know that this is wasting flash. if i put the map file into the flash i have a unique pc program and i do not have to care which map file i have to use on the pc side.

    best regards

    martin