Giter Club home page Giter Club logo

cdpbinutility's People

Contributors

evilgeniusnerd avatar

Stargazers

 avatar

Watchers

 avatar

cdpbinutility's Issues

.Bin Files are Corrupt

How to recreate this error:

  1. get CDP Bin Utility installed and running via instructions on the READMD
  2. generate some Bin files with unique ID's by running this ./ -c 2 -f <your_master_Ino>
  3. Now turn on your Duck device and navigate to <your IP/update> usually 192.168.1.1/update
  4. username and password are the credentials to update
  5. find the .bin file you want to update to and hit the upload button
  6. once you hit the upload button watch the duck device serial log you will see the following error

ERROR: [INF: DuckNet.cpp] Pause Radio and starting OTA update [LINK] sensor data: link samd:1 [INF: DuckPacket.cpp] prepareForSending: DATA LENGTH: 11 TOPIC: 16 [DBG: DuckPacket.cpp] SDuid: 5A69385861457957 [DBG: DuckPacket.cpp] DDuid: 0000000000000000 [DBG: DuckPacket.cpp] Muid: 5A6938586145795700000000000000003734304D [DBG: DuckPacket.cpp] Topic: 5A6938586145795700000000000000003734304D10 [DBG: DuckPacket.cpp] Offset: 5A6938586145795700000000000000003734304D1027 [DBG: DuckPacket.cpp] duck type: 5A6938586145795700000000000000003734304D102703 [DBG: DuckPacket.cpp] hop count: 5A6938586145795700000000000000003734304D10270300 [DBG: DuckPacket.cpp] Data CRC: 5A6938586145795700000000000000003734304D102703001127F61D [DBG: DuckPacket.cpp] Data: 5A6938586145795700000000000000003734304D102703001127F61D6C696E6B2073616D643A31 [DBG: DuckPacket.cpp] Path: 5A6938586145795700000000000000003734304D102703001127F61D6C696E6B2073616D643A315A69385861457957 [DBG: DuckPacket.cpp] Built packet: 5A6938586145795700000000000000003734304D102703001127F61D6C696E6B2073616D643A315A69385861457957 [INF: DuckRadio.cpp] TX data [DBG: DuckRadio.cpp] -> 5A6938586145795700000000000000003734304D102703001127F61D6C696E6B2073616D643A315A69385861457957 [DBG: DuckRadio.cpp] -> length: 47 Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed) Core 1 register dump: PC : 0x400d5d9c PS : 0x00060034 A0 : 0x40084774 A1 : 0x3ffbe7b0 A2 : 0x0000001a A3 : 0x3ffc287c A4 : 0x00000000 A5 : 0x04000000 A6 : 0x3ff42000 A7 : 0x700000bb A8 : 0x80080f80 A9 : 0xd0000070 A10 : 0x00000000 A11 : 0xb0000000 A12 : 0x00060023 A13 : 0x3ffbe790 A14 : 0x3ffbe7d8 A15 : 0x00000001 SAR : 0x00000016 EXCCAUSE: 0x00000007 EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0x00000000 Core 1 was running in ISR context: EPC1 : 0x40062235 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x400d5d9c Backtrace: 0x400d5d9c:0x3ffbe7b0 0x40084771:0x3ffbe7d0 0x40062232:0x3ffd9530 0x4009237b:0x3ffd9550 0x400923b2:0x3ffd9580 0x40092451:0x3ffd95b0 0x400928e6:0x3ffd95d0 0x40086dd1:0x3ffd95f0 0x40086e42:0x3ffd9610 0x400e4ded:0x3ffd9630 0x400da992:0x3ffd9650 0x400dab49:0x3ffd9670 0x400d23ea:0x3ffd9690 0x4015a7bb:0x3ffd9700 0x4015a6b2:0x3ffd9750 0x400dc835:0x3ffd9780 0x400ddf92:0x3ffd97f0 0x400de16d:0x3ffd9830 0x400e0391:0x3ffd9850 0x400e0411:0x3ffd9890 0x400e0a22:0x3ffd98b0 0x40088b7d:0x3ffd98e0

Notes:

  • The bin files seem to be getting corrupted by Arduino-CLI since it does compile differently than Arduino IDE

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.