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.

AM2732: QSPI Flash setting in am2732 custom board

Part Number: AM2732

Tool/software:

Dear Experts

My team have created a custom board for am2732(AM2732CDRFHAZCER) and am checking the flash writing.

QSPI flash is MX25L51245G.

Confirm that a "CCCC" response is returned in UART boot mode.

I ran uart_uniflash.py but it stopped when writing SBL.

I guess the FLASH settings of the uart_uniflash project were not suitable for the MX25L51245G, so I changed the settings, but they are not working properly.
I cannot connect the debug probe correctly in my environment, so I cannot run the qspi_diag project.

So I tried to set it up by referring to the data sheet, but it didn't work.
I will attach the settings I made and the data sheet I referred to, so please point out any mistakes.
 




MX25L51245's datasheet is here

Best regards,

yuya ikeda

  • Hi all experts.
    I apologize for the inconsistent formatting.
    Add information. The SDK version I'm using is mcu_plus_sdk_am273x_09_02_00_52.

    Best regards,
    yuya ikeda

  • Dear all experts.

    After further investigation, I was able to boot in NoBoot mode and obtain a list of settings by running qspi_diag project.

    The reason noboot mode did not start was because the GEL file had not been configured correctly.

    The contents of the SFDP I obtained are pasted below. Sorry for the trouble.

    [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": "67108864",
    	"flashPageSize": "256",
    	"flashManfId": "0xC2",
    	"flashDeviceId": "0x201A",
    	"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,
    			"enableType": "2",
    			"enableSeq": "0x00",
    			"dummyCfg": null,
    			"protoCfg": null,
    			"strDtrCfg": null,
    		},
    		"p118": null,
    		"p444s": null,
    		"p444d": null,
    		"p888s": null,
    		"p888d": null,
    		"pCustom": null
    	},
    	"addrByteSupport": "1",
    	"fourByteAddrEnSeq": "0x85",
    	"resetType": "0x10",
    	"cmdWren": "0x06",
    	"cmdRdsr": "0x05",
    	"srWip": 0,
    	"srWel": 1,
    	"cmdChipErase": "0xC7",
    	"flashDeviceBusyTimeout": 256000000,
    	"flashPageProgTimeout": 256
    }