Dear sir
We are using LS1012A in one of My projects.
We are facing a booting issue.
The processor reads the 64 Bytes data from Flash Memory (PN : S25FS512SAGMFI011 ) . Afterward the PBI Initialization is not happened.
We cannot see the DDR Clocks and clock from CLK_OUT pin from the processor.
Hence, we are suspecting the Platform clock switching is not happened.
Here I am attaching the Schematics for your reference.
Please find the attachments and help us to resolve the issues.
Thanks, and Regards,
Lakshmanan V
1) Check POR voltage at QSPI_A_DATA1 - it is recommended to use 4.7kOhm pull-down resistor.
2) What is the POR voltage at QSPI_A_DATA0?
3) What is the POR voltage at UART1_SOUT?
4) Please provide dump of the first 64 bytes of the SPI Flash.
5) What is measured SD_REF_CLK frequency?
Hello sir,
1) Check POR voltage at QSPI_A_DATA1 - it is recommended to use 4.7kOhm pull-down resistor.
We replaced to 4.7K pull-down resistor. But no improvement.
2) What is the POR voltage at QSPI_A_DATA0?
We measured 1.8V POR voltage at QSPI_A_DATA0 pin
3) What is the POR voltage at UART1_SOUT?
We measured 1.8V POR voltage at UART1_SOUT pin
4) Please provide dump of the first 64 bytes of the SPI Flash.
For your reference I am attaching RCW_PBL_DATA image.
5) What is measured SD_REF_CLK frequency?
SD1_REF_CLK1_P/N pull-down to ground. We are not giving any clock input to this pin.
-------------------------------------------------------------------------------------------------------------------------
While measuring QSPI_A_DATA3 pin we are getting always 1.8 Volts.
For Hard-coded RCW mode we grounded CLK_OUT pin at POR, Hard-coded RCW mode not working.
Please give me the solution as soon as possible.
Regards
Lakshmanan V
Please provide binary image of the RCW.
You wrote:
> Afterward the PBI Initialization is not happened
Provided RCW is correct "by itself" - i.e. it has correct CRC, but there is no PBI section containing code to be loaded into the OCRAM.
Also in the RCW there is following PBI:
00 02 00 00 58 01 57 09
after swapping:
09 57 01 58 00 00 02 00 - load 0x200 into Alternate CBAR register (ALTCBAR)
What is your intention?
Please consider using Layerscape SDK to build composite firmware image.
You can refer to pre-built firmware image at:
https://lsdk.github.io/components.html
LSDK IMAGES, select 2004 in the drop-down.
Hello sir,
we have followed this procedure and built the "flexbuild_lsdk2004_update_290520" in ubuntu and generated the file "bl2_qspi.pbl".
But the problem is we are unable to flash the QSPI through the CWTAP. As we have previously mentioned that the hard-coded RCW mode did not work for us, and the QSPI flash program window did not open and it opened for the FRWY-LS1012a EVM board which we have.
We are waiting for the valuable feedback.
Regards
Lakshmanan V
You have to refer to the LSDK Documentation and build composite firmware image:
Resulting firmware image has to be programmed into SPI Flash.
> we are unable to flash the QSPI through the CWTAP
How the RCW was programmed?
Hello sir,
we are unable to flash the QSPI through the CWTAP
As we mentioned in the previous mail that the hard-coded RCW mode did not work for us.Due to this QSPI flash program window did not open for us.
We are waiting for the valuable feedback.
Regards
Lakshmanan V
> we are unable to flash the QSPI through the CWTAP
How the RCW was programmed?
Hello sir,
RCW was not programmed in QSPI. Because of both QSPI RCW mode and Hard-coded RCW mode is not working.
Regards
Lakshmanan V
Originally you wrote:
> The processor reads the 64 Bytes data from Flash Memory
Have you tried to connect CodeWarrior using "USE_SAFE_RCW = True"?
Refer to the CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA, Targeting Manual, 8.6.1 RCW Override.