You are here

ezUsbSuite and FX2LP development | Cypress Semiconductor

ezUsbSuite and FX2LP development

Summary: 2 Replies, Latest post by Falke on 19 Oct 2015 11:36 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
Falke's picture
2 posts


I have been using the Eclipse IDE provided by Cypress to develop firmwares for the FX3 so far and it has worked quite smoothly. Now I tried to develop some firmware for FX2LP devices (CY7C68013A in my case) and was happy to find an option under "New->Project->Cypress->FX2LP Project" to do so using the same Eclipse IDE.

But sadly it seems like the IDE does not recognize the register definitions provided for example in "fx2regs.h", instead it declares them as syntax errors. They do, however, compile without errors and the resulting .hex file does actually work when downloaded to the FX2LP.

So, is there a way to make Eclipse recognize the register definitions and make them available for autocomplete and stop Eclipse from throwing red and yellow lines all over my source code?

I would rather not have to switch to Keil because of the limitations to 4K firmware size.

mady's picture
Cypress Employee
964 posts


I think Eclipse just didn't refresh the contents, so it shows errors. Just right click your project on the Project ecplorer and select Index -

> Rebuild.


-Madhu Sudhan

Falke's picture
2 posts


thank you for your answer. I did try your suggestion, however it sadly did not resolve any of the errors Eclipse shows and underlines.

To further clarify my problem, this is what I get after creating a new project with "File -> New -> Project -> Cypress/FX2LP Project -> Create from Template "Bulkloop_SDCC": (see attachment #1 "before_opening.png")

As you can see it does not show any errors so far, but after opening a source file it marks every register that is used as error and SYNCDELAY usage produces warnings. (see attachment #2 "after_opening.png")

Also in the "fx2regs.h" where the corresponding registers are declared it shows a lot of supposed syntax errors: (see attachment #3 "fx2regs.png")

I guess this is why Eclipse does not recognize them in the other source files either.

Is there any fix for this?

Thanks for any further help in advance!

(In case the images are not properly displayed, please find them in the attachments)

Log in to post new comments.