-
Notifications
You must be signed in to change notification settings - Fork 238
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
Syntax Error #292
Comments
It would help if you shared the actual Avrdude output. Which version of MiniCore do you currently have installed? |
Right now i don't have access to my work pc. I will share it tomorrow. (It's night time in my country) |
I've just hit the same problem trying to upload code to pre bootflashed 328 Here's the verbose uploaded output Arduino: 1.8.19 (Windows 10), Board: "ATmega328, Yes (UART0), EEPROM retained, Default, 328P / 328PA, BOD 2.7V, LTO disabled, Internal 8 MHz" Sketch uses 15180 bytes (46%) of program storage space. Maximum is 32384 bytes. Global variables use 65 bytes (3%) of dynamic memory, leaving 1983 bytes for local variables. Maximum is 2048 bytes. C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Users\Mike\Documents\Arduino\hardware\MiniCore\avr/avrdude.conf -v -patmega328p -curclock -PCOM1 -b38400 -D -xnometadata -Ueeprom:w:C:\Users\Mike\AppData\Local\Temp\arduino_build_208537/HC4x4x4_Animation.ino.eep:i -Uflash:w:C:\Users\Mike\AppData\Local\Temp\arduino_build_208537/HC4x4x4_Animation.ino.hex:i An error occurred while uploading the sketch avrdude: Version 6.3-20190619
avrdude: error at C:\Users\Mike\Documents\Arduino\hardware\MiniCore\avr/avrdude.conf:421: syntax error avrdude: error reading system wide configuration file "C:\Users\Mike\Documents\Arduino\hardware\MiniCore\avr/avrdude.conf" |
You need to install the lastest Minicore version from the boards manager. That will also install Avrdude 7.2, which is required. |
Thanks for the prompt response.
I had manually installed from the zip.
Mike
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Hans ***@***.***>
Sent: Wednesday, April 17, 2024 5:29:37 PM
To: MCUdude/MiniCore ***@***.***>
Cc: mewec ***@***.***>; Comment ***@***.***>
Subject: Re: [MCUdude/MiniCore] Syntax Error (Issue #292)
You need to install the lastest Minicore version from the boards manager. That will also install Avrdude 7.2, which is required.
—
Reply to this email directly, view it on GitHub<#292 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BH4VTNP6FWRAF3RXSBOVD2DY52PPDAVCNFSM6AAAAABFBSJQKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRG4YTKNRRGM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi guys! avrdude: Version 6.3-20190619
avrdude: error at C:\Users\parshikovsv\Documents\Arduino\hardware\MiniCore-3.0.1\avr/avrdude.conf:421: syntax error |
Remove the manually installed MiniCore version and install the whole thing though the boards manager instead. The problem is that the Avrdude version that's bundled with the IDE is too old to parse the Avrdude.conf file that MiniCore uses. |
Thanks for the quick response! |
You'll either have to manually replace the Avrdude executable with 7.2, or download MiniCore v2.x instead, which uses Avrdude 6.3 |
Thank you very much for your answer! |
Download the latest v2.x version here (zip file), and install it manually, as described in the README. That should hopefully just work. |
I am trying to upload bootloader to new atmega328p-smd version but ide shows (in verbose output) syntax error in avrdude.conf file at line 421.
Another error is that the said file (avrdude.conf) can't be opened
I am using IDE version 1.8.19, windows 10 pro OS
P.S: previous core with optiboot bootloader also can't upload any code to new microcontroller now although i am able to upload code to any previously programmed microcontroller. This has happened before but at that time i tried to upload from another computer (windows 7) and it worked on other computer fine. Now i can't upload from any computer
The text was updated successfully, but these errors were encountered: