Other Parts Discussed in Thread: SYSBIOS
Hello,
I am running the "FATFS_Console_idkAM437x_armExampleProject" of the Processor SDK RTOS AM437x v5.3.0.7 version using CCS 8.3.0.9. The code is running on the AM437x IDK board.
My plan is that I write an own “QSPI flash preparation” tool, this tool should open a file located on the SD card and copy it to the QSPI flash (in my case the file would be the QSPI secondary bootloader (SBL)). Afterwards I want to remove the SD card and see that the QSPI SBL is being loaded from by the ROM bootloader (RBL) upon the next power cycle.
What that means is, I want to combine the two example projects "FATFS_Console_idkAM437x_armExampleProject" and “QSPI_BasicExample_idkAM437x_armExampleProject” with each other.
I did the following things:
Step 1
I took as a base the "FATFS_Console_idkAM437x_armExampleProject" and loaded the SPI package inside the configuration file.
Step 2
I added the “ti/drv/spi” path to the include directories like inside the “QSPI_BasicExample_idkAM437x_armExampleProject”.
Step 3
I copied some first minimalistic code from the “QSPI_BasicExample_idkAM437x_armExampleProject” to the "FATFS_Console_idkAM437x_armExampleProject".
When I now call the function SF25FL_open, I get an exception somewhere deep in the driver (I assume inside the CSL but I need to dive in a bit deeper).
I don’t see any other significant differences between the two example projects. Can you please tell me if I missed anything?
Thanks,
Inno









