Part Number: AM625
Tool/software:
Hello,
We have a single‑board computer based on the TI AM625x processor. This processor’s OSPI port is connected to an encrypted SPI‑NOR flash using proprietary commands, so it cannot be accessed in the normal way. (For boot it runs the standard commands, then locks itself, and the system normally boots from that flash.)
It’s worth noting that the flash’s proprietary commands are longer than the STIG command set, so we cannot use STIG to control this device. To be able to program the flash, after a lengthy effort we reverse‑engineered the necessary commands and addresses from the MCU + SDK and now drive the flash chip via its registers in quad mode at full speed.
However, I’m now encountering an issue with the Cadence OSPI registers. If the system’s primary boot device is OSPI, everything works perfectly. But if the boot priority is set to SD (so the CPU doesn’t even attempt to boot from OSPI), the Cadence controller stops responding to commands—it appears to power down.
This functionality is critical for field recovery of boards that, for example, have lost their flash contents due to exposure to a strong magnetic field or other customer‑site events. Is there any register write or command sequence to re‑enable (power up) the OSPI controller via its registers?
For reference, we are running TI’s Linux kernel ti‑linux‑kernel‑10.01.10 (Linux 6.6) with the BeaglePlay package, and our programming utility runs in userspace via an mmap of /dev/mem.
Thank you for any guidance.