Coder Social home page Coder Social logo

Comments (9)

kennethlimcp avatar kennethlimcp commented on September 15, 2024

@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.

schwiet avatar schwiet commented on September 15, 2024

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.

kennethlimcp avatar kennethlimcp commented on September 15, 2024

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.

schwiet avatar schwiet commented on September 15, 2024

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.

kennethlimcp avatar kennethlimcp commented on September 15, 2024

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.

schwiet avatar schwiet commented on September 15, 2024

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.

kennethlimcp avatar kennethlimcp commented on September 15, 2024

@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.

schwiet avatar schwiet commented on September 15, 2024

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.

kennethlimcp avatar kennethlimcp commented on September 15, 2024

Awesome! So i presume this is resolved and you can probably close the issue?

from spark-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.