20737 Crash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I just modify wiced_sense, add some trace information in function

UINT8 wiced_sense_poll_hpt_and_fill_notification_packet(UINT16* data_ptr, UINT8* size) {

ble_trace2("Humi*10=%6d, Temp*10=%6d", humidity, temperature);

.....

}

Now 20737 ofen crash while it send data to android phone(with wiced-sense app).

The crash log are:

18:48:28 - Noti length: 7

18:48:28 - 34 1e 01 29 04 02 01

18:48:28 - PC = x20B130FA

18:48:28 -

18:48:28 - SP = x002003B8

18:48:28 -

18:52:26 -

18:52:36 - Noti length: 19

18:52:36 - 0b 2b 00 d0 ff 31 00 d8 07 95 c7 32 19 0b 04 cc

18:52:36 - 01 40 f8

18:52:36 - PC = x20B130FA

18:52:36 -

18:52:36 - SP = x002003B8

18:52:36 -

But why? what happens?

BR

Edward

0 Likes
1 Solution

fujianjun

Did you modify the hardware to enable traces? If yes I would try it and let you know if I see the same issue.

thnx

vik86

View solution in original post

0 Likes
4 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

i think the current fw for sense does not support debugging/tracing feature.

Debugging WICED Sense

0 Likes
Anonymous
Not applicable

Actually I can get trace information from UART/USB in IDE. The problem is it often crash. Is there a way to avoid crash?

0 Likes

fujianjun

Did you modify the hardware to enable traces? If yes I would try it and let you know if I see the same issue.

thnx

vik86

0 Likes
Anonymous
Not applicable

fujianjun Is this still an issue?

0 Likes