- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The control center counterpart for Linux which is cyusb_linux binary is not able to flash the image (.img file) to EEPROM and SPI Flash. It shows "Error in Download" as a message box and in the status bar it shows "Error: Could not find target device" ! However, it is able to flash to RAM successfully.
I have used the same CX3 board for flashing to RAM, EEPROM and SPI Flash from Windows without any problems!
Can you please help me why this is not able to flash to EEPROM and SPI Flash memory from Linux.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The issue is solved in the meantime.
We had a faulty connector to the hub, which caused some devices to be inaccessible.
Sorry for blaming your software!
kind regards,
Rens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please attach the screen-shot for us to see.Please make sure that you are selecting the device and type correctly. We have tested it to work fine. Which Linux version are you using?
I am also attaching the next version of cyusb_linux, if you like, you can try this as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nishant,
I went through the control center code. For I2C & SPI , it is sending some command to the board from the Qt source fx3_download.cpp. Function check_fx3_flashprog() after sending that command, it compares with string "FX3PROG" which is not happening with CX3 board (i can see "Current device is not the FX3 flash programmer" output on the console).
Is this correct? Please comment what change shall I make in this code to make it work for CX3 (Denebola) board also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am facing same problem. In check_fx3_flashprog(), The function call "cyusb_control_transfer(handle, 0xC0, 0xB0, 0, 0, (unsigned char *)local, 8, VENDORCMD_TIMEOUT);" returns -9 [ LIBUSB_ERROR_PIPE ]. Any Solution?
Thanks in advance,
Sankareswari D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there any solution in the meantime?
Kind regards,
Rens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
New FX3 SDK 1.3.4 has been released to the web. Please install the same and repeat the test.
http://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used cyusb_linux 1.0.5. Do i have to install the entire SDK to be able to flash to SPI? I have only installed cyusb_linux. Everything works fine up to the point that I try to flash to SPI. Flashing to RAM works.
Kind regards,
Rens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rens,
Can you please check if the bootprogrammer enumerated successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The issue is solved in the meantime.
We had a faulty connector to the hub, which caused some devices to be inaccessible.
Sorry for blaming your software!
kind regards,
Rens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are still having issues with the cyusb_linux tool.
I am using cyusb_linux 1.0.5.
When flashing to RAM it works perfectly, the bootprogrammer enumerates succesfully.
The moment I try to flash to SPI, I get the error "SPI sector erase failed"
We have tried 6 different laptops in the meantime, on 3 of them it is working in the meantime, however we have no clue as to why.
This does prove that our hardware is working fine, since it flashes in a stable manner on the laptops on which the tool works.
Could you please inform me if there are some dependencies which I am overlooking for using cyusb_linux?
Kind regards,
Rens