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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,145 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
Reply
1 Solution
1,009 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
1,010 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