Skip to content

Arduino not generating hex files with bootloader #1131

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

Closed
ruggedvideo opened this issue Jan 12, 2021 · 4 comments
Closed

Arduino not generating hex files with bootloader #1131

ruggedvideo opened this issue Jan 12, 2021 · 4 comments
Assignees

Comments

@ruggedvideo
Copy link

ruggedvideo commented Jan 12, 2021

Bug Report

This is similar to the issue in #1107

Current behavior

We have a basic project in Arduino IDE using ATTiny13. For the first batch of boards, we programmed in-circuit using the Sparkfun AVR Pocket Programmer. First we burn the bootloader, then we upload the sketch.

Now, we are trying to export a hex file with bootloader, so we can have chips pre-programmed at the Microchip factory. When we use the Export compiled Binary option, we expected two hex files to be generated, one "with bootloader" and one without; however, only one hex file is created, presumably without bootloader because the filename does not include the text "bootloader".

One difference between this and the issue described in #1107 is that our sketch size is only 266 bytes. We're not sure if we are doing something wrong or if this is a bug, but after some web searching it seems like probably a bug.

image

Below is the debug output from the Export operation.

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Seth\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Seth\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Seth\Documents\Arduino\libraries -fqbn=MicroCore:avr:attiny13:clock=9M6,BOD=2v7,lto=Os_flto -ide-version=10809 -build-path C:\Users\Seth\AppData\Local\Temp\arduino_build_167138 -warnings=none -build-cache C:\Users\Seth\AppData\Local\Temp\arduino_cache_526188 -prefs=build.warn_data_percentage=75 -verbose C:\Users\Seth\Downloads\RV-10222S_RevA\RV-10222S_RevA.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Seth\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Seth\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Seth\Documents\Arduino\libraries -fqbn=MicroCore:avr:attiny13:clock=9M6,BOD=2v7,lto=Os_flto -ide-version=10809 -build-path C:\Users\Seth\AppData\Local\Temp\arduino_build_167138 -warnings=none -build-cache C:\Users\Seth\AppData\Local\Temp\arduino_cache_526188 -prefs=build.warn_data_percentage=75 -verbose C:\Users\Seth\Downloads\RV-10222S_RevA\RV-10222S_RevA.ino
Using board 'attiny13' from platform in folder: C:\Users\Seth\AppData\Local\Arduino15\packages\MicroCore\hardware\avr\1.0.4
Using core 'microcore' from platform in folder: C:\Users\Seth\AppData\Local\Arduino15\packages\MicroCore\hardware\avr\1.0.4
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\sketch\\RV-10222S_RevA.ino.cpp" -o nul -D COMPILER_LTO
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\sketch\\RV-10222S_RevA.ino.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\preproc\\ctags_target_for_gcc_minus_e.cpp" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\sketch\\RV-10222S_RevA.ino.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\sketch\\RV-10222S_RevA.ino.cpp.o" -D COMPILER_LTO
Compiling libraries...
Compiling core...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\millis.S" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\millis.S.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\WInterrupts.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\WInterrupts.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\wiring.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\wiring_digital.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_digital.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\wiring_pulse.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_pulse.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\wiring_analog.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_analog.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\wiring_pwm.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_pwm.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\wiring_shift.c" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_shift.c.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\Print.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\Print.cpp.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\Tone.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\Tone.cpp.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\WString.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\WString.cpp.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\WMath.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\WMath.cpp.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny13a -DF_CPU=9600000L -DARDUINO=10809 -DARDUINO_attiny -DARDUINO_ARCH_AVR -Wextra -flto -g "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore" "-IC:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\variants\\attiny13" "C:\\Users\\Seth\\AppData\\Local\\Arduino15\\packages\\MicroCore\\hardware\\avr\\1.0.4\\cores\\microcore\\main.cpp" -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\main.cpp.o" -D COMPILER_LTO
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\Print.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\Tone.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\WInterrupts.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\WMath.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\WString.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\main.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\millis.S.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_analog.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_digital.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_pulse.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_pwm.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\core.a" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\core\\wiring_shift.c.o"
Archiving built core (caching) in: C:\Users\Seth\AppData\Local\Temp\arduino_cache_526188\core\core_MicroCore_avr_attiny13_clock_9M6,BOD_2v7,lto_Os_flto_af9398409f542dc9ffe55672341d19a0.a
Linking everything together...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=attiny13a -w -flto -g -o "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/RV-10222S_RevA.ino.elf" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138\\sketch\\RV-10222S_RevA.ino.cpp.o" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/core\\core.a" "-LC:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138" -lm
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/RV-10222S_RevA.ino.elf" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/RV-10222S_RevA.ino.eep"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/RV-10222S_RevA.ino.elf" "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/RV-10222S_RevA.ino.hex"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\Seth\\AppData\\Local\\Temp\\arduino_build_167138/RV-10222S_RevA.ino.elf"
Sketch uses 266 bytes (25%) of program storage space. Maximum is 1024 bytes.
Global variables use 9 bytes (14%) of dynamic memory, leaving 55 bytes for local variables. Maximum is 64 bytes.

Operating system

Windows

@rsora
Copy link
Contributor

rsora commented Jan 12, 2021

Hi @ruggedvideo,

Can you please paste here the complete arduino-cli command (or commands) that you are using?

Thanks for reaching out!

@ruggedvideo
Copy link
Author

ruggedvideo commented Jan 12, 2021 via email

@per1234
Copy link
Contributor

per1234 commented Jan 12, 2021

Due to the limited memory of the ATtiny13, MicroCore does not use a bootloader. The reason you still might do a Tools > Burn Bootloader when using MicroCore is because it sets the configuration fuses on the ATtiny13 according to the custom Tools menu selections (BOD, EEPROM, Clock). You can see here that the bootloader command doesn't actually flash anything to the chip:
https://github.com/MCUdude/MicroCore/blob/master/avr/platform.txt#L142

So don't worry about the lack of the *_bootloader.hex file. Just provide the manufacturer with the normal .hex file and make sure to tell them which fuse settings you require.

@per1234 per1234 closed this as completed Jan 12, 2021
@ruggedvideo
Copy link
Author

ruggedvideo commented Jan 12, 2021 via email

@rsora rsora reopened this May 11, 2021
@per1234 per1234 self-assigned this Oct 14, 2023
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

4 participants