Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCode in tightly coupled memory
Hi all, I placed a function in a section different from the main code. More exactly, my code is mapped to sdram and I linked a function testcall() into a tightly coupled memory section which I pr...
Altera_Forum
Honored Contributor
16 years agoThank you Jens,
your sample is basically what I do. The only difference being that I have all the other application stuff. Nevertheless I can't make mine work! Latest tests I performed: - same behaviour if these functions are mapped to tcm, sram or any other section different from sdram where main code is stored - whenever I compile in debug mode, none of the function works; in release mode usually testcall is working. - I also have a tc_data section, similar tightly coupled memory as tc_code, but for data. I used it both for system stack and some app data and I had no problem.