Hello, I am writing a firmware with keil uvision2 which has to use the UART. Unfortunately, I'm writing the jump table
XXXXX code (ISR_com) extrn code (ISR_Sudav, ... , ISR_Ep0in, ... ) ; Interrupt Vectors CSEG AT 23H SERIAL_AutoVector equ $ + 2 ljmp SERIAL_Jump_Table CSEG AT 43H USB_AutoVector equ $ + 2 ljmp USB_Jump_Table
I apologize! I was sure I had written that. I'm using the EZ-USB FX developer's kit CY3671 with the CY7C64613-128NC chip. Thank you for your help, Stephane.
The serial interrupt does not use an autovector scheme. It is just a plain 8052 interrupt. Use the following in a C file.
void serialIsr( void ) interrupt 4 using?? { }
Many thanks!
For a C implementation of the autovector scheme, be sure to check the following application note: http://www.keil.com/appnotes/docs/apnt_126.asp Jon