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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
876件の閲覧回数
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[]? 

ラベル(3)
タグ(1)
0 件の賞賛
1 解決策
740件の閲覧回数
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

元の投稿で解決策を見る

1 返信
741件の閲覧回数
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