I wrote a function for flashing code in Banks A and B of a MSP430F5528. I wanted to locate the function at a specific location in Bank D. The code is generated and loads through the debugger where I want it. The function call to this code looks to be formed properly when disassembled. However when the call is executed the PC steps right over the function call as if it was not there. I can not set break points in the function however I can see it clearly by looking at the specific location using the memory viewer at the specified address .If I force the PC to point at the location the code executes properly, but CCS reports there is no source code for that location. If I remove the #pragma LOCATION directive and allow the code to be placed anywhere, all works as expected. I tried this using CCSV5 and today I downloaded CCSV6 the exactly the same results. I am using the mspx option, and by the way when the code is allowed to be stored where it wants the address is beyond 0x10000 address. So what am I doing wrong?
