Git Product home page Git Product logo

Comments (9)

ZakKemble avatar ZakKemble commented on August 16, 2024 2

Your English is fine :) Put a link back to this issue so they can see what's been happening. Title it something like "Fuses sometimes fail to write"

from avrdudess.

DirtyEngineer avatar DirtyEngineer commented on August 16, 2024

I've noticed you have added an addition command line argument of -B0.5 (bit clock at 1500000 hrz) which is too fast to program chips with the stock clock settings. This will override your default setting and cause issues.

from avrdudess.

7918514 avatar 7918514 commented on August 16, 2024

It does not help. I remove this setting and set the frequency to 187.5kHz. Error again.

And I still don’t understand why the default frequency is 375kHz? At this frequency, the microcontroller will not be programmed with factory settings (internal quartz).

Therefore, I use the firmware for usbasp with automatic frequency detection.
https://github.com/dioannidis/usbasp

This error occurs on any usbasp firmware.

from avrdudess.

ZakKemble avatar ZakKemble commented on August 16, 2024

375KHz is the default frequncy that AVRDUDE uses (or maybe it's the default of USBasp, I'm not sure) if no -B option is supplied.

As for your problem, try enabling verbosity in the Options panel. That might help tell you what's going on.

from avrdudess.

7918514 avatar 7918514 commented on August 16, 2024

I don't know what to watch. Tests have shown that there is no error with verbosity 4. I am attaching the files.

verbosity_1_error.txt
verbosity_2_error.txt
verbosity_3_error.txt
verbosity_4_NOerror.txt

Question about settings manager. All settings are saved. Problem with "bitclock" setting. It is saved in the presets.xml file. But when selecting a saved preset, "bitclock" is not set.

from avrdudess.

ZakKemble avatar ZakKemble commented on August 16, 2024

Hmm, it could be a timing thing. Verbosity 4 might be slowing avrdude down enough that it just about works. Does it work without verbosity and a very slow clock?

Can confirm the bit clock restore problem, I've made an issue here #68

from avrdudess.

7918514 avatar 7918514 commented on August 16, 2024

There are no errors at 93750 Hz.

from avrdudess.

ZakKemble avatar ZakKemble commented on August 16, 2024

Ok, it's a timing thing with AVRDUDE. I think it would be best to make an issue over at https://github.com/avrdudes/avrdude

from avrdudess.

7918514 avatar 7918514 commented on August 16, 2024

Can you ask a question there? And my English is bad. And I don't know many terms/names.

from avrdudess.

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.