Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Test sketch...
void setup( void ) { }
void loop( void ) { }

Arduino IDE 1.0.5

No dot-bin file is produced.

Original comment by [email protected] on 10 Aug 2014 at 8:03

  • Changed state: Invalid

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Hi again!

I am a member of the codebender (https://codebender.cc) team. Codebender is an 
online Arduino IDE (v1.0.5 compatible) and it uses the same toolchain in order 
to compile/upload Arduino projects. 
I do know that Arduino IDE uses hex files instead of binary, but there is a 
reason why we need to use binary files with AVRDUDE, as well as using 
auto-detection on upload.
The problem is that when compiling a project with the Arduino Tiny core (v1.0), 
the binaries are detected as invalid on Windows, whereas using the standard 
core (for example Arduino Uno), produces a valid binary.
Is there any way I can fix this?

Regards

Original comment by [email protected] on 13 Aug 2014 at 11:45

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
[deleted comment]

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
@fpapado
I have used IDE v1.0.5 on Windows to compile your sample sketch for Arduino Uno 
and no BIN file is generated.

Here are the final build step as well as the AVRDUD command line to upload the 
HEX file using USBtiny :
D:\arduino\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections 
-mmcu=atmega328p -o C:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.elf 
C:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.o 
C:\Temp\build6412160318083764428.tmp\core.a 
-LC:\Temp\build6412160318083764428.tmp -lm 
D:\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:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.elf 
C:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.eep 
D:\arduino\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom 
C:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.elf 
C:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.hex 
Binary sketch size: 444 bytes (of a 32,256 byte maximum)
D:\arduino\hardware/tools/avr/bin/avrdude 
-CD:\arduino\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p 
-cusbtiny 
-Uflash:w:C:\Temp\build6412160318083764428.tmp\sketch_aug18a.cpp.hex:i 

As you can see no BIN file is build/used, only HEX file.
This is a off-the-shelf IDE v1.0.5 for Windows building for Aruino UNO.

However, at no point arduino-tny can influence the build process. It only 
contains CODE that has been adapted/optimized for ATtiny instead of ATMega.
the build process is defined at 99% by Arduino IDE and slighly influenced by 
boards.txt/programmers.txt

Original comment by [email protected] on 18 Aug 2014 at 4:43

from arduino-tiny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.