Giter Site home page Giter Site logo

Comments (5)

stevemarple avatar stevemarple commented on May 29, 2024

Can you provide any information about what you mean by "broke"? Permanently? It required a power cycle? What board and microcontroller were you using?

from softwire.

John-WL avatar John-WL commented on May 29, 2024

This is the board. It's an arduino micro R3.

IMG_20210826_175049.jpg

What I mean by "broken" is that the board is no longer programmable using the arduino software, because the board cannot be recognized by windows.

In my pc's device manager, the board is no logner recognized. I will post a screenshot of this later.

Is it possible to mess with the bootloader using this library? I would be surprised if that was the case, but I'm asking anyway...

Else, do you think this could be related to how the serial communication is handled in the library?

By the way, I don't think I will be using this board again in the future, so it's not really problematic for me. I think it could be for other people, though.

from softwire.

John-WL avatar John-WL commented on May 29, 2024

Here is what my device manager looks like:

2021-08-26 18_10_37-

What's more, I can easily program other arduino boards, so the problem is probably not with the instalation of arduino or with the windows drivers on my computer.

from softwire.

stevemarple avatar stevemarple commented on May 29, 2024

The bootloader should be protected so that user code cannot mess with it. AVRs have protection for this. If bad user code can mess with the bootloader the error is with fuses not being set correctly.

Since at least 2018-06-02 setClock() has had limits to keep the clock period >= 2 µs and 510 µs (ie clock frequency must be in range 1960 Hz to 500 kHz).

I cannot see how the error is due to the SoftWire library.

from softwire.

John-WL avatar John-WL commented on May 29, 2024

Very interesting.
The issue must be something else on my side, then.
I cannot see how it can be something else, but that's my own problem :p
Thanks for the update

from softwire.

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.