Other Parts Discussed in Thread: AM2634, TMDSCNCD263, UNIFLASH, SYSCONFIG
Tool/software:
Hi, TI experts.
I have some troubles in using QSPI flash memory S25FL128S with AM263P4 custom board.
------------
I designed my custom test board of AM2634 with S25FL128S like TI TMDSCNCD263 evaluation board.
It seems that there was no problems in flash writing via TI uart_uniflash and in QSPI boot.
And I changed AM2634 to AM263P4 for some reasons.
------------
In order to use QSPI S25FL128S with AM263P4, I should modify two SBL program - sbl_uart_uniflash and sbl_ospi_multicore_elf.
Unfortunately S25FL128S does not support SFDP function.
This is the flash setting of sysconfig in TI sbl_uart_uniflash of AM2634 for comparison. (MCU+SDK AM263x 10.01.00.31)
I loaded JSON file (source\sysconfig\board\.meta\flash\S25FL128SA_ospi.json) for making AM263P4 sysconfig settings.
- Flash Device : Custom Flash
- Name : S25FL128SA
- load JSON file
- Protocol 1S-1S-4S
- Quad Enable Type : 1
- OSPI pin setting modifications
This is the my flash setting of sysconfig in a custom sbl_uart_uniflash of AM263P4. (MCU+SDK AM263Px 10.02.00.15)
With this flash modification and deleting EEPROM setting / FLASH reset, LED blinking example worked at QSPI(4s) boot.
------------
I made my big application and loaded it with flash offset 0x81000 but it failed.
I changed the offset by 0x1000 and found that depending on the offset, it might either succeed or fail.
And depending on the application (maybe size), it might either succeed or fail also.
The offset 0x0 did not make a fail in flashing a file.
With JTAG uniflash program with the same modification sequences, the flashing always succeeded only after chip erase.
------------
For comparison, I tried to loading the "sbl_null.release.tiimage" file with the other offset by 0x1000 at my custom AM2634 board and TI TMDSCNCD263 evaluation board. (UART uniflash)
Surprisingly it failed sometimes.
------------
I do not know how to solve this problem.
1. Why does flashing fail with the other offset by 0x1000 at TI TMDSCNCD263 board?
2. What is the error in AM263P4 and S25FL128S sysconfig setting?
3. Is "--operation=flash-phy-tuning-data" needed for S25FL128S in AM263P4 UART uniflash?
4. Any other check points?
------------
Best regards,
Jeeuk Chang