KW36 HRS demo debug error:No source available...

cancel
Showing results for 
Search instead for 
Did you mean: 

KW36 HRS demo debug error:No source available...

Jump to solution
586 Views
jictannu
Contributor III

I want to debug frdmkw36_wireless_examples_bluetooth_hrs_freertos, but I get this:

pastedImage_2.png

in frdmkw36_wireless_examples_bluetooth_hrs_freertos.map file:

  pastedImage_3.png

I am using PEMicro to debug. It looks like my code runs into 0x20002360 but this address is in ucHeap[]? 

Labels (3)
Tags (1)
0 Kudos
1 Solution
450 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Mo Xinyu, I hope you're doing well!

 

The HRS example project included in the KW36's SDK by default comes with Low-Power mode enabled, causing the device to go to sleep when running the example.

The device can be mass-erased by using an "unlock kinetis" command in J-Link Commander, or a mass erase command through MCUXpresso, which works as well.

Low-Power mode can be disabled by setting the following macro (in the app_preinclude.h header file) to a 0, like so:

 

/* Enable/Disable PowerDown functionality in PwrLib */
#define cPWR_UsePowerDownMode           0‍‍

 

Please let me know if you need any more information.

 

Best regards,

Sebastian

View solution in original post

1 Reply
451 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Mo Xinyu, I hope you're doing well!

 

The HRS example project included in the KW36's SDK by default comes with Low-Power mode enabled, causing the device to go to sleep when running the example.

The device can be mass-erased by using an "unlock kinetis" command in J-Link Commander, or a mass erase command through MCUXpresso, which works as well.

Low-Power mode can be disabled by setting the following macro (in the app_preinclude.h header file) to a 0, like so:

 

/* Enable/Disable PowerDown functionality in PwrLib */
#define cPWR_UsePowerDownMode           0‍‍

 

Please let me know if you need any more information.

 

Best regards,

Sebastian