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.

AM2634-Q1: Does AM26x support MX25L25645G QSPI flash for flash programmer (uart_uniflash)?

Part Number: AM2634-Q1
Other Parts Discussed in Thread: AM2634, UNIFLASH

Hi, Dear Experts :

My customer use MX25L25645G QSPI flash for their AM2634 custom board, and get some error when uart_uniflash starts programming, return error as below:

Should we need to modify any burning configuration for uart_uniflash programmer?

If the answer is yes, How do we correct it?

QSPI Flash datasheet :

https://www.macronix.com/Lists/Datasheet/Attachments/8906/MX25L25645G,%203V,%20256Mb,%20v2.0.pdf

Flash support list:

  

  • Hello Gibbs,

    XMODEM fail is the UART protocol used for data transfer. Often there are other reasons attributing to this before a hardware compatibility issue.

    That the correct boot mode of the device has been selected should be checked by verifying UART port being connected to is printing a 'C' every 2-3 seconds.

    In addition, a common issue is not closing the COM port in question from UART terminal software after making this check.

    Can you verify that they have followed all steps outlined here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM263X/09_00_00_35/exports/docs/api_guide_am263x/GETTING_STARTED_FLASH.html#autotoc_md46

    Best Regards,

    Ralph Jacobi

  • Hi, Ralph

    Thanks you replies.

    Let's me make sure one thing first. If "uart boot success" (UART port being connected to is printing a 'C' ), does it also mean AM26x hardware bootstrap is fine? basically, I can use JTAG for debugging when boot mode swaps to no boot mode? Am I right?

    Gibbs

  • Hi, Aakash

    Thanks your replies.

    I already check this link which you post before.

    I feel a little bit confuse about this item. (Step2)

    My question is,  "How to create JSON file from qspi_flash_diag log?"

    qspi_flash_diag example like below.

    May you give me some examples?

    Many Thanks

    Gibbs

  • Hi ,

    Which version of SDK are you using ?

    Best Regards,
    Aakash

  • Hi, Aakash

    mcu_plus_sdk_am263x_09_00_00_35

    Gibbs

  • Hi, Askash,

    About JSON log file problems, I think problem solved.

    If flash support SFDP, QSPI Flash Diag. APP will auto output related information

    example as below, feed back from customer

    [QSPI Flash Diagnostic Test] Executing Flash Erase on first block...
    [QSPI Flash Diagnostic Test] Done !!!                               
    [QSPI Flash Diagnostic Test] Performing Write-Read Test...          
    [QSPI Flash Diagnostic Test] Write-Read Test Passed!                
    [QSPI Flash Diagnostic Test] SFDP Information :                     
    ================================================                    
                          SFDP                                          
    ================================================                    
    SFDP Major Revision                       : 0x1                     
    SFDP Minor Revision                       : 0x6                     
    Number of Parameter Headers in this Table : 3                       
                                                                        
    Types of Additional Parameter Tables in this flash                  
    ---------------------------------------------------                 
    Unsupported Parameter Table type!!! - 0xFFC2                        
    4 BYTE ADDRESSING MODE INSTRUCTIONS TABLE                           
                                                                        
                                                                        
    {                                                                   
                                                                        
            "flashSize": "33554432",                                    
            "flashPageSize": "256",                                     
            "flashManfId": "0xC2",                                      
            "flashDeviceId": "0x2019",                                  
            "flashBlockSize": "65536",                                  
            "flashSectorSize": "4096",                                  
            "cmdBlockErase3B": "0xD8",                                  
            "cmdBlockErase4B": "0xDC",                                  
            "cmdSectorErase3B": "0x20",                                 
            "cmdSectorErase4B": "0x21",                                 
            "protos": {                                                 
                    "p111": {                                           
                            "isDtr": false,                             
                            "cmdRd": "0x03",                            
                            "cmdWr": "0x02",                            
                            "modeClksCmd": 0,                           
                            "modeClksRd": 0,                            
                            "dummyClksCmd": 0,                          
                            "dummyClksRd": 0,                           
                            "enableType": "0",                          
                            "enableSeq": "0x00",                        
                            "dummyCfg": null,                           
                            "protoCfg": null,                           
                            "strDtrCfg": null,                          
                    },                                                  
                    "p112": {                                           
                            "isDtr": false,                             
                            "cmdRd": "0x3C",                            
                            "cmdWr": "0x02",                            
                            "modeClksCmd": 0,                           
                            "modeClksRd": 0,                            
                            "dummyClksCmd": 0,                          
                            "dummyClksRd": 8,                           
                            "enableType": "0",                          
                            "enableSeq": "0x00",                        
                            "dummyCfg": null,                           
                            "protoCfg": null,                           
                            "strDtrCfg": null,                          
                    },                                                  
                    "p114": {                                           
                            "isDtr": false,                             
                            "cmdRd": "0x6C",                            
                            "cmdWr": "0x02",                            
                            "modeClksCmd": 0,                           
                            "modeClksRd": 0,                            
                            "dummyClksCmd": 0,                          
                            "dummyClksRd": 8,