HEX file size limit for the AT89S52 8K microcontroler

Started by lode...@ymail.com, UNEXPECTED_DATA_AFTER_ADDRESS in AVRclub13 years ago 8 replies

The hex file for my project is no exactly 8880 bytes (9216 Bytes on Disk). I'm still able to load this hex file without any problems in the...

The hex file for my project is no exactly 8880 bytes (9216 Bytes on Disk). I'm still able to load this hex file without any problems in the above 8K Micro controller. I was under the impression the 8K of the AT89S52 was the storage space, but this does not seem to be the case . Can anybody share some light on this for me ? ------------------------------------


need some nice tutorial on Atmaga128 16bit timer/counter and use of ICP

Started by Mazhar Mazhar in AVRclub13 years ago 6 replies

hi i am a newbee in microcontroller world and need some good tutorials about t= imers/ counters and use of Input capture pin, i found few on...

hi i am a newbee in microcontroller world and need some good tutorials about t= imers/ counters and use of Input capture pin, i found few on sourceforge si= te but i need to have more practical approach and =A0information. can any b= ody provide me such guidlines, so that i could start working. right now i h= ave developed my own development board housing Atmega128, so it would be gr= eat th...


ATMEGA with 2 UARTS

Started by Cleber Dantas in AVRclub13 years ago 6 replies

Hello! Greetings from Brazil! Can you recommend an ATMEGA with 2 UARTS? The reason that we will use UART is simple, its more reliable than...

Hello! Greetings from Brazil! Can you recommend an ATMEGA with 2 UARTS? The reason that we will use UART is simple, its more reliable than software serial. I don't know if everybody agree with that. Thanks! Cleber ------------------------------------


Looking for recient HD44780 LCD C function set that works well with WINAVR

Started by keepwalking188 in AVRclub13 years ago 6 replies

I've just got back into playing with micros after an absence of 25 years. Wow have things changes - for the better. For the current project I...

I've just got back into playing with micros after an absence of 25 years. Wow have things changes - for the better. For the current project I want to hook up a 2x16 LCM with the Mega168P and thought hea, there are LCD everywhere - it should be easy to find a nice tight set of well documented LCD functions that I can use and are built to be versitale. I will not be assuming any such thing in t...


Robostix (ATMega 128) and LCD

Started by "lon...@sbcglobal.net" in AVRclub13 years ago 2 replies

Hello all, I have a Robostix and when I go to their Wiki page it has the all of the C code and headers except the 'lcd.h' header file. Does...

Hello all, I have a Robostix and when I go to their Wiki page it has the all of the C code and headers except the 'lcd.h' header file. Does anybody know where I can get this file or at least a working package. I'm trying to learn how interface sensors to this thing and I can't tell if I'm getting good data. I also have an Olimex ATMega128 board that I think works. I just need to p...


ATtiny 2313 floating output?

Started by bazzapromenade in AVRclub13 years ago 5 replies

I have come across something that I do not quite understand. I am running a simple code that uses 4 pins as inputs and the rest are outputs. I...

I have come across something that I do not quite understand. I am running a simple code that uses 4 pins as inputs and the rest are outputs. I write in assembler code. The program runs fine in simulation but i found a glitch when used in real life. In my code there was a couple of dozen places where there would be most of portB on as output high and maybe a single pin high on port A or D. To cut ...


double UART code

Started by iijfet in AVRclub13 years ago 2 replies

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has...

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has RX,TX pins).bauderate is 4800bps. avr chip:atmega64 software:codevision are you have a sample code for me? ------------------------------------


Build failed on AVR Studio

Started by Ivan Gomez in AVRclub13 years ago

Hi all, I am trying to use AVR Studio and WinAVR to copile the following code that = is a sample provided in the AVR Studio...

Hi all, I am trying to use AVR Studio and WinAVR to copile the following code that = is a sample provided in the AVR Studio tutorial: #include int main(void) { =A0 DDRB =3D 0xFF; =A0 while (1) =A0 { =A0=A0=A0=A0 PORTB =3D PIND; =A0 } } But when=A0I run the Build I got the following: Build started 11.7.2009 at 18:21:13 =A0=A0=A0=A0=A0 0 [main] sh 9436 sync_with_chil


lcd temprature controlled baseb

Started by sahils88 in AVRclub13 years ago 7 replies

plz send me the circut diag. of lcd temp contolled based project.using avr ATMEL ATmega16 contoller.i also wanna display the timming and temp on...

plz send me the circut diag. of lcd temp contolled based project.using avr ATMEL ATmega16 contoller.i also wanna display the timming and temp on the lcd.plz suuggest me the rtc recquired for it. ------------------------------------


attiny2313 button handler [need help]

Started by "Marojahan M.T. Sigiro" in AVRclub13 years ago 5 replies

hi all,, i have a small project using attiny2313, i'm trying to handle two buttons using pin change interrupt. the problem i got that,...

hi all,, i have a small project using attiny2313, i'm trying to handle two buttons using pin change interrupt. the problem i got that, sometime it gives a good output by send some byte using uart communication, but sometime its not working. i've read about debounce handling (i'm not sure if its correct) but i dont know it mutch yet. This is my first time make a program to handle external i...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright