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.

AM620-Q1: question to change QSPI Nor flash for their AM620-Q1 device

Part Number: AM620-Q1

Dear Expert.

local customer wants to change QSPI Nor flash for their AM620-Q1 device.

the new flash device, S25FS512S, supports 1S-4S-4S for Qual I/O command protocols, but don't support 6B command.

customer wants to know if this work-round is good or not, boot w/ SPI BOOT MODE, then swtich to QSPI 1S-4S-4S by SW. 

Would you please help check below questions?

  1. if the idea is festible on AM620-Q1?
  2. if TI QSPI flash driver in RTOS/Linux SDK can support this new flash device? 
  3.  if TI has similiar driver for such kind of flash device for their reference?
  4. BTW, I will send datasheet to you later by email. image.png

image.png

thanks a lot!

yong

 

  • Hi Yong,

    I would have you try both the bootmodes mentioned in the compatibility report I generated.

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Flash Boot Compatibility Report - S25FS512S</title>
        <style>
            * { margin: 0; padding: 0; box-sizing: border-box; }
            body {
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                line-height: 1.6;
                color: #333;
                background: #f5f5f5;
                padding: 20px;
            }
            .container {
                max-width: 900px;
                margin: 0 auto;
                background: white;
                padding: 40px;
                border-radius: 8px;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            }
            .header {
                text-align: center;
                border-bottom: 3px solid #c00;
                padding-bottom: 20px;
                margin-bottom: 30px;
            }
            .header h1 { color: #c00; font-size: 1.8em; margin-bottom: 10px; }
            .header .flash-name {
                font-size: 1.5em;
                color: #333;
                font-weight: bold;
                background: #f0f0f0;
                padding: 10px 20px;
                border-radius: 5px;
                display: inline-block;
                margin: 15px 0;
            }
            .header .timestamp { color: #888; font-size: 0.9em; }
            .section { margin-bottom: 30px; }
            h2 {
                color: #c00;
                margin-bottom: 15px;
                padding-bottom: 5px;
                border-bottom: 2px solid #eee;
            }
            .flash-info {
                background: #f9f9f9;
                padding: 15px;
                border-radius: 5px;
                margin-bottom: 20px;
            }
            .flash-info p { margin: 5px 0; }
            .compatible {
                background: #e8f5e9;
                border-left: 4px solid #4caf50;
                padding: 15px;
                margin: 10px 0;
                border-radius: 0 5px 5px 0;
            }
            .compatible h3 { color: #2e7d32; margin-bottom: 10px; }
            .incompatible {
                background: #ffebee;
                border-left: 4px solid #c00;
                padding: 15px;
                margin: 10px 0;
                border-radius: 0 5px 5px 0;
            }
            .incompatible h3 { color: #c00; margin-bottom: 10px; }
            .warning {
                background: #fff3e0;
                border: 1px solid #ff9800;
                padding: 10px;
                margin: 10px 0;
                border-radius: 5px;
                font-size: 0.9em;
            }
            .warning::before {
                content: "WARNING: ";
                font-weight: bold;
                color: #e65100;
            }
            .reason { color: #c00; margin-left: 20px; font-size: 0.95em; }
            .bootmode-pins {
                background: #e3f2fd;
                border: 1px solid #2196f3;
                padding: 15px;
                margin: 10px 0;
                border-radius: 5px;
                font-family: 'Consolas', monospace;
            }
            .bootmode-pins .header-row { color: #1565c0; font-weight: bold; }
            .bootmode-pins .bits-row { margin: 10px 0; }
            .recommendation {
                background: #c00;
                color: white;
                padding: 20px;
                border-radius: 5px;
                margin: 20px 0;
            }
            .recommendation h3 { margin-bottom: 10px; }
            table { width: 100%; border-collapse: collapse; margin: 15px 0; }
            th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }
            th { background: #c00; color: white; }
            tr:nth-child(even) { background: #f9f9f9; }
            .footer {
                text-align: center;
                margin-top: 40px;
                padding-top: 20px;
                border-top: 1px solid #eee;
                color: #888;
                font-size: 0.85em;
            }
            .ok { color: #4caf50; font-weight: bold; }
            .fail { color: #c00; font-weight: bold; }
        </style>
    </head>
    <body>
        <div class="container">
            <div class="header">
                <h1>Flash Boot Compatibility Report</h1>
                <div class="flash-name">S25FS512S</div>
                <p>TI AM62x Family (AM62Px, AM62x, AM62Dx, AM62Ax, AM62Lx)</p>
                <p class="timestamp">Generated: 2026-04-21 16:13:27</p>
            </div>
    
            <div class="section">
                <h2>Flash Information</h2>
                <div class="flash-info">
                    <p><strong>Part Number:</strong> S25FS512S</p>
                    <p><strong>Type:</strong> NOR</p>
                    <p><strong>Density:</strong> 512 Mb</p>
                </div>
            </div>
    
            <div class="section">
                <h2>Compatible Boot Modes</h2>
    
                <div class="compatible">
                    <h3><span class="ok">[OK]</span> xSPI_1S1S1S</h3>
                    <p>xSPI Boot - Legacy Mode (1S-1S-1S @ 50MHz)</p>
    
                    <div class="bootmode-pins">
                        <div class="header-row">B9&nbsp;&nbsp;B8&nbsp;&nbsp;B7&nbsp;&nbsp;B6&nbsp;&nbsp;B5&nbsp;&nbsp;B4&nbsp;&nbsp;B3&nbsp;&nbsp;B2&nbsp;&nbsp;B1&nbsp;&nbsp;B0</div>
                        <div class="bits-row">&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1</div>
                    </div>
                </div>
    
                <div class="compatible">
                    <h3><span class="ok">[OK]</span> SPI</h3>
                    <p>Standard SPI Boot (1S-1S-1S mode)</p>
    
                    <div class="bootmode-pins">
                        <div class="header-row">B9&nbsp;&nbsp;B8&nbsp;&nbsp;B7&nbsp;&nbsp;B6&nbsp;&nbsp;B5&nbsp;&nbsp;B4&nbsp;&nbsp;B3&nbsp;&nbsp;B2&nbsp;&nbsp;B1&nbsp;&nbsp;B0</div>
                        <div class="bits-row">&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1</div>
                    </div>
                </div>
    
            </div>
    
            <div class="section">
                <h2>Incompatible Boot Modes</h2>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> OSPI</h3>
                    <p>Octal SPI Boot (1S-1S-8S mode)</p>
                    <p class="reason">- Boot mode OSPI (cmd 0x8B) not enabled</p>
                    <p class="reason">- Data width insufficient: requires 8-bit, flash supports 4-bit</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> xSPI_8D8D8D_0x0B</h3>
                    <p>xSPI Boot - High Speed Mode (8D-8D-8D @ 25MHz, cmd 0x0B)</p>
                    <p class="reason">- Boot mode xSPI_8D8D8D_0x0B (cmd 0x0B) not enabled</p>
                    <p class="reason">- Data width insufficient: requires 8-bit, flash supports 4-bit</p>
                    <p class="reason">- Flash with RESET pin operates in 3-byte address mode; 4-byte addressing commands not supported</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> xSPI_8D8D8D_0xEE</h3>
                    <p>xSPI Boot - High Speed Mode (8D-8D-8D @ 25MHz, cmd 0xEE)</p>
                    <p class="reason">- Boot mode xSPI_8D8D8D_0xEE (cmd 0xEE) not enabled</p>
                    <p class="reason">- Data width insufficient: requires 8-bit, flash supports 4-bit</p>
                    <p class="reason">- Flash with RESET pin operates in 3-byte address mode; 4-byte addressing commands not supported</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> xSPI_SFDP</h3>
                    <p>xSPI Boot with SFDP (OCTAL devices only, Auto-configured 8D-8D-8D)</p>
                    <p class="reason">- Data width insufficient: requires 8-bit, flash supports 4-bit</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> QSPI</h3>
                    <p>Quad SPI Boot (1S-1S-4S mode)</p>
                    <p class="reason">- Boot mode QSPI (cmd 0x6B) not enabled</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> Serial_NAND_1bit</h3>
                    <p>Serial NAND Boot (1S-1S-1S mode)</p>
                    <p class="reason">- Flash type mismatch: requires NAND, flash is NOR</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> Serial_NAND_4bit</h3>
                    <p>Serial NAND Boot (1S-1S-4S mode)</p>
                    <p class="reason">- Flash type mismatch: requires NAND, flash is NOR</p>
                </div>
    
                <div class="incompatible">
                    <h3><span class="fail">[X]</span> Serial_NAND_8bit</h3>
                    <p>Serial NAND Boot (1S-1S-8S mode)</p>
                    <p class="reason">- Flash type mismatch: requires NAND, flash is NOR</p>
                </div>
    
            </div>
    
            <div class="section">
                <h2>Recommendations</h2>
                <div class="recommendation"><h3>RECOMMENDED: Use xSPI (1S-1S-1S @ 50MHz).</h3></div>
    
                <h3>Recommended Bootmode Pin Configuration (xSPI_1S1S1S)</h3>
                <div class="bootmode-pins">
                    <div class="header-row">B9&nbsp;&nbsp;B8&nbsp;&nbsp;B7&nbsp;&nbsp;B6&nbsp;&nbsp;B5&nbsp;&nbsp;B4&nbsp;&nbsp;B3&nbsp;&nbsp;B2&nbsp;&nbsp;B1&nbsp;&nbsp;B0</div>
                    <div class="bits-row">&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;1</div>
                    <p style="margin-top: 10px;">
                        B0-B2: 1&nbsp;1&nbsp;0 = 25 MHz Reference Clock<br>
                        B3-B6: 0&nbsp;1&nbsp;1&nbsp;1 = Boot Mode<br>
                        B7-B9: 0&nbsp;0&nbsp;0 = Configuration
                    </p>
                    <p><strong>Note:</strong> Boot is always on CS0</p>
                </div>
    
            </div>
    
            <div class="section">
                <h2>Quick Reference Summary</h2>
                <table class="summary-table">
                    <tr>
                        <th>Mode</th>
                        <th>Protocol</th>
                        <th>Command</th>
                        <th>Dummy</th>
                        <th>Frequency</th>
                        <th>Bootmode Pins (B9-B0)</th>
                    </tr>
    
                    <tr>
                        <td>xSPI_1S1S1S</td>
                        <td>1S-1S-1S</td>
                        <td>0x0B</td>
                        <td>8</td>
                        <td>50 MHz</td>
                        <td style="font-family: monospace; letter-spacing: 2px;">0&nbsp;0&nbsp;0&nbsp;1&nbsp;1&nbsp;1&nbsp;0&nbsp;0&nbsp;1&nbsp;1</td>
                    </tr>
    
                    <tr>
                        <td>SPI</td>
                        <td>1S-1S-1S</td>
                        <td>0x03</td>
                        <td>0</td>
                        <td>6.25 MHz</td>
                        <td style="font-family: monospace; letter-spacing: 2px;">0&nbsp;0&nbsp;0&nbsp;0&nbsp;0&nbsp;1&nbsp;1&nbsp;0&nbsp;1&nbsp;1</td>
                    </tr>
    
                </table>
                <p><strong>Total compatible modes:</strong> 2</p>
    
            </div>
    
            <div class="footer">
                <p>Generated by Flash Boot Compatibility Checker</p>
                <p>TI AM62x Family - AM62Px, AM62x, AM62Dx, AM62Ax, AM62Lx</p>
                <p style="margin-top: 15px;"><strong>Important Resource:</strong> <a href="https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1602421/faq-am62x-am62ax-am62d-q1-am62p-am62l-am64x-am243x-xspi-faqs" target="_blank" style="color: #0066cc;">xSPI FAQs List</a></p>
            </div>
        </div>
    </body>
    </html>
    

    NOTE: This is currently an internal tool that I am using to generate this html page, you can be sure that the selected flash will boot in classic SPI Bootmode 1s-1s-1s, but you can also try booting in XSPI_1S_1S_1S as mentioned in the report.

    Regards,

    Vaibhav

  • Dear Vaibhav.

    thank you for quick answer.

    may I ask your help on below questions from SW perspective?

    1. if TI QSPI flash driver in RTOS/Linux SDK can support this new flash device? 
    2.  if TI has similiar driver for such kind of flash device for their reference?

    thanks a lot!

    yong

  • Hi Yong,

    1). Yes the TI QSPI Flash driver does support this type of device. We already support a QSPI Serial NOR Flash (S25HL512T) on our AM243-LP Board.

    2). The OSPI driver will remain the same, the above Flash driver can be referred with regards to QSPI Serial NOR Flash.

    Please make sure to set the Quad Enable bit to perform Quad operations, we have a FAQ that talks about the same.

    We also have a Custom Flash Debug Guide for Custom Flash integration.

    Regards,

    Aryamaan Chaurasia

  • Dear Aryamaan Chaurasia

    Thanks for the update. shared with customer and wait for their feedback. Please expect several days delay.

    thanks a lot!

    yong

  • Hi Yong,

    Sure, let us know if the customer is facing any issues.

    Regards,

    Aryamaan Chaurasia

  • Dear Aryamaan Chaurasia, Vaibhav.

    Got feedback from customer, they are still working to find new device to support 1s-1s-4s, see below. That would be better for fast boot.

    Would you please help check if AM620-Q1 can use this device w/ QSPI BOOT MODE? SPEC will be sent by email to you.

    S25HS256T, S25HS512T, S25HS01GT, S25HL256T, S25HL512T, S25HL01GT

    1. read command 6B supported in 1s-1s-4s mode.

    2. up to 166MHz clock speed.

    thanks a lot!

    yong

  • Hi,

    S25HL512T is one of the flashes tested with AM243-LP TI EVM.

    Should be able to support on AM62x as well, let me check on the frequency and other parameters which we have tested this flash with.

    Regards,

    Vaibhav

  • Dear Vaibhav.

    any update?

    Should be able to support on AM62x as well, let me check on the frequency and other parameters which we have tested this flash with.

    thanks a lot!

    yong

  • Hi,

    With AM243-LP we have tested S25HL512T flash with:

    • Reads @ 100 MHz
    • Erase and Writes @ 25 MHz

    Regards,

    Vaibhav

  • Dear Vaibhav.

    thanks for your support. Has shared the message to customer and wait for feedback.

    close this ticket.

    thanks a lot!

    yong