- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
- Labels:
-
SPI
- Tags:
- ap
- bcm9wcdusi09
- bcm9wcdusi09 firmware damaged
- bootloader
- damaged
- firmware
- firmware damaged
- refresh
- router
- sdk-2.4.0
- system crash
- uart
- uart interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aji,
Thanks, we will have a checking on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, we will have a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir,
Yes,I have make a double check,the s software isn't calling and flash write functions in the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this still an issue or has it been resolved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it had been resolved. thanks!