Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH, PHYTC-3P-KIT-AM64
Apologies in advance. This may not be the correct forum for my question, but I am experiencing a very similar Sysconfig issue raised in this AM243x thread (hoping to raise a related thread):
I am using AM64x MCU+ SDK 08.06.00.45 and attempting to support a new flash device in the sbl_uart_uniflash example.
I have successfully run the ospi_flash_diag example and have saved the JSON output to a .json file (SFDP is supported by my device). Here is the content of that .json in case it helps:
{ "flashSize": 67108864, "flashPageSize": 256, "flashManfId": "0x2C", "flashDeviceId": "0x5B1A", "flashBlockSize": 131072, "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": null, "p114": null, "p118": { "isDtr": false, "cmdRd": "0x7C", "cmdWr": "0x84", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 0, "enableType": "255", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null }, "p444s": null, "p444d": null, "p888s": null, "p888d": null, "pCustom": { "fxn": null } }, "addrByteSupport": "1", "fourByteAddrEnSeq": "0x36", "cmdExtType": "NONE", "resetType": "0x30", "deviceBusyType": "0", "cmdWren": "0x06", "cmdRdsr": "0x05", "srWip": 0, "srWel": 0, "cmdChipErase": "0xC7", "rdIdSettings": { "cmd": "0x9F", "numBytes": 5, "dummy4": 0, "dummy8": 0 }, "xspiWipRdCmd": "0x00", "xspiWipReg": "0x00000000", "xspiWipBit": 0, "flashDeviceBusyTimeout": 128000000, "flashPageProgTimeout": 120 }
When I attempt to update my Flash parameters using this .json file in Sysconfig, via the "LOAD FROM JSON" button, I get the following:
Are there any suggested fixes for this issue?
Details on my CCS setup:
I would just manually enter the JSON parameters into Sysconfig but I'm not having success matching all of the outputs of the ospi_flash_diag example to the fields in Sysconfig (some are easy but others are not obvious).
Thank you very much