This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi
I'm using mcu_plus_sdk_am263x_10_00_00_35 with CCS THEIA Version: 1.5.1.3 on a AM263P launchpad.
I was having issues trying to flash a program in QSPI and boot from it.
First in the flashing process, I'm getting and error loading the SBL after loading the flash writer with the uart_uniflash.py script.
The flash writer loads ok but hangs when it comes to load the sbl.
Issue is similar as in this thread :
or this one:
From other threads I came across trying to debug the issue, I have imported the qspi_flash_diag_am263x-lp_r5fss0-0_nortos_ti-arm-clang project to check the flash on the board.
I selected the right board and checked the SysConfig setup. Rebuilt the project and tried to run. Note, the board is configured in CCS(DEV) BOOT mode to run the test.
The SW execution runs into an exception.
The exception is triggered when trying to read the content of register QSPI0.SysConfig at address 0x48200010 within the following function :
In the debugger, the QSPI0 controller is not accessible either and the contents cannot be read:
I'm a stuck with this issue and can't find anybody reporting the same problem. I also tried on 2 boards but boths are displaying the same issue.
I might have missed something here but can't figure out what.
Would greatly appreciate your support here to 1/ get the flash diag example to work to ensure the sanity of the flash on my boards, 2/ to resolve my issue flashing the memory to boot from the application which 1/ will hopefully facilitate.
Thanks
Regards
Seb
Hi Seb,
I'm using mcu_plus_sdk_am263x_10_00_00_35 with CCS THEIA Version: 1.5.1.3 on a AM263P launchpad.
The SDK is not the correct one, you should use AM263Px sdk, i.e mcu_plus_sdk_am263px_10_00_00_35
From other threads I came across trying to debug the issue, I have imported the qspi_flash_diag_am263x-lp_r5fss0-0_nortos_ti-arm-clang project to check the flash on the board.
I selected the right board and checked the SysConfig setup. Rebuilt the project and tried to run. Note, the board is configured in CCS(DEV) BOOT mode to run the test.
The issue here I think is you are using a wrong example am263px has ospi controller not QSPI(am263x).
Correct example:" AM263Px MCU+ SDK: OSPI Flash Diagnostic
Would greatly appreciate your support here to 1/ get the flash diag example to work to ensure the sanity of the flash on my boards, 2/ to resolve my issue flashing the memory to boot from the application which 1/ will hopefully facilitate.
Please do following:
1. Install the MCU PLUS SDK AM263px from here: MCU-PLUS-SDK-AM263PX Software development kit (SDK) | TI.com
2. Run this example: AM263Px MCU+ SDK: OSPI Flash Diagnostic
Few questions:
1. Are you using TI EVM or a custom board
2. If you are using a custom board what is the flash pat that you are using?
Hi
Thanks a lot for your reply.
My bad for not piecing the different parts together. I downloaded the right SDK + ran the OSPIExample. All good.
I'll move into trying to flash my application.
For now, I'm using the TI LP-AM263P launchpad. Soon to move to a custom board. Note the design is currently undergoing and we are planning to use the same part as the launchpad to avoid running into issues.
Thanks a lot for your help.
Regards
Seb
Good to hear that Sebastien,
For custom board please follow the design guidelines here: https://www.ti.com/lit/an/sprabj8b/sprabj8b.pdf
Also additionally please reach out to your local sales executive to get your schematics reviewed by TI experts.
Hope this helps.