Page 2 of 2

Re: XCore200 QSPI

Posted: Tue Apr 11, 2017 9:17 pm
by pwatts
Thanks for the assistance; hopefully comments are forthcoming shortly. A workaround to access the flash after it has booted from another source such as SPI Slave or JTAG is pretty useless though.
Our methodology for XS1 was to use a MCU via an Ethernet-capable CPU to program the flash both for field updates and initial factory-load to avoid needing special programmers for either. The same method was understood to be fine for XCore200 (and I even raised it in this thread earlier to confirm since it is a critical design parameter).

Re: XCore200 QSPI

Posted: Wed Apr 12, 2017 2:26 pm
by pwatts
Follow-up: we use the latest xtools 14.2.4. However, even when attempting to program the flash via XSYS it still fails. The board traces are very short and with continuous ground plane so I doubt a signal integrity issue.

Re: XCore200 QSPI

Posted: Thu Apr 13, 2017 12:52 pm
by Thomas
Some words of clarification:
The XHRA-2HPA-TQ64 uses a custom boot loader which is burned into the OTP.
The OTP is an internal one-time programmable memory which can be used to override the standard boot loader in the ROM.

All other XMOS chips including XE216 use the standard bootloader in the ROM. This is a fixed internal memory and cannot be changed.
That means the issue found in the custom boot loader of XHRA-2HPA-TQ64 does not apply to XE216.

Chapter 7 Boot Procedure in the Datasheet has more information about the various boot sources.