Comments (9)
Which version of MiniCore have you installed, and have you installed it using the boards manager?
I've just released v3.0.0, which replaces Optiboot in favor of the superior Urboot bootloader.
from minicore.
Oops, forgot to mention the most important thing! I am using MiniCore v3.0.0 @MCUdude
from minicore.
I am using MiniCore v3.0.0
Thanks! Did you install the bootloader on the UNO using MiniCore v3.0.0, or did it already have a bootloader (likely Optiboot)?
from minicore.
@MCUdude
I have never had any custom bootloader before. MiniCore v3.0.0 was the first custom bootloader that I've installed
I have also tried reverting to the original bootloader (to test if ArduinoISP works - it does), and then flashing MiniCore v3.0.0 again (and ArduinoISP broke)
from minicore.
My time is quite limited, but I'll have a closer look at the issue within a few days.
Maybe @stefanrueger (who created the Urboot bootloader) knows why the Urboot bootloader breaks Arduino as ISP?
from minicore.
Urboot bootloaders need
avrdude -c urclock
for programming, which is only available from AVRDUDE v7.0. (v6.3 does not work)- Potentially different fuse settings than optiboot
So, try to figure out which urboot bootloader you have and see whether the fuse settings are correct
from minicore.
@MCUdude what are the flags used for urboot
in MiniCore?
from minicore.
I'll compare the fuse settings between stock bootloader and MiniCore and will get back with results
Btw I don't have issues uploading the sketches with -c arduino
with avrdude 6.3, which makes me believe that s
flag is set for compatibility
from minicore.
what are the flags used for urboot in MiniCore?
the Urboot bootloader is built with these flags/features:
avrdude -c urclock -P /dev/cu.usbmodem14101 -p atmega328p -x showversion
avrdude: AVR device initialized and ready to accept instructions
u7.7 weu-jPrac
I'm not able to reproduce the issue you're seeing though.
I uploaded the ArduinoISP sketch available under File > Examples > 11. ArduinoISP
to a genuine Arduino UNO running Urboot. I wired up the UNO to a target board, in my case an Atmega1284P, and connected a capacitor between GND and the RESET pin on the UNO. No issues here...
/Users/hans/Library/Arduino15/packages/MightyCore/tools/avrdude/7.2-arduino.1/bin/avrdude -C/Users/hans/Library/Arduino15/packages/MightyCore/hardware/avr/3.0.0/avrdude.conf -v -patmega1284p -cstk500v1 -P/dev/cu.usbmodem14101 -b19200 -Ueeprom:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.eep:i -Uflash:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.hex:i
avrdude: Version 7.2-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is /Users/hans/Library/Arduino15/packages/MightyCore/hardware/avr/3.0.0/avrdude.conf
User configuration file is /Users/hans/.avrduderc
Using Port : /dev/cu.usbmodem14101
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : possible i/o
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 128 0 no 4096 8 0 9000 9000 0xff 0xff
flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9705 (probably m1284p)
avrdude: Note: flash memory has been specified, an erase cycle will be performed.
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: processing -U eeprom:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.eep:i
avrdude: reading input file /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.eep for eeprom
with 0 bytes in 0 sections within [0, -1]
using 0 pages and 0 pad bytes
avrdude: writing 0 bytes eeprom ...
Writing | ################################################## | 100% 0.00s
avrdude: 0 bytes of eeprom written
avrdude: verifying eeprom memory against /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.eep
Reading | ################################################## | 100% 0.00s
avrdude: 0 bytes of eeprom verified
avrdude: processing -U flash:w:/var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.hex:i
avrdude: reading input file /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.hex for flash
with 1012 bytes in 1 section within [0, 0x3f3]
using 4 pages and 12 pad bytes
avrdude: writing 1012 bytes flash ...
Writing | ################################################## | 100% 1.11s
avrdude: 1012 bytes of flash written
avrdude: verifying flash memory against /var/folders/6l/ypg6qbw172v1s4vtt6g990tw0000gn/T/arduino_build_652192/Blink.ino.hex
Reading | ################################################## | 100% 0.58s
avrdude: 1012 bytes of flash verified
avrdude done. Thank you.
from minicore.
Related Issues (20)
- Debug support HOT 5
- Atmega328 and IR sensor. HOT 2
- urboot bootloaders in MiniCore only for 1 frequency external crystal HOT 4
- Upload bootload for external 16mhz don't work with my usbasp programmer HOT 27
- ATMega328PB Analog Comparator Output pin PE0 HOT 5
- URBOOT timeout is too small for manual reset. HOT 2
- Unable to upload the program to the ATmega328PB at PlatformIO. HOT 6
- LTO problems HOT 2
- Programming question with Minicore HOT 3
- ATmega328PB-AU - signature mismatch HOT 5
- uP_table does not know mcuid 1753 HOT 6
- Upload error: cannot set com-state on COM port and unable to open programmer error HOT 13
- Ch340 upload problem HOT 2
- Problems with atmega 328pb and minicore? HOT 1
- atmega328pb wrong fuse settings? HOT 39
- No separate SPDR0 SPDR1 for the ATMega328PB? HOT 2
- avrdude urclock_res_check() error: HOT 9
- Clock options for ATMega328P are ambiguous HOT 1
- Not able to burn bootloader to Atmega88PB HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minicore.