Linking Wiced App to higher memory address.

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

cross mob
Félix_T
Level 5
Level 5
10 sign-ins First comment on blog 50 replies posted

Its standard practice at my company to have a "boot-up" app run diagnostics on a system before jumping to the main App located at a higher ROM address.  We have a wiced app proted to uVelocity that works with a BCM43362 when the wiced App is the first thing executed on start up, meaning, the app is at the base ROM address for the processor. (STM32F415).  When we run the boot-up app first, and then jump to the wiced app, which is linked to a higher memory address, the wiced app is unable to communicated over SDIO with the BCM43362.

Has anyone linked their wiced app to a higher address and had it work?  We are trying to make sure that there is not some memory locality dependancy hidden somehwere in the wiced libraries.

We did verify that is was not a case of the boot-up app leaving RAM in a bad or unclean state, as we reset the whole internal RAM to 0s before running main in our wiced APP.

0 Likes
3 Replies
Félix_T
Level 5
Level 5
10 sign-ins First comment on blog 50 replies posted
The problem had nothing to do with ROM/RAM locality.  PB8 on our STM4xx was being configured and toggle which caused the BCM43362 to stop communicating.
0 Likes
Anonymous
Not applicable
Thanks for the update, good to hear you resolved this issue.
0 Likes
Félix_T
Level 5
Level 5
10 sign-ins First comment on blog 50 replies posted
I should clarify, the Pin PB8 was used for WL_GPIO6 in our system.

Toggling this pin (WL_GPIO6) seems to cause the BCM43362 to stop talking over SDIO.  Normally we do not touch this pin, and everything works fine.  Its a bit odd that toggling this pin, before wiced was initialized, caused wiced to fail initialization over the SDIO.
0 Likes