Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVR flashing tool. Help needed #529

Open
luqasz opened this issue Dec 14, 2020 · 5 comments
Open

AVR flashing tool. Help needed #529

luqasz opened this issue Dec 14, 2020 · 5 comments

Comments

@luqasz
Copy link

luqasz commented Dec 14, 2020

Hi.

I've started working on some code for flashing / reading AVR atmega chips. As for now I got working reading flash from atmega32. atmega2560 seems to be a bit odd. I'd like to contribute to ecosystem as native rust flashing tool will be a good tool / library.

If any one has some time to help then please contact me either via repo issue or mail.

What I got working so far:

  • reading fuses
  • reading lock byte
  • reading signature
  • reading eeprom
@ryan-summers
Copy link

Have you checked out probe-rs yet? I know they target mainly ARM cores, but I think it would be well-worth checking out the work there and potentially contributing with them.

I would also highly recommend the Rust Embedded Matrix Channel for discussions like this

@luqasz
Copy link
Author

luqasz commented Dec 15, 2020

Ok. Thx. I will continue with matrix and probe-rs

@rursprung
Copy link

not sure if this issue is still relevant? avr-hal (which provides a HAL for the ATmega and a few other AVR chips) has a guide on flashing, it comes with its own tool, ravedude which internally uses avrdude. this does however mean, that it's (sadly) not integrated in probe-rs, so you still need that separate installation of the tool.

@luqasz
Copy link
Author

luqasz commented Jun 19, 2024

Hi.
I've developed a bit of code to flash, read/write duses into avr devices with stk500 programmer. https://crates.io/crates/avrisp Feel free to use it.
I'd like to develop it further but I have other duties now, so can't promise anything. You can hit me tough if you want some information on how things work.

@rursprung
Copy link

CC @Rahix (since you built ravedude & avr-hal), see above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants