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.

IWR6843AOPEVM: Uniflash and error Cannot read properties of undefined (reading 'DS')

Part Number: IWR6843AOPEVM
Other Parts Discussed in Thread: UNIFLASH, IWR6843AOP

Tool/software:

Hi all,

there have been a few posts about the error Cannot read properties of undefined (reading 'DS').

I have just moved to a new computer (all previous laptops did not have this issue), but I am now getting the above error on all installed versions of uniflash (e.g. 9.0 and 8.8) as well as the cloud version, when trying to flash for example an IWR6843AOP.

Not sure if there is some security setting getting in the way.

Here is the GUI log:

14:38:10:190 error - {}
14:38:10:197 error - {}
14:38:10:198 error - {}
14:38:13:678 error - {}
14:38:13:679 error - {}
14:38:15:235 error - {}
14:38:16:882 debug - Target Configuration. Device: iwr6843AOP, Connection: Serial_Connection, LP: false
14:38:18:647 debug - ufDS, session.configured, partnum of current session = iwr6843aop
14:38:19:128 debug - AddQuickSetting. id: COMPortText, type: property, core: Cortex_R4_0
14:38:19:128 debug - AddQuickSetting. id: COMPort, type: property, core: Cortex_R4_0
14:38:19:155 debug - addTargetStateListener on Cortex_R4_0
14:38:19:307 error - {}
14:38:32:504 error - {}
14:38:32:506 error - {}
14:38:41:234 debug - returning new configure
14:39:08:295 error - socket error
14:39:08:295 error - socket error
14:39:08:295 error - configure failed: undefined
14:39:08:295 error - {}
14:39:26:293 debug - returning new configure
14:39:26:293 error - socket error
14:39:26:293 error - configure failed: undefined
14:39:26:293 error - {}
14:39:26:293 error - Cannot read properties of undefined (reading 'DS')
14:39:35:647 error - {}
14:39:35:648 error - {}
14:39:37:945 error - {"msg":"MISSING_EXTENSION","name":"MissingExtension"}

But I cannot figure out how to get the ds.log out.

 

Can someone help on what is missing?

Thanks!

--Gunter

  • Hi all,

    the Windows machine in use is Windows 11.

    Regards,

    --Gunter

  • Hi Gunter,

    Can you try reverting to an older version of Uniflash. Santosh was seeing a similar issue so I'll assign him here.

    Best,

    Nate

  • Hello Gunter.

    I uninstalled the application, reinstalled it, and shut down my computer and then turned it back on, and it seemed to resolve the issue.

    Sincerely,

    Santosh

  • Hi Santosh and Nate,

    first I tried uniflash 8.6, and that also failed with the following GUI log.

    10:31:02:870 log - NWAgentAPI: dinfraConfigue resolved successfully.
    10:31:03:485 error - {}
    10:31:03:492 error - {}
    10:31:03:497 error - {}
    10:31:03:497 error - {}
    10:31:03:532 error - {}
    10:31:03:533 error - {}
    10:31:03:535 error - {}
    10:31:03:537 error - {}
    10:31:03:541 error - {}
    10:31:03:542 error - {}
    10:31:03:937 error - {}
    10:31:03:940 error - {}
    10:31:03:959 error - {}
    10:31:04:131 error - {}
    10:31:07:328 error - {}
    10:31:07:508 error - {}
    10:31:08:415 error - {}
    10:31:12:283 error - {}
    10:31:15:342 error - {}
    10:31:15:352 error - {}
    10:31:17:361 error - {}
    10:31:17:384 error - {}
    10:31:17:929 error - {}
    10:31:17:932 error - {}
    10:31:17:932 error - {}
    10:31:18:424 error - {}
    10:31:18:425 error - {}
    10:31:20:321 error - {}
    10:31:20:321 error - {}
    10:31:20:321 error - {}
    10:31:20:569 error - {}
    10:31:20:569 error - {}
    10:31:21:583 error - {}
    10:31:21:583 error - {}
    10:31:21:674 error - {}
    10:31:21:675 error - {}
    10:31:24:605 error - {}
    10:31:28:577 debug - Target Configuration. Device: iwr6843AOP, Connection: Serial_Connection, LP: false
    10:31:28:696 debug - ufDS, session.configured, partnum of current session = iwr6843aop
    10:31:28:719 debug - addTargetStateListener on Cortex_R4_0
    10:31:28:725 debug - AddQuickSetting. id: COMPortText, type: property, core: Cortex_R4_0
    10:31:28:725 debug - AddQuickSetting. id: COMPort, type: property, core: Cortex_R4_0
    10:31:28:762 error - {}
    10:32:12:206 error - {}
    10:32:12:208 error - {}
    10:32:38:599 debug - returning new configure
    10:34:54:766 error - socket error
    10:34:54:767 error - configure failed: undefined
    10:34:54:768 error - {}
    10:34:54:769 error - Cannot read properties of undefined (reading 'DS')
    10:45:52:809 error - {}
    10:45:52:810 error - {}
    
    

    Previously tried 8.8 and 9.0 on laptop, and 9.0 on cloud, all failed with same error

    I feel like, something is fundamentally not working, some timeout timing or race condition. What could be the root cause?

    Let me try to uninstall all uniflash versions, then shut down, then install 8.6, shut down, then retest.

    One more question: Can you send me the correct dslite command line for the IWR6843AOP to use the CLI instead of the GUI and test this?

    Regards,

    --Gunter

  • Hi Santosh,

    unfortunately, after un-installing all uniflash versions, restarting the computer, then installing uniflash 8.6, restarting the computer again, and then testing, it leads to the same error

    Error!
    Cannot read properties of undefined (reading 'DS')

    What could cause this?

    If you have the appropriate dslite command, I can test with just the CLI.

    Thanks!

    --Gunter

  • Hello Gunter.

    I also tried restarting my PC and it didn't work; I had to specifically shut down and then turn the PC back on.  Not sure why that worked, but please see if that works for you.

    Sincerely,

    Santosh