Comments (10)
I do not have any hardware to test this feature. I believe this fix will work properly.
from mycontroller-v1-legacy.
My nodes are LowPowerLab Moteinos with DualOptiboot loaded. The alpah5 controller will now send firmware to the node which it wouldn't do before. However the boot loader does not install that new firmware on reboot, so I'm thinking that the "magic" signature was not written at the beginning. according to Felix's git pages for the boot loader, it checks for a new sketch flash image signature and size starting at address 0: FLXIMG:9999:XXXXXXXXXXX where: - 'FLXIMG' is fixed signature indicating FLASH chip contains a valid new flash image to be burned - '9999' are 4 size bytes indicating how long the new flash image is (how many bytes to read) - 'XXXXXX' are the de-hexified bytes of the flash pages to be burned - ':' colons have fixed positions (delimiters)
from mycontroller-v1-legacy.
@TheCranston Thank you to test this feature and analysis! I believe MySensors should handle image signatures(code). Nothing to do from MyController. As per my understanding, once firmware download done from MyController if our node reboots automatically definitely signature has been written
from mycontroller-v1-legacy.
I think I understand what you are saying, MyController just submits the .hex file for upload to the node and the underlying MySensors library handles it. Got it. I'm not a java programmer, so I'm a little at a loss for debugging. Thanks for the link to the code, that shows it clearly. My process was to install a new firmware into MyController and then go to node list and click on firmware upload. I can see the serial traffic via the LEDs. It didn't appear to reboot after the upload, so I manually rebooted the node. My understanding is that the reboot would trigger the DualOptiboot firmware flash process. no such luck. I'm on 1.5 API of MySensors library. A few more attempts and the same result... I'll take this over to MySensors as it appears the issue is either mine or the library. :) MyController is really sweet! Thanks for this great work.
from mycontroller-v1-legacy.
@TheCranston Thank you for your effort on this. As I do not have hardware to test this feature I'm unable to help you to resolve this issue. I'm sorry. Let me get this hardware soon and try to fix this issue (if issue with MyController side) on 0.0.2-alpha6 build.
I really appreciate your valuable time!!
from mycontroller-v1-legacy.
@TheCranston / Jeeva - I'm in the same situation.
however using MYScontroller this works fine.
so it can't be the mysensors library at fault.
I think there is an app that is "like" wireshark, that you can watch the
packets,
perhaps i'll look into that and see if i can't figure out what is going on.
On Wed, Oct 28, 2015 at 1:01 PM, Jeeva Kandasamy [email protected]
wrote:
@TheCranston https://github.com/TheCranston Thank you for your effort
on this. As I do not have hardware to test this feature I'm unable to help
you to resolve this issue. I'm sorry. Let me get this hardware soon and try
to fix this issue (if issue with MyController side) on 0.0.2-alpha6 build.I really appreciate your valuable time!!
—
Reply to this email directly or view it on GitHub
#25 (comment)
.
from mycontroller-v1-legacy.
@ghvader Thank you!! Let me debug MyController to find out issue.
from mycontroller-v1-legacy.
@ghvader / @jkandasa
I found the issue.. At least for my script. I was using the watchdog timer directly and that was causing the reboot after firmware load to fail. I took out my watchdog code in the script and everything now works correctly. I'm not sure what the interaction was that caused the failure, but at least now I can do OTA updates of the code on my nodes.
from mycontroller-v1-legacy.
@TheCranston OTA updates working good with DualOptiboot-bootloader
+ MyController?
from mycontroller-v1-legacy.
@jkandasa It sure is. my sketch was directly using the watchdog which was causing it to fail. I removed my watchdog code and everything started to work correctly.
from mycontroller-v1-legacy.
Related Issues (20)
- [Enhancement] Possible to install or upgrade MyController via apt package manager? HOT 1
- Adding lightlevel (lux) unit
- Adding notification on ack failure
- com.sun.management.internal.GarbageCollectorExtImpl.getLastGcInfo() inaccessible. module jdk.management does not "exports com.sun.management.internal" to unnamed module @28701274
- Google Analytics disable still tries to load analytics HOT 2
- Adding units for water volume and flow
- Set sensorvariable value on server only (without transmit)
- New operation to add support for pushover HOT 1
- onetime reset file execution on startup
- sendRawMessage REST API call for smart sleep nodes HOT 2
- hybrid sleep HOT 3
- My sensors Names disappering every time HOT 3
- New metric unit
- start.sh fails for Java versions != 1.8 HOT 3
- Folder creation issues should be FATAL
- RFlink WINDIR message generate a Java NumberFormatException: Infinite or NaN
- GPS Sensor values not formatted correctly.
- Adding "timeout" on sensor variables or nodes
- Remove default limit on dropdown list size HOT 1
- Ethernet driver is going down in case of NumberFormatException HOT 2
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 mycontroller-v1-legacy.