Cypress IDE

Hi TingWei,
There are drivers for Cypress IC in page “Software”:
http://myriadrf.org/myriad-software-upgrade-v1r0-01-pc-stable/,

You can find all instruction of installation process in the manual “Myriad-RF Development Kit_1.0r4.pdf” in the same “Software” page: http://www.limemicro.com/download/Myriad-RF%20Development%20Kit_1.0r4.pdf
Go to the page 24.
Good luck!

TinhWei,-

You might have a look to document below:

Andrew

Hi TingWei,

Could you print screen your command window messages and share with us?

TingWei.-

Here is the usb_1v08 firmaware source code:

Can you try using latest code and let me know if that helps.

Andrew

TingWei,

Thanks for pictures.

Could you try to compile firmware version, just provided by andrewhux and let me know about the results?

 

By the way, SDCC version must be 2.9.0, as stated in FX2LP guide 1.00r08.pdf document, table 1, page 5.

TingWei,

SDCC 2.9.0 32 bit version should work on 64 bit machine I think.

The version of SDCC may be an issue, while there was a change in how paths are interpreted, as far as I remember.

TingWei,

Forget usbio_1v06 version, try to compile this one:

TingWei,

I just checked setup - everything works ass expected in my case. Make sure that folders “fx2lib” and “usbio_1v08” are in the same folder. Another issue might be version of make. Just make sure you’ve followed cygwin install instructions, especially Figure 19 in page 13 of the FX2LP guide 1.00r08.pdf document.

Print screen of my setup as an evidence is there (setup.png):

In the fx2_sdk_kit folder from the above link you will find the firmware, SDCC, cygwin, documentation - everything you need to compile the firmware successfully.

TingWei,

This is because of version confusion. You have to use this one:

Dropbox link updated.

Note please, that you have to compile fx2lib before you use it, when just downloaded from the github.

Excellent! :slight_smile:

Hi all,

Anybody knows how to program cypress ic? What is the IDE used for it?

Hello Stefan,

Appreciate your reply. Actually, I have complete the firmware program, but I want to do is duplicating the environment to modify cypress open source code.

Hi Andrewhux,

Appreciate your document, that is what I need.

 

TingWei

Hi Andrewhux,

Have you set up the environment? I have try two system windows 7 64-bit and windows xp 32-bit, all of them are fail to do “make”. There are some problems as below list.

  1. there is no “fx2.mk” file

  2. fx2types.h seems cannot be compiled, there has a error in “at” and “xdata”

  3. The document describe usbio_1v08, however there is only usb_1v06 in website for download.

  4. sdcc 2.90 does not include “sdas8051.exe” command

Unfortunately, I still can not complete compilation until now. Hope to get more information.

Best regards

TingWei

This forum can post image/picture??

OS: windows 7 64-bit

Software : sdcc-3.3.0 + cygwin 2.774

File: fx2lib-src-0.1.tgz + usbio_1v06

Below is the space which I posted from windows screen.

Now, there are two pictures.

First one shows the folder setting.

Second one shows that cannot find fx2.mk

 

BR

TingWei

Bigcharos,

I also want to follow document, but in sdcc website there is only 3.3.0 version for 64-bit OS.

sdcc 2.9.0 is in 32-bit OS.

I will borrow the 32-bit OS computer the day after tomorrow and show you the result as soon as possible.

I think the problem should not be the version of sdcc, it should be the source files.

Whatever, I will try again and thanks for your reply.

 

Best regards

TingWei

Bigcharos,

I have changed sdcc 3.3.0 to sdcc 2.9.0 (32-bit) version.

However, the same problem happens, there is no “fx2.mk”.

In the usbio_1v06’s Makefile there is one command is “include $(FX2LIBDIR)/lib/fx2.mk”.

And it cannot be found in fx2lib.

 

TingWei

Bigcharos,

Still thanks reply. I try another fx2lib from website as below

In this fx2lib file, there has one file called fx2.mk and it can be compiled.

However, I do not know the file is o.k. or not.

TingWei

Bigchaos,

I am curious why in your fx2_sdk_kit/fx2lib/lib has one file called fx2.mk.

But there is no file call fx2.mk in fx2lib-src-o.1.tgz.

If I use the fx2lib in your fx2_sdk_kit, then it is ok.

If I extract fx2lib-src-o.1.tgz to use the fx2lib, then it will fail due to fx2.mk.

So where does the file fx2.mk in fx2_sdk_kit/fx2lib/lib come from??

 

Best regards

TingWei

Bigchaos,

Thanks again, I understand the reason is caused from fx2lib version.

Now I can compile the usbio_1v8 and also compile fx2lib before that.

 

Best regards

TingWei