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

Very confused about manual instalation #33

Open
fg1998 opened this issue Feb 5, 2020 · 0 comments
Open

Very confused about manual instalation #33

fg1998 opened this issue Feb 5, 2020 · 0 comments

Comments

@fg1998
Copy link

fg1998 commented Feb 5, 2020

Well, sorry about this question, but I´m realy stucked.

I´m trying to manual installation (after a successful Arduino IDE install). Manual installation necessary cause I´m trying to customize the bootloader for arduboy.

I´m using Arduino Pro Micro 32u4

Here is my makefile ...

MCU_TARGET = atmega32u4
BOOT_ADR = 0x3800
F_CPU = 16000000
SD_CS_PORT = PORTB # Data Register of the SD CS pin
SD_CS_DDR = DDRB # Data Direction Register of the SD CS pin
SD_CS_BIT = 3 # Bit of the SD CS pin
USE_LED = 0 # Debug with two (defined in asmfunc.S)
USE_UART = 0 # Debug on Serial. 0 ...

I have a lot of doubts here, so :

BOOT_ADDR - Using http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega32u4&LOW=42&HIGH=99&EXTENDED=FF&LOCKBIT=FF

SD_CS - My CS port is 10, so after reading
https://www.arduino.cc/en/Reference/PortManipulation
I supposed the correct config for makefile is the values describe before

FUSES: I dont know what is that, sorry. Use default values for HIGH
-U hfuse:w:0x99:m

Avrdude works OK with premade images from https://zevero.github.io/avr_boot/package_zevero_avr_boot_index.json

Any help is appreciated

Thanks

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

1 participant