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.

How to combine memory regions to get a larger range

Other Parts Discussed in Thread: TMS320F28069, CONTROLSUITE

Hi sir,

my programm ".text", size 0*80c    bt progRAM has 0*800, how i can increase the size, AratiG , i read the link which you give me, i am understud something bt whole.

i used TMS320F28069 PICCOLO CONTROL STICK,. And how i can modify .cmd file to allocate whole programm in progRAM.

Kindly give me the reply

Thanking you,

samadhan mahajan 

  • Samadhan,

    I assume you started off with the TriggeredADC example provided in ControlSuite for F28069 controlstick, and are adding code to it. Is that correct? And you are building the RAM configuration correct?

    If so, take a look at the linker command file, which should be F2806x_RAM_TriggeredADC.cmd for the RAM configuration. Under the MEMORY specification, it has:

     progRAM  : origin = 0x008000, length = 0x000800

    and

     dataRAM  : origin = 0x008800, length = 0x000800

    It looks like you need more space in progRAM to allocate your code. It is ok to split this memory range in a different way, so you could change it to the following as an example (you may need to try other combinations to see which works most optimally for your case, but sounds like increasing progRAM a little bit should be sufficient for you):

    progRAM  : origin = 0x008000, length = 0x000A00

    and

     dataRAM  : origin = 0x008A00, length = 0x000600

    Hope this helps.

  • Hi sir,

    AartiG, I am doing programm in Triggerd ADC, the coding is write as per book, Before this sir you  reply me with links "wiki" link i read that and try it but same error was comming. Now i am trying linking file F2806x_RAM_TriggeredADC.cmd  split this memory ranges as per your valuable guidelines. Sir if possible can i tag the programm and supporting files?

    Thanking you sir,

    Yours Faithfully

    samadhan mahajan

  • Samadhan Mahajan said:
    can i tag the programm and supporting files?

    I'm not sure what you mean here. Is the linking issue resolved? Can you please clarify what you mean by "tag the program and supporting files"?

  • Hi sir,

    The linking issue is resolve. thanking you sir. I am analysing all equetions in the progRAM. And i understand how to allocate the memory.

    sir, now i wnat to generate triangular wave at the frquency of 5khz using coading, means what is the logic of generation of triangular wave form .

    Very very thanks sir for your valuable guide lines

    yourfaithfully

    samadhan mahajan

  • Samadhan Mahajan said:

    sir, now i wnat to generate triangular wave at the frquency of 5khz using coading, means what is the logic of generation of triangular wave form .

    This is not really a question related to the code generation tools, so this is not the appropriate forum for it. Actually I'm not really sure any of the TI forums are. You may want to research your question on the internet or related books.

  • Hi sir , 

    Thanks sir,  ok sir i will go for the internet or related books, 

    Your's faithfully

    samadhan mahajan