Other Parts Discussed in Thread: UNIFLASH, AM2634
Tool/software:
I am trying to launch my sbl and application from QSPI on the PROC159E2 AM263P4 Control Card. I have successfully programmed and booted from OSPI on this board. I appears that OSPI is selected by default , with Resistor R1679, which sets the OSPI/QSPI Mux Select. I need to use a QSPI part for my application, and not OSPI.
I have done the following.....
1. I have DNP'd R1679, and added a resistor to R3836 instead, to pull this mux low at Startup, before any code has executed.
2. I used QSPI settings from ospi_nand_flash_io example to convert sbl_null_am263px from OSPI to QSPI.
3. I tried using the uniflash app and a modified flasher_jtag_uniflash to program the QSPI and it will not work. I can open flash successfully, but the uniflash programmer will not program to qspi for some reason.
4. I tried a modified version of sbl_uart_uniflash and the python script uart_uniflash.py , and successfully can program to QSPI flash. The response header has status code 0 = SUCCESS. I can use this script to program anything I want to the QSPI part.
This is where I am stuck. I am looking for an example of a program that will successfully launch from QSPI which doesn't use XIP as I understand it. This is very difficult to debug since I just have to reboot with the correct boot mode selection, and hope for the best. I can't get any program to launch from QSPI. I am guessing this is because the memory settings are not correct. Would love a working example that boots from QSPI.
Thanks,
Russ


