Comments (9)
@schwiet, just wondering what user firmware are you running on the core? Default tinker firmware or your own via local compile or cloud compile?
from spark-server.
Hi Kenneth,
Thanks for the reply! I'm just using the default firmware.
This leads me to another question though (this is my first spark), How
exactly do I write my own firmware? I have tried the Spark-dev atom
editor. It looks like I'm logged into my local cloud server, but the ide
doesn't actually find my connected core. You mention local compile, can you
point me to any documentation on how to do that? I'm assuming I need a
cross compiler, but I have been unsuccessful finding mention of this in the
documentation...
Thanks
On Thu, Dec 25, 2014 at 7:28 PM, Kenneth Lim [email protected]
wrote:
@schwiet https://github.com/schwiet, just wondering what user firmware
are you running on the core? Default tinker firmware or your own via local
compile or cloud compile?—
Reply to this email directly or view it on GitHub
#35 (comment).
from spark-server.
This is not the best place to discuss and the community would be more appropriate.
1.) Read docs.spark.io. There is the Web IDE for you to write your code and flash on the core. Spark dev does the same thing except that the IDE is installed on your desktop
2.) The local cloud code does not come with the build farm feature. i.e. you will not be able to compile code in to a binary using the local cloud setup
3.) Local compile setup can be done using GCC. You can find more information in the community as well
4.) If you have Spark-cli installed, try to flash the latest tinker firmware and see if you still observe the same issue. ;)
from spark-server.
How do I flash the latest firmware? I can't find any documentation for this, all I can find on the forums is that they are supposed to update automatically from the cloud, but my core is connected to my local cloud. Sorry if this is documented and I'm just not seeing it...
from spark-server.
You will need to use Spark cli and the command spark flash core_name xxxxxx.bin
to perform the flash. The docs for this is here: https://github.com/spark/spark-cli#spark-flash
I would suggest you head over to community.spark.io, open up a thread for a better discussion and understanding of how all of these come together ;).
Playing around with the default spark cloud first is also a better option as the full capabilities are available for you to tinker around before switching over to your own cloud where you will then have a better understanding of what's available and what's not.
from spark-server.
you're asking me to update the firmware, but it's still unclear how... spark flash core_name xxxxxx.bin
where do I get the latest firmware? the documentation doesn't say, it just tells you how to reset to "the original firmware that ships with the core". Thanks for the tip to read the community posts, I've been doing that the last few days. I'm just trying to figure out how to do what you're asking me to try.
from spark-server.
@schwiet, that's why i mentioned you should open up a thread in the community for us to help you on this.
Discussing this on github is simply not comprehensive enough.
There are many things you need to know to even get to this stage:
1.) The default firmware is known as tinker (documented in docs.spark.io)
2.) To flash firmware via Spark-cli, the command is spark flash core_name xxx.bin
3.) There is also some known firmware packaged in Spark-CLI listed here: https://github.com/spark/spark-cli#flashing-a-known-app
4.) You want to flash the core with the latest default firmware (tinker) so the command will be:
spark flash core_name tinker
I wouldn't want to continue this discussion about the procedures required as my original intent is to help debug the original issue you opened. We can discuss this in the community and once you are more familiar with the environment, it will take a few minutes for us to figure out the original issue.
Hope this helps!
from spark-server.
sorry for the confusion, I wasn't trying to ask you what tinker is, what spark-cli is, etc... It just was not obvious to me (from the documentation) that spark flash core tinker
would flash the 'latest', the documentation makes it sound like it restores the factory image. I just wanted to know how to do what you were suggesting...
updating the firmware with
spark flash core_name tinker
seems to have done the trick. Thanks and sorry for the digression.
from spark-server.
Awesome! So i presume this is resolved and you can probably close the issue?
from spark-server.
Related Issues (20)
- OTA firmware update for Photons not working HOT 15
- Photons subscribed to SSEs do not return data HOT 1
- Subscribing to SSE using prefix filter does not work
- Installing dependencies fails HOT 3
- photon not works with the spark-server HOT 1
- Recommended Node.js version HOT 9
- Suggestion: safe mode healing / fleet management HOT 2
- SparkServer in production HOT 3
- Invalid CoAP version HOT 2
- Every time after "particle keys doctor core_id", "particle list" have no device which just added.
- Error: Invalid CoAP version HOT 5
- Not compatible with 0.5.x firmware HOT 1
- Subscribe does not work HOT 2
- device list is not udpated after addition of new Photon
- 0.6.0-rc.2 firmware no longer able to connect to spark-server HOT 8
- What are the features that are present only on the Particle cloud ? HOT 2
- How does this compare to the cloud server?
- Give this Repo some love :)
- Date Time format for DateTime Field HOT 1
- Photon handshake decryption error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spark-server.