Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: OSAL assertion after Active Scan for 802.15.4 devices

$
0
0

Hi TI,

We ran into an assertion issue using the TI MAC 1.3.0 (on MSP430) implementation, in correlation with the CC2520 radio.

While performing an Active Scan using MAC_MlmeScanReq(), we encountered an assertion in osal_meme_free() (OSAL_memory.c) under condition: HAL_ASSERT(*currHdr & OSALMEM_IN_USE).

Previous call was done by: mac_msg_deallocate() (mac_main.c)

The message that is being passed is an RX_beacon reception.

We are able to reproduce this problem on a consistent basis. But, only under a particular environment.

This issue arise when we are performing an active scan in a strongly populated 802.15.4 area. By sniffing the air, we can see that upon our "beacon request command" done during scan, there are around a dozen or more FFD responding with beacons.

Another intriguing thing is that our current "maxResults" is set to 4 (as per macMlmeScanReq_t definition). In that case, the assertion issue arises. If that value is set to "3", it still happens. BUT! If it's set to "2" or "1", then the problem does not seem to be reproduced anymore...

Is that an already known issue? If so, what could be a fix for that?

Thanks a lot!

Sim


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>