Giter Club home page Giter Club logo

Comments (7)

loathingKernel avatar loathingKernel commented on July 23, 2024

What I think that will fix your issue is downloading the AVR toolchain from here http://www.atmel.com/tools/ATMELAVRTOOLCHAINFORWINDOWS.aspx. I have never compiled an AVR program on Windows so I cannot warn you about any potential issues you might encounter with the process.

Other than that, I am interested in seeing your fixes, which is gladly welcomed.

from ariadne-bootloader.

andrebstv avatar andrebstv commented on July 23, 2024

I solved the compiling issue. Apparently you need to compile the target atmega328 to generate some .o files that are used when compiling the atmega2560 target and the debug2560 target.

Its a bug on the makefile. I wont try to fix that. I might break something... my makefileism`s skill are not good.

I will do some more testing with the modded bootloader, that includes the wdt, and if successful post the fixes.

from ariadne-bootloader.

andrebstv avatar andrebstv commented on July 23, 2024

Correction: it's actually a difference on the pgmspace.h from the winavr toolchain vs the atmel toolchain.
The make file is correct.

from ariadne-bootloader.

andrebstv avatar andrebstv commented on July 23, 2024

Created the pull request. Still sometimes the signature seems to be corrupted and the bootloader doesn`t start the application.... a fresh upload solves this. Main thing is that the board is no longer hangable.

from ariadne-bootloader.

andrebstv avatar andrebstv commented on July 23, 2024

The problem was fixed, but still everytime the application resets it hangs on the bootloader. Never allowing the user app to run. I even tried to enforce the eeprom signature write on the user app, to trick the bootloader but no avail.

A fresh upload, that is a firmware "update", fixes the problem...Probably deactivating the eeprom signature check fixes it... but that seems a bit like a cludge.

Help please?

from ariadne-bootloader.

loathingKernel avatar loathingKernel commented on July 23, 2024

Can you give me more information? Have you tried increasing the WDT timer to give more time for the bootloader to load?

Edit: Nevermind my suggestion, just noticed that you set it to 8 seconds.

from ariadne-bootloader.

loathingKernel avatar loathingKernel commented on July 23, 2024

This issue was moved to loathingKernel#5

from ariadne-bootloader.

Related Issues (20)

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.