Community news, upcoming events and general discussions
Threads: 32 Posts: 82
Get technical support from the community
Threads: 1182 Posts: 6590
Threads: 16 Posts: 58
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 53 Posts: 256
I got a problem with connecting the XDK via the XDKCloudConnectivity Template, provided in the workbench (3.1), to the IoT Things Cloud.
The issue is always the same: The XDK get stuck at "booting application..."
My procedure is
- paste config info onto SD Card (16gb, class 10) as config.txt with adapted SSID and PW
- put that SD card into XDK
- Connect XDK via USB (so it is connected and visible in Workbench as in boorloader mode)
- In Workbench (3.1) Create new project with the BoschXDKCloudConnectivity template
- Project -> Clean..
- Project -> Build Project
- Flash XDK
- then after some time it just get stuck at "Firmware Version: 0000000"
- Rebooting the application gets it stuck at "Booting application.."
- Meanwhile no LEDs light up when tyring to reboot. Only a short blip of the red LED on turning off and on the XDK.
I'm trying it on an wifi network with wpa security level.
What am I doing wrong? Or where do I miss out on anything?
Are there additional configurations that I have to do?
Thank you very much for your help and advice in advance!
Does nobody have an idea or a clue?
Thanks a lot!
It looks like you are taking all the right steps. From your description you are getting stuck in the flashing stage. When you hit the flash button does the yellow LED start flashing? If not the the device is never flashed.
Have you tried flashing any other project, like the LedsAndButtons example? This will let you know if there is something wrong with workbench.
If this also fails I would try and reinstall the workbench, and you may at this point want to try and update the workbench to 3.4.0.
As luck would, or would not, have it a colleague of mine ran into this issue today. I ran through the previous steps and stopped short of reinstalling the workbench. Everything else worked, and at my disposal was another XDK that I proved the BoschXDKCloudConnectivity project worked on. So I knew the issue was not with the Workbench, but rather something was wrong with their XDK! Now that I have you worried, I think I have found the solution.
First the deep dive explaination:
In the event that the SD Card is not inserted, or not read, the code immediately starts to look at the WiFiFileSystem. If it finds the config.txt file in this storage medium it will read the file and try to move on. The code will place the config.txt in this storage medium after reading it from the SD Card the first time and then change the file in the SD Card to config.bkp and you will bypass the SD Card after that. If the config.txt file is wrong in the WiFiFileSystem you are stuck.
Check the file on your SD Card and see if this it ends in .bkp, if so please change it back to config.txt. A couple things to edit in your config.txt file on the SD Card. Make sure there are no spaces or tabs at the end of each line (unless required by your Password or SSID). Please add a new line to the end of your file.
thank you for all your solution suggestions. I tried them (almost) all. Sorry, I didn't respond earlier.
What worked for me was indeed the addition of an extra newline at the end of the config.txt file. -.-
Didn't need to update workbench. (So didn't even try on Workbench 3.4.0)
So thank you Christopher!