Power-Down Mode: µA at V. 8-bit. Microcontroller with 2/4/8K. Bytes In- System. Programmable. Flash. ATtiny/V*. ATtiny/V. ATtiny/V. Summary. AVR Automotive, AEC-Q, AVR® ATtiny Microcontroller IC 8-Bit 16MHz 2KB ( 1K x 16) FLASH TSSOP. Microchip ATTINYSU: available from 3 distributors. Explore Integrated Circuits (ICs) on Octopart: the fastest source for datasheets, pricing, specs.
|Published (Last):||1 July 2006|
|PDF File Size:||12.99 Mb|
|ePub File Size:||2.93 Mb|
|Price:||Free* [*Free Regsitration Required]|
This works fine, but when I try to set the DDRs in a helper function like this, it no longer works:. If the device model is not specified during the final link step then avr-gcc won’t generate the proper preamble required to initialize aftiny and to call the main function.
I am using this piece of code to drive a seven segment display: This is the disassembled code: Dylan MacKenzie 4 That doesn’t sound right; post the disassembly of both initIO and main.
Added to the question, this has been driving me crazy for the last couple hours. Is this the disassembly of the object file or the final binary? There’s something very wrong then; it shouldn’t be starting at 0.
What command line are you using to build? Ignacio Vazquez-Abrams k Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
c – attiny won’t work when initialization is moved into a function – Stack Overflow