- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Relating to this thread: Firmware update (change to USB Boot Mode by software?)
I need some example code which will allow me to invalidate the image stored on the EEPROM SPI Flash.
I have been following the example firmware in cyfxusbspigpiomode, but it doesn't seem to work for me, and is too complex for what I need.
Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode\
What is the minimal example code required to write a byte/s to the SPI flash to invalidate it. For example just an erase command or simple write command.
I need the FX3 to go into USB boot mode after this. I can't have any hardware solutions - must be done in software.
Thanks for your time!
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I think that it FX3 should preload in the desired mode.
Moreover, the program download from external memory.
That is, you need to reprogram this memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Vladimir,
Please let know what is the boot mode (PMODE line settings) that you are using currently.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks, SRNT.
I am fine.
I just wanted to help a jameswagner, answer his question.
I think, boot is not difficult.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello James,
Please let know what is the boot mode (PMODE line settings) that you are using currently.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition i2c, spi, usb, cx3 board has "boot sd3" mode -
It's very cool!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jampers - on, on, off.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
PMODE[2:0] = 110 is not a valid boot option. The device supports eMMC boot option but the PMODE settings for that is PMODE[2:0] = 100 (Without USB fallback) or 000 (With USB fallback).
Best regards,
Srinath S