Comments (5)
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.
This is the board. It's an arduino micro R3.
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.
Here is what my device manager looks like:
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.
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.
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)
- Does not implement TwoWire HOT 1
- Problem with handling of timeout HOT 1
- configure SoftWire and set up buffer HOT 1
- setSclLow in the example and setSetSclLow in the include file. HOT 1
- I2C EEPROM example not working correctly (Wire functions used) HOT 1
- Better documentation of run-time setting sda and scl pins HOT 1
- Can't compile the SoftWire_MLX90614 example HOT 1
- Softwire and Heltec OLED HOT 1
- Adafruit_MLX90614 and MAX30102 Not working HOT 5
- Bug in DS1307 hour in case of 24h mode
- Bug in DS1307 hour in case of 24h mode HOT 1
- Restart condition is not issued HOT 5
- Information request HOT 1
- llStartWait() case nack needs to include break or return HOT 3
- Minimum SCL frequency HOT 5
- Not available on rp2040 (raspberry pie Pico).
- PCF8583 event counter not woking with SoftWire HOT 10
- AS3935 library vs SoftWire question HOT 4
- stm32duino support HOT 5
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 softwire.