I want to debug frdmkw36_wireless_examples_bluetooth_hrs_freertos, but I get this:
in frdmkw36_wireless_examples_bluetooth_hrs_freertos.map file:
I am using PEMicro to debug. It looks like my code runs into 0x20002360 but this address is in ucHeap[]?
Solved! Go to Solution.
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
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