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

Can DK251 be used with existing Cypress FX2 code?

I have the DK251 development kit. Is there an easy way to get Cypress EZ-USB FX2 sample code to compile in the 251 environment? I keep coming up with an error when I build saying that my "tools.ini" is bad or missing. Setup required?

Parents
  • I started case # 23HHB34...

    Our call numbers are 5-digit or 6-digit numbers with no letters, so, I'm not sure where that came from but it didn't come from the Keil US office.

    Anyway, the C251 compiler generates code using the new 80C251 instruction set. The 80C251 has 16-bit and 32-bit registers and instructions that use them.

    The 8051 does not have 16-bit or 32-bit registers and does not have the enhanced 251 instructions.

    If you like, you can try to use the 251 compiler with an 8051 devices, but the code generated will not work. It would be the same as if you took an Intel 386 compiler and tried to use it with a 68000.

    Jon

Reply
  • I started case # 23HHB34...

    Our call numbers are 5-digit or 6-digit numbers with no letters, so, I'm not sure where that came from but it didn't come from the Keil US office.

    Anyway, the C251 compiler generates code using the new 80C251 instruction set. The 80C251 has 16-bit and 32-bit registers and instructions that use them.

    The 8051 does not have 16-bit or 32-bit registers and does not have the enhanced 251 instructions.

    If you like, you can try to use the 251 compiler with an 8051 devices, but the code generated will not work. It would be the same as if you took an Intel 386 compiler and tried to use it with a 68000.

    Jon

Children
No data