Issue in probing QSPI flash in Cyclone V SOC
Santhosh Kumar Janardhanam
santhoshkumar.janar at hcltech.com
Tue Oct 29 12:23:29 CET 2024
Hi All,
Has Anyone faced this issue, any suggestion to resolve the below issue would be very helpful?
Thanks,
Santhosh
From: Santhosh Kumar Janardhanam
Sent: Friday, October 25, 2024 7:42 PM
To: u-boot at lists.denx.de
Subject: Issue in probing QSPI flash in Cyclone V SOC
Hi All,
we are testing QSPI flash in Cyclone V custom board. The QSPI pins used are same like cyclone V sockit board.we are using uboot 2024.01
when we do sf probe, we got the below error. we have verified the pin mux configuration and also enabled the clock.
=> sf probe 0:0
jedec_spi_nor flash at 0: unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash at 0:0 (error -2)
The DTS file contains the following entries
&qspi {
status = "okay";
flash: flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q256a";
reg = <0>;
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;
cdns,tchsh-ns = <4>;
cdns,tslch-ns = <4>;
};
};
The flash chip is connected in bus 0 and chipselect 0.
As anyone faced this issue earlier in uboot with cyclone V? can anyone guide what needs to be done to make sf probe working?
Regards,
Santhosh
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________
More information about the U-Boot
mailing list