Just did a quick test and cloud service is working fine. Since you can run “Hello World,” your imp is connected. Do you see “Hello World” on the imp in the Planner? Can you eject and reinsert the card and see if this does or does not happen?
Am I missing something then? Here’s the planner and the code…
I don’t see hellow world displayed in the planner, isn’t that where I should see it?
Also, also tried the showinput example,but when i clicked on the run button, it just spun and nothing seemed to happen either (the play button in the code window)
i did that on purpose to see if would generate an error. it did not. i got a 2nd one in the mail from sparkfun, and that one seems to work fine. the one that i was shipped from you guys either doesnt work right, or there is a major lag in updates - i changes show input to show inputz and it took effect between yesterday and today but it was from responsive.
So one of your imps is on an old sw version (the one whose mac address doesn’t end in 24); despite it having an upgrade queued it doesn’t seem to have taken it.
You don’t generally have to plug/replug to get it to load new sw, unless the code it’s running is not servicing incoming events. If you’re using long imp.sleeps, or infinite loops in your code you’ll see this - you should be using things like imp.wakeup to perform periodic tasks as they will process events when idle.
Is the one with the old sw version defective? Is there some way to force the upgrade? I assume the lack of the upgrade is what is preventing it from taking new code?
I made a shot video (unlisted) and put it on youtube to demonstrate the issues I am having. At this point, the devices are useless to me unless I can do remote code updates without having to eject and reinsert the cards…
Am I doing something wrong or do I have defective units?
youtube didn’t seem to like my codec, but it seems usable enough; let me know if you want me to re-upload… essentially, neither cards work correctly (don’t accept new code) consistently unless they are ejected and reinserted…
Did you try re-inserting the Imp after you made code changes? For me sometimes, when i change code, I remove imp and re-insert into impee (april) and it works fine.
I seem to be having the same problem with two Imps purchased through SparkFun - both seem to work fine except they need to be removed from and re-inserted into SparkFun’s Imp breakout board in order for them to take code updates (I’m basing this assumption on the fact that Imp’s output to the planner on code changes doesn’t happen until the Imp’s re-inserted). Any word on a fix for this?
We’ve had reports that switching code files has issues, but updating code and pressing the “play” button in the editor works fine (and this appears to be the case for me).
Thanks Hugo. The Play button does work, but under very limited circumstances - if you make an edit to firmware that’s already running on the device, Play works. Switching firmware using the planner doesn’t update the device, nor does using Play to push subsequent edits of the new firmware.
It would seem that the only way I can get new firmware on the device is to power-cycle. From there, the Play button works as long as I don’t switch firmware again.
Please let me know if there’s anything I can do from my end to help.
Edit: For fun I’ve been copying code around - the content doesn’t seem to be the deciding factor. Again it would seem as though the mechanism for switching firmware is broken somewhere.
I just power-cycled my imp and it powered up to temperature sensor. I then changed to hello world in the planner and it stayed on Temperature sensor. Edit hello world ant hit run and still have temperature sensor. Unfortunately not fixed for me.