June 30: iOS app, Deep-update and Local Cloud Beta

Hello :spark: community folks!

It’s me again with some updates to keep you guys up to speed with the HQ :wink:


  1. Deep Update for CC3000 via OTA, Spark-cli,DFU-util

_
The team has made good progress and the testing rounds with :spark: Elites should start earliest next week!

_
2, Local Cloud Beta Program

_
@Dave has made tremendous progress and we should be reaching out to the Beta group when the 1st testing phase is ready.

I have been managing the beta list and working with @peekay123 to see how we can have a great Beta program.

If you are interested, drop a note here: https://community.spark.io/t/local-cloud-beta-testing-where-is-the-source-code-for-the-cloud/1381/43

We want people to be given guidance and sharpening of skills though beta always sounded about just bug catching and testing! It’s also about giving concise feedback and test scenarios to assist the team with fast re-iterations.

_
3, iOS App

_
I have seen the iOS App repo popped up in Github but please please please wait for the official announcement!

Don’t end up diving deep in the code when there might be more to fix.

_
4, **Inaugural :spark: Blink Session! **

_
This will kickstart the educational side of things and will be the starting point for greater interaction with the community!

I’m hoping to hear some great feedback on how we can make this better after the session tomorrow afternoon and hopefully have more of you guys involved in this program :wink:





:spark: Advertisement!

If you have yet to try out Spark-Cli, now is time to do so!

There have been tons of improvements since the 1st commit and it’s definitely easier to use than you imagine.

Installation Tutorials:

For Windows: https://community.spark.io/t/tutorial-spark-cli-on-windows-26-june-2014/3112

For mac: https://community.spark.io/t/tutorial-spark-cli-on-mac-osx-20-june-2014/5225

For Ubuntu: https://community.spark.io/t/how-to-install-spark-cli-on-ubuntu-12-04/3474

What can you do with :spark:-CLI?

  1. Write complicated/multiple-library code without worrying about local compile. Simply write and send to the cloud for compilation

  2. Monitor Spark events, check on your list of cores & flash defaults apps like tinker, voodoospark

  3. Use DFU-util without having to remember all the long commands

  4. TRY IT! :smiley:

The official repo is here: https://github.com/spark/spark-cli


That’s all i have for the updates and will be back when i have screenshots for all the above mentioned.

@Teke, do feel free to edit and Pin this once you have gone through the content :wink:

11 Likes

Exciting developments! Thanks for reposting the link to the spark CLI - I’ve been wanting to try it but couldn’t find the repo!

2 Likes

Keep up these awesome updates, they’re informative, keep people engaged, and are a nice way to let the community know what’s going on at Spark HQ.
Looking towards to the updates mentioned above!

4 Likes

Can you explain what kind of updates is there

There have been some issues with the cc3000 firmware, which have caused quite some problems. Spark has been bugging TI because of this, as well as working together to find a viable fix. Hopefully this fix will solve all the existing problems (e.g. connection instability).
The problem is that it’s not Sparks code that has to be updated, but the firmware on the cc3000 chip. Spark has been trying to find a way to make this process as easy as possible. Currently there’s a patch that can be applied through the CLI, which can be to hard for new people. They’ve therefor been working on a way of updating through the web IDE which would make it dead simple to upgrade.

Correct me if I’m wrong, but I think that pretty much sums it up. Hopefully that somehow answers your question.

4 Likes

Can you lead us to the patch for whom who has CLI up and running ?

Sure, it’s mentioned on the github at the CLI page (amongst other places I believe).
Link for convenience:

Look for the “deep update”, somewhere at the top.

This is not the ‘final’ fix as mentioned above though. But it could still be beneficiary to install it.

Please specify a firmware file to flash locally to your core

Seens the file is not available yet . read it on another thread in this forum , so for whom trying to update dont try now and wait the release . instruction are there but no file (lack of test and full fix)

Just wanted to chime in to say that the switch for deep-update has not been flipped on but good to try out Spark-cli as mentioned by @Moors7 :wink:

I won’t recommend doing any flashing with regards to deep update at this point in time

2 Likes

Just some updates on this:

1.) Deep update WEB IDE stuff is more or less done up

We are short of the final .bin file which can be flashed locally until the OTA issue is resolved.

2.) Local :cloud:

I have managed to get it at least install-able and able to at least handshake with the core after a long night

For people who wants to be ready the moment Local :cloud: code is available, you need:

  1. Node.js

  2. OpenSSL

  3. Dfu-util

  4. Spark-CLI

  5. Github command-line

For windows user, i will come back again with more updates. There are many dependencies compared to Mac OSx and Linux but i’m on it at this very moment as we speak :wink:

1 Like

Hi @kennethlimcp, does this deep update include the mutex/changes to the IRQ blocking that @mdma and @AndyW were talking about in the bug bounty thread to address the hit-and-miss nature of OTA flashing?

It will have the fix in order for the OTA to work reliably. Let’s see their progress :slight_smile:

I’m more on the Spark-cli side to patching but it’s better we get the OTA running which is much easier for everyone!

Hey guys!

1. Local :cloud:

The source code required for you to run the Local :cloud: is already available here:

  1. https://github.com/spark/spark-server

  2. https://github.com/spark/spark-protocol

1st time usage instructions for Local :cloud: is here: https://community.spark.io/t/tutorial-local-cloud-1st-time-instructions/5589/4

I’m not sure when the official update is coming from :spark: HQ but you can already run your own cloud with the basic functions running :smile:

NOTE: For windows user, the installation is not straightforward and i have a tutorial which works for up to…Windows 7 64bit. Windows 8.0/8.1 needs a little more workaround but still do-able.

If you are a Windows user interested to install on your Windows machine, @ping me or @peekay123. We will see how we can release the install tutorial and let you guys enjoy it too :smile:

2. Deep-update

the 1st test of OTA flashing via Web IDE has been done :spark: Elites and it works :thumbsup:.

We are left with fixing of unreliable OTA flash and the final version of deep_update.bin

I will check with @jgoggins again and see if we can push the .bin file to Spark-CLI for update over flash.

That can help more people have reliable connections instead of waiting for the OTA issue to be fix :wink:

Cheers!
ken

2 Likes

@kennethlimcp, I managed to install on Windows 7 32-bit machine following your instructions (https://community.spark.io/t/tutorial-local-cloud-1st-time-instructions/5589). Only thing I found is that we need to install either .NET Framework 3.5 or above or Visual Studio. It is for installing the Local :cloud: dependency ursa (https://github.com/Medium/ursa). Other than this, I didn’t find any issue, I just followed your instructions from above link.

After the setup is done, I can see my core is online.

1 Like

Hey @kennethlimcp , just had a conversation with @Dave about this, we’re thinking it’ll be late next week at the earliest when we’ll have the OTA fix merged in and deployed + a new deep_update.bin cut and integrated into CLI, fyi.

Given the delay and the need for users to apply the cc3000 patch a bit more easily, I did update the documentation for applying this patch via the CLI–if you have any ideas for doc improvements, please issue a pull request.

Thanks!

-joe

4 Likes

Just watching you guys work on this snagging issue of OTA reliability is great. Can’t wait to see what Spark looks like in 2 months time.

3 Likes

Thanks @NanoAkron! Helps to have a great community of people like yourself who are jumping in!

1 Like