Tool/software:
I was recently having trouble with using serial flash programming due to a memory map being generated with a code section that wasn't aligned to 8 words. It was one of two sections included in a group that used ALIGN(8). I found other posts that suggested splitting these sections into separate allocations in the cmd file instead of being grouped together. This fixed the problem.
My question is - is there a check I can enable in CCS that will generate a warning/error when sections aren't aligned like this? In case this mistake is inadvertently made in the future (since it's a subtle memory mapping trick this seems likely) it would be good to detect this when building code instead of having to find the problem later downstream when in-system reprogramming using FlashAPI fails.
Thanks, Ben