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.

IWRL6432: "Load Flash Config From JSON" Issue in SysConfig When Adding Support for a Custom Flash Device

Part Number: IWRL6432
Other Parts Discussed in Thread: SYSCONFIG

Dear exparts,

When attempting to add support for a custom flash device, the process of loading the flash configuration from a JSON file is not completing.

I clicked on "LOAD FROM JSON" in SysConfig, and after selecting the JSON file for the custom flash device, it continues to load as shown in the image below and does not complete.

Do you have any suggestions on how to resolve this issue?

By the way, I am using SDK version 5.3, and I have attached the JSON file that I am trying to use.

{
    "flashSize": 2097152,
    "flashPageSize": 256,
    "flashManfId": "0xEF",
    "flashDeviceId": "0x4015",
    "flashBlockSize": 65536,
    "flashSectorSize": 4096,
    "cmdBlockErase3B": "0xD8",
    "cmdBlockErase4B": "0xD8",
    "cmdSectorErase3B": "0x20",
    "cmdSectorErase4B": "0x20",
    "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": "0x3B",
            "cmdWr": "0x02",
            "modeClksCmd": 0,
            "modeClksRd": 0,
            "dummyClksCmd": 0,
            "dummyClksRd": 8,
            "enableType": "0",
            "enableSeq": "0x00",
            "dummyCfg": null,
            "protoCfg": null,
            "strDtrCfg": null
        },
        "p114": {
            "isDtr": false,
            "cmdRd": "0x6B",
            "cmdWr": "0x02",
            "modeClksCmd": 0,
            "modeClksRd": 0,
            "dummyClksCmd": 0,
            "dummyClksRd": 8,
            "enableType": "4",
            "enableSeq": "0x00",
            "dummyCfg": null,
            "protoCfg": null,
            "strDtrCfg": null
        },
        "p118": null,
        "p444s": null,
        "p444d": null,
        "p888s": null,
        "p888d": null,
        "pCustom": null
    },
    "addrByteSupport": "0",
    "fourByteAddrEnSeq": "0x80",
    "resetType": "0x30",
    "cmdWren": "0x06",
    "cmdRdsr": "0x05",
    "srWip": 0,
    "srWel": 1,
    "cmdChipErase": "0xC7",
    "flashDeviceBusyTimeout": 5120000,
    "flashPageProgTimeout": 704
}

  • Hello, 

    It may be possible that there is some bug with the "LOAD FROM JSON" feature, I will look into this on my end as well. For now, can you try manually updating the fields in the Basic Flash Configuration section (FLASH size, manufacturer ID, device ID)? Then you can save the changes to the sysconfig file, rebuild the project and the custom flash should be supported. 

    Best Regards,

    Josh

  • Hi Josh,

    Thank you for your response.

    Could you please check if there are any bugs and inform me of the results?

    By the way, I have confirmed that it is possible to add support for the custom flash by manually updating.

  • Thank you,

    Since you have confirmed that you can add the custom flash manually. I'm going to close this ticket.

    Best,

    Nate

  • Hello, 

    I'm sorry for the delay here. The "Load from JSON" feature is supported and there are no known issues.

    Are you using sysconfig as a standalone application or through CCS? Also, Can you let me know the version of CCS and sysconfig you have installed? You can find out which sysconfig version is used by CCS by going to Window->Preferences. Then in the window that opens go to Code Composer Studio->Products. 

    Best Regards,

    Josh

  • Hello,

    Thanks for your reply. 

    I have used Sysconfig through CCS. The versions of CCS and SysConfig are as follows: CCS is v12 and SysConfig is 1.18.0, as depicted in the image below.

  • Hi, 

    Thank you for the information. It seems you are using CCS version 12.4. I have found that this feature is working for me in CCS 12.3 (sysconfig 1.17). It's possible that there is an issue with this feature in the newer version. I will try to recreate your issue on my end to confirm. 

    Best Regards,

    Josh

  • Hello, 

    This is working in CCS 12.5. Please install the latest version https://www.ti.com/tool/CCSTUDIO

    Best regards,

    Josh

  • Hello,

    I updated CCS to the latest version and comfirmed this feature, but it didn't work.

    Could you let me know which project you used for confirmation and what your sysconfig and mmWave SDK versions are?

  • Hi, 

    I checked this feature with the motion and presence detection demo but  have just checked and it is working with other projects as well. The SDK version is 5.3.0.2 and the sysconfig version is that which is installed with CCS 12.5 (sysconfig 1.18). 

    Can you let me know the operating system of the PC which is used? I can confirm this is working for me on Windows 10.

    Best Regards,

    Josh

  • Hello,

    Thank you for your response. I tried to confirm this feature with the project that you checked, but unfortunately, it didn't work.
    I have used Windows 10 PC. 

    Could you let me know how to check this feature? I would like to follow the same process as yours.

  • Hello,

    Below are the steps I am taking to verify this feature. Can you confirm that you are following the same procedure?  

    SDK Version: mmWave L SDK 5.3.0.2

    Tools version: CCS 12.5 (sysconfig 1.18)

    1. In CCS, import the example project with Project->Import CCS Projects.... then click 'browse' and navigate to C:\ti\MMWAVE_L_SDK_05_03_00_02\examples\mmw_demo\motion_and_presence_detection\xwrL64xx-evm. Click 'Select Folder'. Ensure the demo is selected in the Discovered projects section. Click 'Finish'


    2. In the Project Explorer window in CCS, click the arrow next to the project to view the imported project files. Double-click example.syscfg file. This should open the sysconfig GUI within CCS. 


    3. Under TI BOARD DRIVERS (2) select the FLASH tab. Click 'LOAD FROM JSON' then navigate to the JSON file and select Open. After this the values should be updated in the Basic Flash Configuration section. 

    Best Regards,

    Josh