Using External FLASH for Wi Fi image causes 802.1X fail on first connection

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

cross mob
grphc_1578046
Level 4
Level 4
10 likes received First like received First like given

This is follow up from the earlier EAP/PEAP debug sessions

Occurs every time.

When in local processor memory the connections do not fail.

The error is 1006.

  RESULT_ENUM( prefix, NOT_AUTHENTICATED, 1006 ), /**< Not authenticated */

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

You will need to check how much memory is consumed in external flash during the enterprise join process. Alternately you can adjust the tunables such as packet pool size (TX_PACKET_POOL_SIZE and RX_PACKET_POOL_SIZE), disable iperf (CONSOLE_NO_IPERF), P2P (CONSOLE_NO_P2P) in console.mk. Please refer to doc/WICED-Enterprise-Security-User-Guide.pdf for more details. For further debugging, you can enable the supplicant macros (WPRINT_ENABLE_SUPPLICANT_DEBUG, WPRINT_ENABLE_SUPPLICANT_INFO, WPRINT_ENABLE_SUPPLICANT_ERROR) in wiced_defaults.h and mbedtls logs as explained in Debugging TLS in WICED

View solution in original post

2 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

Additional details needed. Which WICED platform, SDK version did you use for testing? Which RADIUS server and version was used?

"When in local processor memory the connections do not fail."
So if my understanding is correct, if you place the WLAN firmware in internal flash of processor, the connection is successful but when placed in external flash, the connection fails. Is that correct?

GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

You will need to check how much memory is consumed in external flash during the enterprise join process. Alternately you can adjust the tunables such as packet pool size (TX_PACKET_POOL_SIZE and RX_PACKET_POOL_SIZE), disable iperf (CONSOLE_NO_IPERF), P2P (CONSOLE_NO_P2P) in console.mk. Please refer to doc/WICED-Enterprise-Security-User-Guide.pdf for more details. For further debugging, you can enable the supplicant macros (WPRINT_ENABLE_SUPPLICANT_DEBUG, WPRINT_ENABLE_SUPPLICANT_INFO, WPRINT_ENABLE_SUPPLICANT_ERROR) in wiced_defaults.h and mbedtls logs as explained in Debugging TLS in WICED