atmel

Must AVR programs always start with a relative jump instruction?

All example AVR programs I've ever seen start with code such as the following: .org $0000 rjmp Reset ; ... Reset: ; Start of program If I'm not making use of any interrupts can I do without the rjmp and start the program at $0000? ...

Which IDE to use for ATMega32 micro controller coding

Hello everyone, I am involved in a project which requires designing a mini rover (mars rover types). I am using ATMega32 micro controller. I have other hardware like DC motors, IR sensors etc. My query is that is there any IDE that I can use to code the micro controller? It must be user friendly since I am new to the concept of micro co...

advantages of atmega32

what are the advantages of using atmega32 than other microcontrollers ? is it better than pic and arm,8051 ? ...

AVR_GCC compile errors delay.h

Instructions in the blinky.zip, gcc-section, Teensy++ v.2. Makefile and blinky.c are in the zip. I modified the blinky.c by defining F_CPU at the start because not using Makefile, please, see below. So why do I get the errs and how can I compile the C-files for at90usb1286 chip? $ avr-gcc -mmcu=atmega88 blinky.c In file included from b...

GUI-Library for microcontroller

I want to create a GUI driven application for a micro-controller (Atmel XMEGA) that is connected to a 128x64 dots graphics LCD (EA DOGL128-6) and 4 buttons for navigation. Controlling the display itself (e.g. drawing pixels and characters) is no problem but in order to prevent me from reinventing the wheel I was googling for a GUI-Libra...

AVR JTAGICE mkII

Original Atmel jtag programmer costs $300. http://www.atmel.com/dyn/products/tools_card_v2.asp?tool_id=3353 http://search.digikey.com/scripts/DkSearch/dksus.dll?site=us&lang=en&mpart=ATJTAGICE2 Which clone do you recommend me? Are they 100% clones? (work with avr studio, same fw etc.) thanks. ...

Control a USB light via software

I have a little USB-powered light. I'd like to be able to turn it on and off with software. I'll be attaching it to a Linux computer. I have an Atmel ATtiny2313 from a previous project, but I'd rather do this with a simple hack than repurpose my microcontroller. Is this possible? I suspect this can't be done as the computer won't talk t...

Atmega64 pins question. SCL/SDA same as TXD/RDX?

I'm not an Atmega pro by any means whatsoever. In fact, never worked with them. I'm trying to add an external eeprom using i2c interface to a device that uses an Atmega64 controller. From the datasheet, I see that pins 25 and 26 are labeled PD0/PD1 and are the SCL/SDA for i2c. That's fine and dandy. So then I go to the board and star...

at91sam9rl arm hello world without os

Hi community, i want to run a simple hello world, written in c, app. on my at91sam9rl-ek. is it possible without an os? and (if it is) how do i have to compile it? -right now i try using g++ lite for creating arm code (In general which programms can the board start without OS, assembler, arm code?) ...

Does anyone have any sample code or suggestions to help me to interface my 100 pin uc3a1512to a device via RS-485?

I am attempting to connect and control a device which only accepts RS-485 input. I wish to communicate to this device via my existing UC3A1512. Does anyone have any existing source code or examples that may help me to create this interface? I need a method of outputting date via RS-485 format. I do not need to establish round trip co...