Q on QSPI Flash Programming for XHRA-2HPA

New to XMOS and XCore? Get started here.
Post Reply
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Q on QSPI Flash Programming for XHRA-2HPA

Post by mon2 »

Hi. Wish to program a QSPI flash device for use with the XHRA-2HPA processor and have some questions.

1) Using a blank QSPI device (same p/n as shown in the XHRA-2HPA board schematics), it is possible to program the posted image for this controller using another XMOS board (ie. StartKit) ?

Image is sourced from here:

Code: Select all

The DFU upgrade image can be found in the XHRA-2HPA firmware package https://www.xmos.com/support/boards?product=18340&component=19657  
and noting the comments from here:
https://www.xcore.com/forum/viewtopic.php?f=7&t=4805

2) By following the above with a modified XN file (to support QSPI programming), the empty flash will be programmed with the contents of the required firmware as-is ?

Code: Select all

xflash --target-file PROGRAMMER.xn --write-all IMAGE.bin
Will the xflash tool also enable the QSPI mode for this flash target memory ?

Or does the empty flash device need to be initialized with the QSPI bit enabled first and then use xflash to upload the QSPI firmware for the XHRA-2HPA controller ?

Summary: Trying to use a StartKit or similar as a QSPI flash device programming tool by taking a factory fresh QSPI flash device (not yet QSPI enabled) and use xflash to write and enable the QSPI bit. Can this be done ?


colin
Experienced Member
Posts: 74
Joined: Mon Dec 16, 2013 12:14 pm

Post by colin »

Hi mon2,

I know the XCORE-200-EXPLORER board has been successfully used as a QSPI programmer board. I believe a QSPI socket was soldered onto the correct pins of the QSPI flash site on the board and then xflash used as normal to program the device.

In answer to your second question, yes XFLASH will take care of enabling the QSPI bit of the flash device if it is one that is listed as supported. It is likely though not guaranteed that other unsupported devices will work also.

Colin.
Post Reply