AnsweredAssumed Answered

mkw36 program flash issue

Question asked by Haggui Souhail on Nov 28, 2019
Latest reply on Dec 4, 2019 by Haggui Souhail

Hello NXP community,

I am facing some problem, in our project, with the Program flash of the mkw36 microcontroller which is supposed to be 512Ko. However when the program exeeds 50% of the 512ko flash it craches and we are not able do proceed with debug neither to flash it with JLink. To confirm this issue, I moved to the otap example from the SDK and  I declared a big constant buffer so the m_text would bypass the PFlash section. Trying to debug the program, I am facing the same proble. Here after is the result after compilation :

 

Memory region         Used Size  Region Size  %age Used
    m_interrupts:         192 B        192 B    100.00%
BootFlags_region:          32 B         32 B    100.00%
  m_flash_config:          16 B         16 B    100.00%
          m_text:      292512 B     505616 B     57.85%
 InternalStorage:          0 GB         0 GB      -nan%
      NVM_region:          8 KB         8 KB    100.00%
        m_data_2:        2240 B        16 KB     13.67%
          m_data:       32828 B        48 KB     66.79%
Finished building target: frdmkw36_wireless_examples_bluetooth_otac_att_freertos.axf

Knowing that I am using the SDK version 2.0.0 (issue also appears when using SDK 2.1.0). Can you please help me with this problem.

 

Best regards,

Souhail

Outcomes