EmbeddedRelated.com
The 2024 Embedded Online Conference

AVR libc device defines ?

Started by JoeyB in comp.arch.embedded17 years ago 1 reply

Here's a newbie question. I'm doing the the example program that's listed in the gcc AVR libc documentation. I'm using the STK500 dev. board...

Here's a newbie question. I'm doing the the example program that's listed in the gcc AVR libc documentation. I'm using the STK500 dev. board with a ATMEGA8515 and AVR Studio. The example provides a file iocompat.h that defines some device specific stuff. Here's a exerpt: #if defined(__AVR_AT90S2313__) # define OC1 PB3 # define OCR OCR1 # define DDROC DDRB # define TIMER1_OVF_vect TIM...


I am having a nightmarish time with AVR Studio and JTAGICE mkII

Started by Mostafa Kassem in comp.arch.embedded19 years ago 4 replies

Greetings: I am helping a friend with a small battery charger project. I chose the Atmega88 for this project because it has a good mix of...

Greetings: I am helping a friend with a small battery charger project. I chose the Atmega88 for this project because it has a good mix of peripherals, memory size and physical size. I am using Winavr 4.11 to develop the code (which I found to be very easy to use) and a combination of AVR Studio, STK500 and JTAGICE mkII for debugging. I am having a hell of time getting AVR Studio to...


stk 500 porgramming kit problem

Started by tanu in comp.arch.embedded18 years ago 1 reply

hi all i m using STK500/501 kit for programming the microcontoller. due to some reason we upgrade the kit by programming it through the...

hi all i m using STK500/501 kit for programming the microcontoller. due to some reason we upgrade the kit by programming it through the avr studio 4. now we r using avr studio 4 to program the kit. all the other contoller which was programmed are getting programmed at the requiered frequency(stk clk = 3.69 MHz and isp clk=460.8khz) and working perfectly. but the new contoller that is atmeg...


AVR studio4 problem

Started by Martin Griffith in comp.arch.embedded16 years ago 1 reply

I'm trying to move Studio4/GCC/winavr from my aging laptop to my desk PC I downloaded the latest versions for the PC but get the...

I'm trying to move Studio4/GCC/winavr from my aging laptop to my desk PC I downloaded the latest versions for the PC but get the following error Loaded plugin STK500 Loaded plugin AVR GCC Loaded partfile: C:\Program Files\Atmel\AVR Tools\PartDescriptionFiles\ATmega128 AVR Simulator: Please wait while configuring simulator... AVR Simulator: ATmega128 Configured OK AVR Simulator: Inval...


Serial communication of ATMega128

Started by sindhu in comp.arch.embedded17 years ago 4 replies

Hi all, Iam working on Atmega128 and STK500.Iam new to this. I need to transmit a character from controller.I have given the...

Hi all, Iam working on Atmega128 and STK500.Iam new to this. I need to transmit a character from controller.I have given the code below. #include"iom128v.h" #include "io.h" unsigned char data; unsigned int baud; unsigned int i; int transmit(unsigned char); void USART0_Init( unsigned int baud) { UBRR0H=0x96; UBRR0L=0x00; UCSR0B=0x08; UCSR0C=0x06; } int transmit(unsigned ...



The 2024 Embedded Online Conference