Part Number: LP-AM261
Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH
Hello,
I am working with the following environment:
- Device: AM261x LaunchPad
- SDK: motor_control_sdk_am261x_10_02_00_07
- IDE: CCS 12.8.1
My goal is to run the SBL on a custom board that uses a QSPI Flash device.
To achieve this, I am following the steps below:
1. Verify that the OSPI Flash can be accessed in Single (1S-1S-1S) or Quad (1S-1S-4S) mode on the LaunchPad.
2. Verify the same on the custom board.
3. Apply the working configuration to the SBL and run it on the custom board.
As the first step, I tested flash operation using the following example project:
ospi_flash_dma_am261x-lp_r5fss0-0_nortos_ti-arm-clang
Questions
1. Does this example work only in Octal mode?
I changed the SysConfig OSPI Flash settings to Single (1S-1S-1S) mode.
However, when I run the example, I get the following error:
[Cortex_R5_0] ERROR: Flash_norOspiOpen:1316: Flash_norOspiOpen : PHY enabling failed!!! Continuing without PHY...
ERROR: Board_flashOpen:196: FLASH open failed for instance 0 !!!
I can avoid this error by disabling “Enable PHY mode” in the OSPI settings,
but then Flash read/write operations do not work.
The same behavior occurs in Quad mode (1S-1S-4S).
Could you advise how to properly run the example in Single or Quad mode?
2. Can “Enable PHY Mode” be disabled?
When I run the example in Octal mode with PHY mode disabled,
Flash operations do not work correctly.
For example:
- Writing seems to succeed
- But reading back the stored data shows different values
Is this issue related to why Single mode and Quad mode also fail?
Does the Flash device or OSPI controller require PHY mode even in Single/Quad operation?
Thank you for your support.
Best regards,
