cancel
Showing results for 
Search instead for 
Did you mean: 

optimize and TCM

Binge
Associate II

Hi,

I'm using H723 for programming,and TCM ram is in use.when compiler optimization feature is on,code can not work.Is it not possible to use TCM while turning on optimization? or requires some setup?

 

Regards,

Binge

1 ACCEPTED SOLUTION

Accepted Solutions

Have a look into the (linker) generated map file to see which symbols (functions/data) are linked into this RAM sections to get an idea.
And as @Tesla DeLorean mentioned find out why your app is not running.

View solution in original post

4 REPLIES 4

Debug what's not working.

Determine if you've got code to move the data into the RAM.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

why the usage of RAM changed after optimize on?see picture below.

Binge_0-1701672450235.png

 

Have a look into the (linker) generated map file to see which symbols (functions/data) are linked into this RAM sections to get an idea.
And as @Tesla DeLorean mentioned find out why your app is not running.

Perhaps the optimizer keeps things in registers, or constant data in FLASH ?

If it's important, review the generated code/data. Start with the map and listing files.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..