- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
04-20-2017 06:10 PM
I wanted to see if I can update the FW over USB without using the WSTK.
So I flashed in a FW with USB enabled, installed the driver, and unplugged BRD4320A from WSTK. I plugged the board into the USB port and it showed up as a COM port. Then I tried running wifi_dfu but it repeats "Reboot timeout, retrying" eventually ended with a "Module boot error".
What am I doing wrong?
Solved! Go to Solution.
04-20-2017 11:13 PM
Did you configure USB as BGAPI? Can you control the module using BGTool through the USB interface on the radio board? Have you tried calling wifi_dfu without flowcontrol in the parameters?
04-21-2017 01:28 PM
It's configured with descriptor=cdc.xml and api=true.
When wifi_dfu is run, I see the device disappear from windows device manager then come backup, I guess it's rebooting. But wifi_dfu could never reconnect, even after I run it again. Have to unplug then replug for wifi_dfu to see it again. nortscts and usb parameters give the same result.
04-23-2017 11:21 PM
Right, I see what the problem is. The wifi_dfu was not really designed to support the USB interface. When it resets to DFU mode the whole module resets which means that the COMPort will re-enumerate but the wifi_dfu doesn't take this into consideration so you can't really use it unfortunately.
I'll make a feature request to get this added to the tool.
04-25-2017 06:25 PM
So what are my options regarding field-updates over USB? J-link?
On the WSTK would it be possible to program the radio board through an external J-link? Or must I remove the radio board first?
04-25-2017 10:25 PM
Well J-Link is always the safest option. Or you can also write your own wifi_dfu which can handle the COMPort re-enumeration. I created an internal ticket to add USB support to our wifi_dfu but I can't tell when or if it will get done.
You can program the radio board with an external J-Link but you must first set the WSTK debug mode to IN. Please check here how to do it: http://community.silabs.com/t5/Bluetooth-Wi-Fi-Kno
04-26-2017 05:57 PM
I just got the J-Link plus. I unplugged the radio board, jumped some wires from the radio board to the J-Link, and ran the J-flash program. It can connect and find the JTAG device so the connection should be correct. But I have no idea how to program. When I try to load the bin file generated from bgbuild it would complain about it being too big. Maybe that's not the file but I don't see anything else here.
04-28-2017 08:48 PM
Frankly I'm a noob here and have no idea what goes in which addresses.
If straight J-flash doesn't, work I'm entertaining the idea of using BGTool which will require that I connect J-Link up the same way as the WSTK. It says in the documentation that I can get the schematics for WSTK via Simplicity Studio but I can't find it. Any pointers?
05-01-2017 11:16 PM
05-02-2017 04:37 PM
OK so assuming the J-link on the WSTK works with BGTool to program the radio board, but an external J-Link doesn't, it means there's some difference between the one on the WSTK and the one I purchased from Segger?