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 tried $include "fx2regs.h"

    That just gives a file name, doesn't it?

    It doesn't give any information as to the location of that file, does it?

    So the assembler will obviously have to apply some default location (or set of locations) in which to look, won't it?

    And the place to find out about what that default (or set of defaults) is will, obviously, be the assembler's Manual...

Reply
  • I tried $include "fx2regs.h"

    That just gives a file name, doesn't it?

    It doesn't give any information as to the location of that file, does it?

    So the assembler will obviously have to apply some default location (or set of locations) in which to look, won't it?

    And the place to find out about what that default (or set of defaults) is will, obviously, be the assembler's Manual...

Children
No data