"Build terminated Abnormally" - can't figure out why. March 20, 2016 04:00AM |
Registered: 7 years ago Posts: 9 |
Re: "Build terminated Abnormally" - can't figure out why. March 20, 2016 06:21AM |
Admin Registered: 12 years ago Posts: 6,786 |
Re: "Build terminated Abnormally" - can't figure out why. March 20, 2016 07:52AM |
Registered: 12 years ago Posts: 7,616 |
Quote
scrub
The only diffence being that i have my arduino directory field empty, in which case it should find the needed files automatically.
Quote
scrub
as i try to build it stops and gives me a "Build terminated Abnormally" message.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: "Build terminated Abnormally" - can't figure out why. March 24, 2016 03:44PM |
Registered: 7 years ago Posts: 9 |
Re: "Build terminated Abnormally" - can't figure out why. March 26, 2016 12:56PM |
Registered: 7 years ago Posts: 9 |
From what i know arduino works by the bootloader taking data and saving it into EEPROM and then execute the commands that are in the EEPROM, but here i see that the teacup firmware mostly takes up flash, which can only be programmed externally, so that tells me that when i upload i reflash the bootloader and it's not a sketch that i'm uploading, d-oh !Quote
Link completed normally.
ATmega... '168 '328(P) '644(P) '1280
FLASH: 19732 bytes 137.64% 64.23% 31.08% 15.29%
RAM: 1267 bytes 123.73% 61.87% 30.93% 15.47%
EEPROM: 32 bytes 3.12% 1.56% 1.56% 0.78%
Build completed normally.
Re: "Build terminated Abnormally" - can't figure out why. March 27, 2016 08:08AM |
Registered: 12 years ago Posts: 7,616 |
Quote
scrub
From what i know arduino works by the bootloader taking data and saving it into EEPROM and then execute the commands that are in the EEPROM, but here i see that the teacup firmware mostly takes up flash, which can only be programmed externally, so that tells me that when i upload i reflash the bootloader and it's not a sketch that i'm uploading, d-oh !
So i'll have to dig up my USBasp and get that build uploaded.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: "Build terminated Abnormally" - can't figure out why. May 24, 2016 05:03PM |
Registered: 7 years ago Posts: 9 |
Thanks, i'm not very good when it comes to firmware related stuff so when i thought that i had it figured out i just got more lost than anything.Quote
Traumflug
Quote
scrub
From what i know arduino works by the bootloader taking data and saving it into EEPROM and then execute the commands that are in the EEPROM, but here i see that the teacup firmware mostly takes up flash, which can only be programmed externally, so that tells me that when i upload i reflash the bootloader and it's not a sketch that i'm uploading, d-oh !
So i'll have to dig up my USBasp and get that build uploaded.
Uhm. Looks like you're a bit confused. First of all, a "sketch" is compiled into a binary just like any other piece of code. Actually it's straight C code which follows a few conventions for making it compatible with the Arduino library.
Executable binaries are always programmed into Flash. A bootloader does this directly, without touching EEPROM.
EEPROM is pure data storage. It can be programmed by the bootloader, too, but bytes there aren't executable.
Regarding the problem, Teacup uses the very same 'avrdude' executable Arduino uses. If one works, but the other doesn't, it's a difference in parameters given to avrdude. Arduino IDE has a preferences setting to show more verbosely how stuff is compiled and uploaded. Turn this on and look which parameters Arduino executes avrdude with, then go to Configtool settings and make it the same. Likely it's a different -c parameter, which tells avrdude the type of programming device/bootloader to assume.