This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cypress FX2 and Keil

Hi guys, I am using keil C51 to do the program and debugging the cypress FX2 ezusb chip.
In my project options I selected Cypress FX2 as the device type.
Should I add an include file in my .a51 file?
Also, if I need to add one instruction at location 0043h, how do I do it?
I tried CSEG 0043h, keil says syntax error.
I am new to both cypress fx2 and keil.

Parents
  • I read forum rules, it doesn't mention anything about cross posting.

    Indeed, I've no idea what the fuss is about.

    If you write your interrupt handler in 'C' using the 'interrupt' keyword the toolchain will automagically insert a jump at the vector address. Take a look in the C51 documentation for a complete explanation.

Reply
  • I read forum rules, it doesn't mention anything about cross posting.

    Indeed, I've no idea what the fuss is about.

    If you write your interrupt handler in 'C' using the 'interrupt' keyword the toolchain will automagically insert a jump at the vector address. Take a look in the C51 documentation for a complete explanation.

Children