- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Guide me on how to flash Bootloader sw into CX3/ SPI Flash memory. Since, we could not directly use USB for this purpose which need USB descriptor for communicate.
we would try to use JTAG pins initially to flash bootload code into memory and afterwards we will use Bootloader to work remaining. Is there any example code available?
1. For Custom CX3 IC, is ready Bootloader available in CX3 chip itself?
2. Once bootloader code flashed, Does CX3 be used in Control center for Flashing main code as we are doing the same using Evaluation board?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
All CX3 chips have built-in ROM bootloader code, which is the first code to be executed when CX3 is powered on. After which the firmware gets loaded from the respective memories depending on the PMODE lines. The ROM bootloader code even has its own set of USB descriptors. The ROM bootloader code cannot be modified.
However, we provide a second stage bootloader with the FX3 SDK named "Fx3BootAppGcc". After CX3 is programmed with this firmware and if USB boot is enabled, Control Center can be used for flashing the main code.
Could you please explain why you cannot program SPI flash memory using USB in a bit more detail?
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
All CX3 chips have built-in ROM bootloader code, which is the first code to be executed when CX3 is powered on. After which the firmware gets loaded from the respective memories depending on the PMODE lines. The ROM bootloader code even has its own set of USB descriptors. The ROM bootloader code cannot be modified.
However, we provide a second stage bootloader with the FX3 SDK named "Fx3BootAppGcc". After CX3 is programmed with this firmware and if USB boot is enabled, Control Center can be used for flashing the main code.
Could you please explain why you cannot program SPI flash memory using USB in a bit more detail?
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
we have a custom board with CX3 controller interfaced with other SPI flash and EEPROM Memory.(Note: EEPROM and Flash IC's available in Denebola Eval board is not used). So, in-built ROM bootloader code is sufficient for flashing the firmware code into custom board with new ICs?
(or)
From my understanding, "However, we provide a second stage bootloader with the FX3 SDK named "Fx3BootAppGcc". After CX3 is programmed with this firmware and if USB boot is enabled" says
- for other flash/ EEPROM memories, we need to flash second stage bootloader using "Fx3BootAppGcc".
we could not find code for "Fx3BootAppGcc". Please provide a link for download.
Sorry, mistakenly provided program SPI Flash using USB is not possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, in built ROM bootloader code is sufficient for flashing the firmware code into IC's. Please refer to https://www.infineon.com/dgdl/Infineon-AN76405_-EZ-USB_FX3_FX3S_boot_options-ApplicationNotes-v12_00... for further details.
Please download EZ-USB FX3 SDK from the link: https://softwaretools.infineon.com/tools/com.ifx.tb.tool.ezusbfx3sdk?_ga=2.40453090.1141323704.16720.... You can also find the link to download EZ-USB FX3 SDK on the official CYUSB3014 product page. You can find fx3BootAppGcc firmware in this path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\boot_fw\src
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will look into it @Asgar. And thank you once again for Quick support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
what is the use of Second stage bootloader. when will this bootloader has to be used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Second stage bootloader is used when more control over the booting process is required from the user.
Best Regards,
AliAsgar