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.

MSPM0G3506-Q1: The Flash configuration for MSPM0G3506-Q1

Part Number: MSPM0G3506-Q1
Other Parts Discussed in Thread: MSPM0G3506, SYSCONFIG

Hi,

   When using MSPM0G3506 with 64K FLASH and clicking on Start Debug Session under Keil to enter the debugging page, it will not stop at the first sentence of main(), but will directly enter the HardFault_Leader.
 
  After careful inspection, it is not a problem with the source code itself. If a few source code statements that should not be affected are deleted, it is still OK.
 
  In the. map file of the compiled result, the value of Region $$Table $$Limit just exceeds 0x000008000. When a few lines of code are reduced and it does not exceed the limit, there is no problem. Alternatively, without reducing the code, simply changing the optimization level from - O0 to - O1 and reducing the code segment is not a problem.
But now that the FLASH space is within 0x10000, only half of it has been used and it has not exceeded the limit. Why is it like this?