FX2 EP2IN and jump table

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am using the fx2 to do HID mouse enumeration. So far, enumeration is ok. Windows recognizes fx2 as a hid mouse.

   

But I am unable to send any data to the host. I am trying to use EP1IN end point. EP1IN interrupt is enabled.

   

I think USB jump table might not be working.

   

Here's how I have implemented the jump table:

   

AUTO vector is Enabled in the INTSETUP register

   

INT2VEC EQU 0900H

   

CSEG AT 0043H

   

LJMP INT2VEC

   

CSEG AT 0900H                  ;start of jump table

   

LJMP ISR_SUDAV

   

CSEG AT 0928H                 ;

   

LJMP ISR_EP1IN

   

 

   

Any help/suggestions?

0 Likes
1 Reply
Anonymous
Not applicable

Also, in cypress's USBjmptb.a51, what does USB_Int2AutoVector equ $ + 2 mean?

0 Likes