In the App note it seems the comments got swapped between the 2 lines. If you look at it, it should be FLAGA = EP2EF and FLAGD = EP6FF. Will get it fixed.
Thank you for your quick reply. Can you please be a little more specific for me (I am new to this) and retype the two lines in their entirety as they should have appeared in the AN? Presently they say:
PINFLAGSAB = 0x08; // FLAGA - EP6 FULL flag
PINFLAGSCD = 0xE0; // FLAGD - EP2 Emtpy flag
What should these two lines read after they are corrected?
PINFLAGSAB = 0x08; // FLAGA - EP2 Emtpy flag
PINFLAGSCD = 0xE0; // FLAGD - EP6 FULL flag