i'm working for xu224 project, Xu224 can't boot up, flash can be written and read.
would you please give us some suggestions? thanks
usb connect to tile[0]
SPI flash connect to tile[0]
please refer to attached file
Xu224 can't boot up, flash can be written and read Topic is solved
-
- Active Member
- Posts: 45
- Joined: Thu Apr 20, 2017 9:00 am
Xu224 can't boot up, flash can be written and read
You do not have the required permissions to view the files attached to this post.
Last edited by susanyin0501 on Wed Sep 13, 2017 3:08 am, edited 3 times in total.
View Solution
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Have not worked with this exact CPU but...
You are using QSPI flash to boot this board but is the QSPI bit 6 enabled inside the external IS25LQ016B ? QSPI Bit 6 must be 1 to boot your code.
Believe you can enable this bit QSPI using xflash tool.

update, see here:
http://www.xcore.com/viewtopic.php?t=5874
so update your XN file:
but not clear on how xflash is enabling the QE BIT - is it automatic or do you need to manually pass a parameter to enable QE?
You are using QSPI flash to boot this board but is the QSPI bit 6 enabled inside the external IS25LQ016B ? QSPI Bit 6 must be 1 to boot your code.
Believe you can enable this bit QSPI using xflash tool.

update, see here:
http://www.xcore.com/viewtopic.php?t=5874
so update your XN file:
Code: Select all
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="IS25LQ016B">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
<Attribute Name="QE_REGISTER" Value="quad_spi_qe_location_status_reg_0"/>
<Attribute Name="QE_BIT" Value="quad_spi_qe_bit_6"/>
</Device>
</ExternalDevices>
Last edited by mon2 on Wed Jul 12, 2017 1:05 pm, edited 1 time in total.
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
Any activity on the SCK and CS lines of the SPI chip during powerup?
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
QE bit will always be written to 1 when flashing the device using xflash (if you have a QuadFlash device in the XN file).mon2 wrote:
but not clear on how xflash is enabling the QE BIT - is it automatic or do you need to manually pass a parameter to enable QE?
The default is bit 6 register 0, so even not providing the definition, it should go OK.
-
- Active Member
- Posts: 45
- Joined: Thu Apr 20, 2017 9:00 am
Thanks for your reply.
external message
1, SPI seems boot up, but boot up fail finallly. when we power on board there are usb connecting message (icon) display on PC, but just a while (blink one time)
2, if we cut tile2 and tile3, just use tile0 and tile1, xn file refer to attached file, it can boot up successfully and work well.
3, in section 8 Boot Procedure of XU224-1024-FB374-Datasheet(1.12).pdf, there are the following content
Pin X2D06 must be pulled high with an external pull-up whilst the chip comes
out of reset, to ensure that tile 2 will boot from link. X2D04, X2D05, and X2D07
should be kept low whilst the chip comes out of reset.
Must we pull-up X2D06 whilst the chip comes out of reset? we didn't connect these pins to anywhere. i don't know whether it cause this issue?
external message
1, SPI seems boot up, but boot up fail finallly. when we power on board there are usb connecting message (icon) display on PC, but just a while (blink one time)
2, if we cut tile2 and tile3, just use tile0 and tile1, xn file refer to attached file, it can boot up successfully and work well.
3, in section 8 Boot Procedure of XU224-1024-FB374-Datasheet(1.12).pdf, there are the following content
Pin X2D06 must be pulled high with an external pull-up whilst the chip comes
out of reset, to ensure that tile 2 will boot from link. X2D04, X2D05, and X2D07
should be kept low whilst the chip comes out of reset.
Must we pull-up X2D06 whilst the chip comes out of reset? we didn't connect these pins to anywhere. i don't know whether it cause this issue?
-
- Member++
- Posts: 22
- Joined: Fri Aug 12, 2016 6:13 pm
Yes you need to add a pull up resistor to pin X2D06 for tiles 2 and 3 to boot from link as noted in the datasheet. Also add pull downs or ensure that X2D04, X2D05, X2D07 are low during reset.
-
- Active Member
- Posts: 45
- Joined: Thu Apr 20, 2017 9:00 am
thanks for all of your reply. just Adding a pull up resisteror to PIN X2D06, now it can work well ( bootup from flash)