Tool/software:
Hi TI,
We have a custom board with TDA4AH-Q1 HS SoC and we are trying to boot in XSPI (Mode OCTAL-DTR (8D-8D-8D) at 25 MHz, Pin Cmd 0x0B Read Command, SFDP Disabled).
I need to better understand the low level sequence of accesses over XSPI. From SPRUJ52D TRM and on board trials, I understand that:
Boot mode pins being well read and according to “Figure 4-5 Title TBD”:
J7 issues 1 low frequency ReadSFDP (to provide get the reference value) Does ROM code make any verification on this return values against supported SFDP structures?
J7 issues 16 25MHz ReadSFDP (to internally set the best controller latencies comparing with the first low freq read)
Figure 4-5 Title TBD end to “Do next steps of boot” What are these next steps? I suppose next details are in 4.2.1 MCU ROM Code Architecture?
Back to 4.2.1 MCU ROM Code Architecture, provide Boot mode/Main module path (Image/Bloc/Filesystem) but XSPI is missing here. Am I right to consider XSPI similar to OSPI, so “Image Path” being used, or is it Block Path?
I don’t understand the differences between Image Path and Block Path. For Image Path, what means “the image data can be directly read […] in place”? The boot buffer isn’t used at all? Implying that every checks (on X.509 header for example) are done by dedicated reads in the XSPI? Or is the X.509 header read once and for all (once length determined in a dedicated read maybe?) and every checks done internally?
If checks are done by several reads upon XSPI interface, can we have the accesses list? XSPI commands (if not only 0x0B) and addresses?
On board we can see that J7 after ReadSFDP performs several 0x0B reads at 0x00000000 address of the Flash. Why is it for? Are some specific checks done before reading the complete “X.509 certificate”?
Once integrity of the header checked, is the “Boot Image Blob” read performed in a continuous XSPI 0x0B read? Regardless of the Image Path or Bloc Path?
Do you have a more detailed document (than SPRUJ52D TRM) for HS Boot ROM Code behaviour?
Thanks in advance for your time and answer.
Best regards