How to load .img file under MacOS?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
grov_3935901
Level 1
Level 1
First like received First like given

I'm going through the SuperSpeed Device Design by Example book. I have eclipse working on MacOS Mojave 10.14.2, and have successfully imported the book projects. I'm trying out the book's first example project in Chapter 3 on page 49. According to the book, my next step is to load the .img file using USB Control Center. When I click the USB Control Center button in eclipse, I get this:

Screen Shot 2019-01-10 at 6.37.08 PM.png

So without having USB Control Center for MacOS, how can I load the .img file?

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

To program FX3 (either to RAM/EEPROM/Flash) please use 'download_fx3' which is in the following path:

"FX3_SDK_1.3.4_MacOS.tar\FX3_SDK_1.3.4_MacOS\cyusb_mac_1.0.tar\cyusb_mac_1.0\examples"

You can download the SDK for Mac in the following link:

http://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit

Regards,

Hemanth

Hemanth

View solution in original post

6 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

To program FX3 (either to RAM/EEPROM/Flash) please use 'download_fx3' which is in the following path:

"FX3_SDK_1.3.4_MacOS.tar\FX3_SDK_1.3.4_MacOS\cyusb_mac_1.0.tar\cyusb_mac_1.0\examples"

You can download the SDK for Mac in the following link:

http://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit

Regards,

Hemanth

Hemanth

Thanks for your reply Hemanth.

When I run make in the examples directory, it cannot find an include file:

Screen Shot 2019-01-11 at 4.17.49 PM.png

How can I get this include file and where should it be placed?

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Please install libusb on your machine and then build the program.

The header file comes when you install libusb.

Regards,

Hemanth

Hemanth

Ok I have libusb installed now. Now make gives me:

Screen Shot 2019-01-11 at 5.29.43 PM.png

Is there a cypress library I need?

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Yes cypress library should also be built.

Can you please refer to Section 2: BUILDING AND INSTALLING THE Library of the document "cyusb_mac_user_guide.pdf" which is present in the following path:

"FX3_SDK_1.3.4_MacOS.tar\FX3_SDK_1.3.4_MacOS\cyusb_mac_1.0.tar\cyusb_mac_1.0\docs"

Regards,

Hemanth

Hemanth

Thanks Hemanth. The download_fx3 utility is now working to download firmware image files to the FX3 under MacOS.

Regards,

Greg

0 Likes