NPEDUCATIONS, Electronic circuits development, electronics tutorials, microcontroller tutorials and projects, advanced microcontroller (ARM) based tutorials and projects, Embedded c development, Embedded c for ARM cortex M, Intel IoT based projects, IoT projects, CC3200 launch pad projects, MSP430 Launchpad tutorials and projects, Tiva C launch pad tutorials and projects, 8051 tutorials and projects, sensor interfacing with microcontroller tutorials, data communications and networking tutorials, peripheral interfacing with microcontroller, led message scrolling display, arduino based tutorials and projects, intel galileo based tutorials and project, ADC interfacing tutorials, LED Blinking, LCD interfacing, Embedded System tutorials and projects, B.tech projects, M.tech projects, online Embedded C training

warning: USART_RXC_vect' appears to be a misspelled signal handler


If you got warning :  ” USART_RXC_vect' appears to be a misspelled signal handler
Because of this warning you wont receive any character even though your code is correct. To solve this You have to check for the  Vector style for AVR microcontrollers. i.e., the vector address is different for different AVR microcontrollers.
For microcontrollers ATmega16, ATmega32, ATmega323, ATmega8  the vector is “USART_RXC_vect”.
For microcontrollers AT90PWM3, AT90PWM2, AT90PWM1, ATmega168P, ATmega3250, ATmega3250P, ATmega328P, ATmega3290, ATmega3290P, ATmega48P, ATmega6450, ATmega6490, ATmega8535, ATmega88P, ATmega168, ATmega48, ATmega88, ATtiny2313, you should write vector as below: “USART_RX_vec”.
Otherwise your code will not work and your serial reception program will not receive any character.
the complete list of interrupts available for any given microcontroller is available at the Site “http://www.nongnu.org/avr-libc/user-manual/group__avr__interrupts.html

3 comments :

  1. For the ATmega168 and others, I think you meant "USART_RX_vect", not "USART_RX_vec"?

    ReplyDelete
  2. Yes eric u were right! its my typing mistake

    ReplyDelete

Thanks for visiting NPEDUCATIONS. We will contact you soon

3 comments :

Eric said...

For the ATmega168 and others, I think you meant "USART_RX_vect", not "USART_RX_vec"?

Dmitriy Shelkunov said...

USART_RX_vect

Lovakiranvarma Myla said...

Yes eric u were right! its my typing mistake

Post a Comment

Thanks for visiting NPEDUCATIONS. We will contact you soon

If you really like this tutorial, Don't forget to give the comment or please subscribe to the RSS feed by submitting your E-mail or like our Facebook page.
Related Posts Plugin for WordPress, Blogger...

 
Powered by Blogger