Git Product home page Git Product logo

asksin_ota_bootloader's People

Contributors

jabdoa2 avatar kc-github avatar unimatrix27 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

asksin_ota_bootloader's Issues

firmware file format and compatibility with stock bootloader

Hi,
I have an unmodified sw1pbu and would like to modify the firmware using flash-ota. I'm able to flash an official firmware image without problems, however the device rejects any custom firmware created with hex2eq3.php
Looking at the stock firmware the format seems to be a list of [uint16 length][data][uint16 crc] where length is always a multiple of 16. The first block is 15-1716, then there are interleaved blocks 116 and 1716, and at the end a couple of blocks with 1716 length. as the SPM_PAGESIZE is 256 i assume that the 1716 blocks contain one page worth of data with a 16 byte header?, also the data does not seem to contain any valid atmel code. I assume it is encrypted? maybe the 16 byte header is an aes IV?
Please let me know if it should be possible to flash a custom eq3 file or if that only works after installing the custom bootloader, also, does the custom bootloader accept stock eq3 files?
Thanks,
Mo

Missing license

Hi,

your bootloader is currently missing any sort of license.
This makes it impossible to integrate your bootloader into any binary distribution of firmware binaries (for example to flash onto AskSin boards) because the bootloader is licensed as "All rights reserved" at the moment.

A license like MIT: https://choosealicense.com/licenses/mit/ would be ideal, because it allows the bootloader to be integrated in MIT and GPL licensed projects alike.

Licenses like the Creative Commons (used by the AskSin++ project itself) are unfavorable for software projects, because they don't apply to and protect compiled binaries.

Could you add an appropriate license agreement to your repo? (GitHub can help you, just add a new file called "LICENSE.md" via the web interface)

Thanks,
Tobias

Bootloader build problem

Building the bootloader on a Raspberry PI (latest wheezy image with GCC 4.6.3 as well as when updated to jessie with GCC 4.9 and avr-gcc 4.8.1) results in a bootloader with the following behavior:

  • after flashing bootloader.hex with avrdude, the device resets and jumps into bootloader; serial UART messages can be read
  • an OTA flash of a .eq3 firmware file with flash-ota from hmland works, and after receiving the firmware file, the device correctly enters the firmware; if compiled with #USE_SERIAL, UART messages can be read

But as soon as the device is disconnected from voltage, it becomes useless:
When switching on voltage, the config LED blinks once (usually signalling that it has jumped into the bootloader) but then nothing happens anymore... and no messages at all can be read via UART.

This happens when using an unmodified "git clone" version of the bootloader...
A ready-built bootloader from https://owncloud.isengard.at/public.php?service=files&t=0df535e31ad6999664f0e84c95bd2ea5 works just fine with the same firmware...

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.