-
Notifications
You must be signed in to change notification settings - Fork 39
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
Changing CS to Pin 14 #28
Comments
By "Pin 14", do you mean the Arduino pin number (as you would use with If the latter, what is the IC package of your ATmega328P? |
So I am using a 3,3v Pro Mini. |
OK. That's the information I needed. avr_boot doesn't use Arduino pin numbers to define the CS pin. It uses the PORT/BIT number. So the first thing is to determine the pin mapping of Arduino pin 14 on the Pro Mini. From this handy chart: we can see that Arduino pin 14 is PC0 (PORTC, BIT 0). You can define the CS pin port and bit either by editing lines 9-11 of the Makefile or via the
|
Wow! Thank you so much.. |
Hi for my project I have the CS Line wired to Pin 14 for the SD Card. I'm a bit of a newbie here to changing bootloaders. Can some one give me a clue to exactly what needs changing to make this work. The CPU is a 328p 3,3v Device.
Thanks!
The text was updated successfully, but these errors were encountered: