I’m not sure if it’s a hardware issue and the best way to factory reset the core and try to acccess via browser
api.spark.io/v1/devices?access_token=xxx
There should be 4 listed functions available if the factory reset performed correctl.y
I’m not sure if it’s a hardware issue and the best way to factory reset the core and try to acccess via browser
api.spark.io/v1/devices?access_token=xxx
There should be 4 listed functions available if the factory reset performed correctl.y
I run the command, but I get this:
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.6.0</center>
</body>
</html>
Opps sorry. :d Can you simply paste the url in a browser instead?
[
{
“id”: “xxxxxx”,
“name”: “Spark01”,
“last_app”: null,
“last_heard”: “2014-09-30T10:22:12.097Z”,
“connected”: true
}
]
So it seems like the core firmware is not running tinker.
Otherwise, you should be seeing 4 functions as well…
It sounds like the firmware was not downloaded properly into the core.
1.) Either a hardware problem
2.) The core did not received the firmware properly via OTA.
@Louis, can you try installing dfu-util
so that we can flash firmware via USB?
That will help a lot.
I have installed dfu, could you send me some info how to run it?
Ok awesome!
1.) Download the blink an LED
example .bin file from the Web IDE.
See beside the app name, there’s a icon. Click on that.
2.) Place the core in DFU-mode
3.) run this command
dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D firmware.bin
Great…
Now the code is flashed. Terminal also showed this, I don’t know if it is any important
File downloaded successfully
Transitioning to dfuMANIFEST state
Error during download get_status
Ok cool. Seems like it downloaded. So did the code run/ led blinking?
So, code runs fine now with the downloaded bin!
I now try the web api, and after the flashing I get the green LED. If I restart the board the code is loaded from the web api, but I don’t know why the green light after the flashing?
Is there a way to fix it?