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

cross mob
Anonymous
Not applicable

Hi Sir,

We has a WICED project using BCM9WCDUSI09.There is a host MCU uses UART interface to connect to BCM9WCDUSI09's MCU, and then send data via wifi to AP router. The SDK is 2.4.0 from USI.


Now we hit a strange issue:

1) Sometimes, the system will crash, and cannot boot up at all unless refresh the whole system image.

2) Especially when uploading to AP router, it is easy to reproduce.

3) Sometimes when power on and power off the device frequently, it can also reproduce.

4) The image and boot loader in flash should be damaged as we have to re-download the whole image to recover it.

5) We can reproduce this issue on BCM9WCDUSI09 demo board.
6) We have removed the igmp from IWIP, also removed the UDP, in order to reduce the memory usage.

Could you pls also give your suggestion and direction so that we can follow it for the troubleshooting? Thanks!

0 Likes
1 Solution
Anonymous
Not applicable

To check whether flash is broken, please try below OpenOCD command after it's reproduced.

openocd-all-brcm-libftdi.exe -f BCM9WCD1EVAL1.cfg -f stm32f2x.cfg -f stm32f2x-flash-app.cfg -c "verify_image XXX.elf"

You can also find where in the flash is broken.

View solution in original post

0 Likes
8 Replies
Anonymous
Not applicable

This seems like a flash corruption issue. Can you double-check and make sure that your software isn't calling any flash write function (including DCT functions) with invalid address parameter?

0 Likes
Anonymous
Not applicable

Hi Aji,

Thanks, we will have a checking on it.

0 Likes
Anonymous
Not applicable

Hi Aji,

Yes, we had double checked the code, and the software we wrote doesn't call the flash write functions. Could you pls give more directions? Thanks!

James

0 Likes
Anonymous
Not applicable

To check whether flash is broken, please try below OpenOCD command after it's reproduced.

openocd-all-brcm-libftdi.exe -f BCM9WCD1EVAL1.cfg -f stm32f2x.cfg -f stm32f2x-flash-app.cfg -c "verify_image XXX.elf"

You can also find where in the flash is broken.

0 Likes
Anonymous
Not applicable

Thanks, we will have a try.

0 Likes
Anonymous
Not applicable

Dear Sir,

    Yes,I have make a double check,the s software isn't calling and flash write functions in the same time.

0 Likes
GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

Is this still an issue or has it been resolved?

0 Likes
Anonymous
Not applicable

Yes, it had been resolved. thanks!