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, TI team:
we flashed the bin file into external flash(S28HS01GTGABHM033), but SOC can't work.
The bin file is ok, because we used jtag to flash this bin file, SOC can work. So I worry when we flash bin file into external flash chip, SOC should on the special status? or bootmode should config special mode?
those are circuit and bootmode setting.
Have you verified the processor is exiting reset cand entering bootmode? Does the RESETSTATz signal go high?
What is driving the SOC_FLASH_OSPI_RESET signal? Its pulled high at memory, but looks disconnected at processor. Doesn't this mean the flash memory is held in reset?
You've selected Serial NAND for the boot device. Should you be selecting xSPI or OSPI as boot memory? I don't think you are using OctalNAND - are you?
Hi, Robert:
1: I don't know how to verify processor exit reset and enter bootmode, could you tell me how to verify? could you tell me which pin should on which status(high or low)? I think we don't change anything when we flash bin file. so maybe we should set bootmode before flashing bin file.
2: "RESETSTATz" is which pin? and It should be high or low on flashing bin file?
3: we connected "OSPI reset", pull-up.
4: "Should you be selecting xSPI or OSPI as boot memory" it means we should set something on the software tool?
RESETSTATz is low when the processor is in reset, and will go high when the processor completes its reset sequence. Thus to verify the processor is exiting reset, probe RESETSTATz signal and verify it goes high.
What is driving the SOC_FLASH_OSPI_RESET signal? Its pulled high at memory, but looks disconnected at processor. Doesn't this mean the flash memory is held in reset (0 = reset, 1 = not reset)? If the memory is held in reset, it will not respond to commands.
Robert:
I tested the SOC 4 reset pins,G23/K23/A26/A24, all are high. So the SOC are not on the reset mode. cause the SOC can not work reason is not reset pin to low.
Do I need reset 4 pins when I am flashing the bin file? Because I just reset G23 pin to low, and K23/A26/A24 are high when I flashing bin file.
The pins you list (G23/K23/A26/A24) are all reset inputs. RESETSTATz (pin AF27) is a reset output pin, and only goes high after the internal reset mechanism is completed. Its possible for all the reset inputs to be high but the reset output pin can still be low due to other issue. That is why I asked RESETSTATz to be probed.
How are you trying to flash file into flash? Are you using processor to write to flash or connecting external flash writer, and need processor to not interfere?
Hi, Robert:
AF27 is high, so SOC is not on reset mode.
I used the DEDI programmer to flash external flash chip, and I don't turn on power for SOC, only use programmer supply power to flash chip. when I flashed the external chip, external flash chip reset pin(SOC_FLASH_OSPI_RESET) is still low. I don't connect reset pin with programmer tool, do I need to connect this pin with programmer reset IO?
If I flash successfully into external flash chip, SOC boodmode should be changed? set start from external flash chip? I don't know SOC pins should on the what status? you can see my picture, the bootmode pins are in that status.
This is likely a violation as you are applying voltage to pins connected to processor without processor IO being powered. This is NOT recommended as it can create unintended current paths through the processor and damage it. The preferred method would be to power the system (including processor), but hold the processor in reset while communicating/programming the flash device.