Other Parts Discussed in Thread: TMDS273EVM, UNIFLASH, SYSCONFIG,
Tool/software:
Hello.
I'm trying QSPI Boot in custom board which has flash memory: S25FL128SAGNFI000.
I have another board: TMDS273EVM.
Custom board fails QSPI boot.
- I would like to get advise for I makes it correct.
- Are there configuration against RBL / ROM Bootloader on CCS theia or hardware pins ?
- If there are it, I want how to do that .
My researched details are written below.
---
## Researched
### Summary
- Custom board cannot boot SBL.
- TMDS273EVM can boot SBL right.
- QSPICLK/CS waveforms by RBL / ROM bootloader is shown.
- Its not equal between Custom board's and TMDS273EVM's
- TMDS273EVM's is twice and 4byte CS low.
- Custom board's is only once and 1byte CS low.
### Custom board
- Import projects from example of SDK
- sbl_qspi_am273x-evm_r5fss0-0_nortos_ti-arm-clang
- sbl_null_am273x-evm_r5fss0-0_nortos_ti-arm-clang
- sbl_jtag_uniflash_am273x-evm_r5fss0-0_nortos_ti-arm-clang
- empty_am273x-evm_system_freertos
- Apply flash setting from S25FL128SA.json from ti\mcu_plus_sdk_am273x_09_02_00_60\source\board\.meta\flash
- Building: OK.
#### sbl_jtag_uniflash
- Writing: OK.
- wrote sbl_qspi in 0x00000 and empty in 0xA0000 via sbl_jtag_uniflash.
- Dumping: OK
- make another project.
- read binary from flash and dump it to file.
- read binary is equal to wrote binary.
#### booting sbl_qspi
- booting sbl_qspi: NG
- debug UART log is not shown.
#### booting sbl_null
- booting sbl_qspi: NG
- debug UART log is not shown.
#### test app: empty via debugger
- debug UART log is shown.
- UART port is available.
### TMDS273EVM
- Import projects from example of SDK
- sbl_qspi_am273x-evm_r5fss0-0_nortos_ti-arm-clang
- sbl_null_am273x-evm_r5fss0-0_nortos_ti-arm-clang
- sbl_jtag_uniflash_am273x-evm_r5fss0-0_nortos_ti-arm-clang
- empty_am273x-evm_system_freertos
- Building: OK.
#### sbl_qspi
- Writing: OK.
- wrote sbl_qspi in 0x00000 and empty in 0xA0000 via sbl_jtag_uniflash.
- booting sbl_qspi: OK
- debug UART log is shown.
- booting app: OK
- debug UART log is shown.
#### sbl_null
- Writing: OK.
- wrote sbl_null in 0x00000 and empty in 0xA0000 via sbl_jtag_uniflash.
- booting sbl_null: OK
- debug UART log is shown.
### Waveforms when nReset is pos-edge.
I took waveforms images with way of below.
- clear flash both board.
- both boards is made QSPI boot mode by SOP switch.
- probes attached.
- push button for nReset pin.
My Oscilloscope is low-grade.
50MHz waveforms may be shown with distorted.
#### QSPICLK/CS
##### Timing
###### Custom board
- small chunk
- only once


###### TMDS273EVM
- large chunk
- twice


##### hole of it
###### Custom board

###### TMDS273EVM

##### zoom(1)
###### Custom board

###### TMDS273EVM

##### zoom(2)
###### Custom board

###### TMDS273EVM

---
Best regards.






