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

Need ESC frimware to work on 328P instead of 8A #51

Closed
Sp1k3 opened this issue Jun 29, 2014 · 3 comments
Closed

Need ESC frimware to work on 328P instead of 8A #51

Sp1k3 opened this issue Jun 29, 2014 · 3 comments

Comments

@Sp1k3
Copy link

Sp1k3 commented Jun 29, 2014

Hi Simon,
I'm building my own esc, and I tried loading the frimware on a board I have with a 328P instead of 8A. I noticed that the pinout is identical so I thought that if i upload the firmware to the 328P and set the right fuses then it should work. But it doesnt show signs of life.
(avrdude -c usbasp -p m328p -B100 -b9600 -U lfuse:w:0xff:m -U hfuse:w:0xdc:m -U efuse:w:0xfd:m
avrdude -p m328p -P usb -c usbasp -B 8 -e -U flash:w:C:\Download\flash\tmp\tgy-master\rct50a.hex:i
Of course I can change back to an atmega 8A, but before i do it, I was wondering why this doesnt work, and if it is little effort would it be possible to make a rct50a.hex for this?

@owenduffy
Copy link

There is more to it than pin compatibility... check the interrupt vector.

Owen

@Sp1k3
Copy link
Author

Sp1k3 commented Jun 30, 2014

Yeah I thought so...
Ok I will change it to a 8A.
Thanks for the support

@Sp1k3
Copy link
Author

Sp1k3 commented Jul 2, 2014

OK replaced it with atemga 8A and now it works like a charm.
You can close this issue.

@Sp1k3 Sp1k3 closed this as completed Jul 2, 2014
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

2 participants