Re: Unable to program the FX3

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

cross mob
dada_4756041
Level 1
Level 1

after 9 years, I wonder if they have got solution for this or not, I've try to download my code but it shows: "Programming failed". This message appears when I do something wrong in my code or just because of USB control center tool

0 Likes
1 Solution

Hello,

The file image file (.img) is not in the right format. Looks like the settings on your Eclipse project is different from the default ones.

Please refer to one of the existing projects in the FX3 SDK and use the same settings. You can also try to modify the existing project by addign your firmware to it.

The problem in the current firmware image file is that the programming section address is out of range (may be corrupted), or not in the right format.

Please refer to section 11.1 Firmware Image Storage Format in FX3 programmers Manual from SDK docs.

You can see that the section address(byte 11:8) in your image (fx3.img) is  0x40000000 which is out of range.

Thanks,

Yatheesh

View solution in original post

0 Likes
6 Replies
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Please try using the latest tools and images from the FX3 SDK: https://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit

Are you trying to program the RAM of FX3 or an external I2C / SPI device connected to the FX3?

Thanks,

Yatheesh

0 Likes

Hi YatheeshK_36,

I'm trying to program the its RAM, when I build project, I see no error or warning but when I download it to the kit, it shows me the message "programming failed".

0 Likes

Hello,

Please share the img file which you are trying to program.

You can attach the file to your response using the advanced editor option.

Thanks,

Yatheesh

0 Likes
lock attach
Attachments are accessible only for community members.

Here is my img file, and thank for your help

Vào Th 6, 28 thg 8, 2020 vào lúc 19:07 YatheeshK_36 <

community-manager@cypress.com> đã viết:

<http://www.cypress.com>

Cypress Developer Community

<https://community.cypress.com/?et=watches.email.thread>

Unable to program the FX3

reply from YatheeshK_36

<https://community.cypress.com/people/YatheeshK_36?et=watches.email.thread>

in USB Superspeed Peripherals - View the full discussion

<https://community.cypress.com/message/248378?et=watches.email.thread#248378>

0 Likes

Hello,

The file image file (.img) is not in the right format. Looks like the settings on your Eclipse project is different from the default ones.

Please refer to one of the existing projects in the FX3 SDK and use the same settings. You can also try to modify the existing project by addign your firmware to it.

The problem in the current firmware image file is that the programming section address is out of range (may be corrupted), or not in the right format.

Please refer to section 11.1 Firmware Image Storage Format in FX3 programmers Manual from SDK docs.

You can see that the section address(byte 11:8) in your image (fx3.img) is  0x40000000 which is out of range.

Thanks,

Yatheesh

0 Likes

thank you very much. I'll try again

Vào Th 2, 31 thg 8, 2020 vào lúc 18:19 YatheeshK_36 <

community-manager@cypress.com> đã viết:

<http://www.cypress.com>

Cypress Developer Community

<https://community.cypress.com/?et=watches.email.thread>

Re: Unable to program the FX3

reply from YatheeshK_36

<https://community.cypress.com/people/YatheeshK_36?et=watches.email.thread>

in USB Superspeed Peripherals - View the full discussion

<https://community.cypress.com/message/248579?et=watches.email.thread#248579>

0 Likes