We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm learning the Cypress FX2 board in my spare time, and got most of my testing running just fine, but I just can't get my debugging properly running : i keep getting the dreaded error22 (no code at 0x045). So i figured some of my code wasn't VN and tried to debug the most simple example (hello.c) in the Keil examples. But even there, I keep getting the error. So I went out googlin, and found the USBJMPTB.a51 'fix', which is for the EZ-USB board, NOT for the FX2... Should I just blindly apply this 'fix' to the USBJMPTB.a51 ?? (there are 2 sections to adjust for the FX2 it seems) sorry if this is a completely idiot question, but hey, I got to start off somewhere, no ?
This should be explained in: http://www.keil.com/support/docs/1462.htm
(Replying to myself here for future beginners who might be looking this up) The trick is to include the USBJMPTB.obj in your project. For the FX2 test board, I did NOT need to adjust the jump table file, but you DO have to include the obj file, so that the linker properly sets the addresses. If not, he'll use the default settings which cause the error