I loaded spp_over_ble firmware 1.0.9.122 for BLED112 on two USB dongles and the spp_over_ble application runs fine. (I controlled usbcdc.xml file with USB = enabled property)
Now I can't enter in DFU mode.
If I check firmware revision on this two dongles with BLEGUI2 I obtain:
I know that the only workaround is to open dongle and use CCDebugger, but where did I get wrong?
Thanks
Bluetooth Low Energy
Discussion Forums
Bluetooth Classic
Answered
Answered
Did you try enter command ATY to put the dongle into DFU mode? There is also another backdoor to enter DFU mode, it is by writing 0xff to the characteristic c_dfu_reboot_trigger.
Correct Answer
0
Thank you very much.
It works fine and I can enter in dfu mode without open it.
0
So if I use spp over ble example I can't enter in DFU mode via BLEGUI2 because it doesn't work: correct?
0
Correct, when running a BGScript application in BLED112 dongle you need to have some "backdoor" that will put the dongle into DFU mode.
This topic is covered in detail in the following thread:
i am a novice when it comes to writing bgscripts to the bled112 dongle can you please explan how do i write the 0xff to the characteristic c_dfu_reboot_trigger to the dongle do i connect it to the usb port and open a bgscript from the command line in windows?
Please advise
Regards
Nico
0
@louwng no, you don't run BGScript on the host PC. BGScript applications are compiled into a binary image that can be flashed into the dongle. The script is then executed in the dongle using the internal 8051 MCU. For introduction to some of the basic concepts, see for example this article:
This article explains how to run BGScript applications on a BLED112 dongle and how to ensure that the dongle can be returned into DFU mode when needed:
Some of our BGscript examples implement a proprietary "DFU reboot" service that allows the dongle to be rebooted into DFU mode. To use this "backdoor", you need to connect to the dongle over the air, using for example our BLE Android demo App that is available here:
See attached screenshot to see how the DFU reboot can be triggered using the demo app. Once you have booted the dongle into DFU mode you can then use our BLEGUI PC tool to reflash the dongle with new firmware.
Thanks for the reply I will try this out later today.
Can you also pelase have a look at my previous posts BLED112 attaching via BLEGUI but I cannot get it into DFU mode, please help? for which I didn't received a satisfactory answer yet as I want to know if my BLED112 is now bricked base on the information I have provided in the posts or can I still get it back into DFU mode
Please advise
Regards Nico
0
This is the post title i was referring too:
"BLED112 attaching via BLEGUI but I cannot get it into DFU mode, please help?"
Problem with BLED112 using USB/DFU
Hi.
I have a problem with Dongle BLED112.
I loaded spp_over_ble firmware 1.0.9.122 for BLED112 on two USB dongles and the spp_over_ble application runs fine. (I controlled usbcdc.xml file with USB = enabled property)
Now I can't enter in DFU mode.
If I check firmware revision on this two dongles with BLEGUI2 I obtain:
ble_rsp_system_get_info major: 0 (0x0000) minor: 0 (0x0000) patch: 2076 (0x081c) build: 29810 (0x7472) ll_version: 51465 (0xc909) protocol_version: 0 (0x00) hw: 136 (0x88)
I know that the only workaround is to open dongle and use CCDebugger, but where did I get wrong?
Thanks
Did you try enter command ATY to put the dongle into DFU mode? There is also another backdoor to enter DFU mode, it is by writing 0xff to the characteristic c_dfu_reboot_trigger.
Thank you very much.
It works fine and I can enter in dfu mode without open it.
So if I use spp over ble example I can't enter in DFU mode via BLEGUI2 because it doesn't work: correct?
Correct, when running a BGScript application in BLED112 dongle you need to have some "backdoor" that will put the dongle into DFU mode.
This topic is covered in detail in the following thread:
http://community.silabs.com/t5/Wireless-Knowledge-Base/HOW-TO-Run-a-BGScript-application-on-the-BLED112-USB-dongle/ta-p/147648
Hi Jaakkov
i am a novice when it comes to writing bgscripts to the bled112 dongle can you please explan how do i write the 0xff to the characteristic c_dfu_reboot_trigger to the dongle do i connect it to the usb port and open a bgscript from the command line in windows?
Please advise
Regards
Nico
@louwng no, you don't run BGScript on the host PC. BGScript applications are compiled into a binary image that can be flashed into the dongle. The script is then executed in the dongle using the internal 8051 MCU. For introduction to some of the basic concepts, see for example this article:
http://community.silabs.com/t5/Wireless-Knowledge-Base/REFERENCE-What-is-the-difference-between-BGScript-BGAPI-and/ta-p/147575
This article explains how to run BGScript applications on a BLED112 dongle and how to ensure that the dongle can be returned into DFU mode when needed:
http://community.silabs.com/t5/Wireless-Knowledge-Base/HOW-TO-Run-a-BGScript-application-on-the-BLED112-USB-dongle/ta-p/147648
Some of our BGscript examples implement a proprietary "DFU reboot" service that allows the dongle to be rebooted into DFU mode. To use this "backdoor", you need to connect to the dongle over the air, using for example our BLE Android demo App that is available here:
https://www.bluegiga.com/en-US/products/ble112-bluetooth-smart-module/
See attached screenshot to see how the DFU reboot can be triggered using the demo app. Once you have booted the dongle into DFU mode you can then use our BLEGUI PC tool to reflash the dongle with new firmware.
Thanks for the reply I will try this out later today.
Can you also pelase have a look at my previous posts BLED112 attaching via BLEGUI but I cannot get it into DFU mode, please help? for which I didn't received a satisfactory answer yet as I want to know if my BLED112 is now bricked base on the information I have provided in the posts or can I still get it back into DFU mode
Please advise
Regards
Nico
"BLED112 attaching via BLEGUI but I cannot get it into DFU mode, please help?"