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

ATMega8L bootloader not working with Internal RC 8 and 4 MHz #256

Open
VitinLima opened this issue May 16, 2023 · 1 comment
Open

ATMega8L bootloader not working with Internal RC 8 and 4 MHz #256

VitinLima opened this issue May 16, 2023 · 1 comment

Comments

@VitinLima
Copy link

VitinLima commented May 16, 2023

When burning the bootloader in the ATMega8L for uploading code with Serial USART, it works fine with External crystal 16MHz, and works fine with Internal RC with 1MHz and 2MHz, but when uploading a simple Blink code with Internal RC 8MHz and 4MHz, the arduino IDE gave me an error

avrdude: Version 7.1-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

     System wide configuration file is ~\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.2.2\avrdude.conf

     Using Port                    : COM5
     Using Programmer              : arduino
     Overriding Baud Rate          : 38400

avrdude stk500_getsync() error: cannot communicate with device: resp=0xfc
avrdude main() error: unable to open programmer arduino on port COM5

avrdude done. Thank you.

the selected serial port
does not exist or your board is not connected

I really cant find whats wrong, the connections are the same and it works with other configurations, I wanted to use internal RC for having more IO pins, and 8MHz because timing is important in my applications...
Please help? If you need more info I'll gladly supply
Thanks in advance

@TomaszKilianczyk
Copy link

unfortunately, the internal rc has too little accuracy to be able to communicate properly, therefore in these microcontrollers it is required to use an external rc for communication serial port the best cristal is 11.0592 for good communication

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