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.

CCS/LAUNCHXL2-RM46: uniflash_sl.5.1.0.2397 - GUI "Browse" Button No-Responsive

Part Number: LAUNCHXL2-RM46
Other Parts Discussed in Thread: UNIFLASH, RM46L852,

Tool/software: Code Composer Studio

This is a string issue with the GUI that comes with uniflash_sl.5.1.0.2397 (chromium). UniFlash loads without any problem, on the Program tab I can reset CPU or System without issue, but the "Browse" button (animated Green "Browse" button) when clicked on -- does nothing. I would expect a "File-Select" dialog to be displayed, but no.

I am also having a problem loading project1 demo using UniFlash from  [[View:http://processors.wiki.ti.com/index.php/LAUNCHXL2_RM46:_Project_1:1230:0]]. When I attempt to flash from the command line, I receive:

./dslite.sh -c ~/doc/arm/ti_rm46x/RM46L852.ccxml -e -v /home/david/doc/arm/ti_rm46x/project1_RM46x.out
Executing the following command:
> /opt/ti/uniflash_5.1.0/deskdb/content/TICloudAgent/linux/ccs_base/DebugServer/bin/DSLite flash -c /home/david/doc/arm/ti_rm46x/RM46L852.ccxml -e -v /home/david/doc/arm/ti_rm46x/project1_RM46x.out

For more details and examples, please refer to the UniFlash Quick Start guide.

DSLite version 9.2.0.1723
Configuring Debugger (may take a few minutes on first launch)...
        Initializing Register Database...
        Initializing: IcePick
        Executing Startup Scripts: IcePick
        Initializing: Dap
        Executing Startup Scripts: Dap
        Initializing: CortexR4
        Executing Startup Scripts: CortexR4
Connecting...
CortexR4: GEL Output:   Memory Map Setup for Flash @ Address 0x0Verifying Program: /home/david/doc/arm/ti_rm46x/project1_RM46x.out
        Preparing ...
        .text: 0 of 61280 at 0x0
error: CortexR4: File Loader: Verification failed: Values at address 0x00000000 do not match Please verify target memory and memory map.
        Finished
Failed: File: /home/david/doc/arm/ti_rm46x/project1_RM46x.out: a data verification error occurred, file load failed.

I'm not sure if both failures are related. The first time I used UniFlash to list the flash operations available it installed a firmware update, so that may/may not be related, e.g.

./dslite.sh -c ~/doc/arm/ti_rm46x/RM46L852.ccxml -e -p
Executing the following command:
> /opt/ti/uniflash_5.1.0/deskdb/content/TICloudAgent/linux/ccs_base/DebugServer/bin/DSLite flash -c /home/david/doc/arm/ti_rm46x/RM46L852.ccxml -e -p

For more details and examples, please refer to the UniFlash Quick Start guide.

DSLite version 9.2.0.1723
Configuring Debugger (may take a few minutes on first launch)...
        Initializing Register Database...
        Initializing: IcePick
        Executing Startup Scripts: IcePick
        Initializing: Dap
        Executing Startup Scripts: Dap
        Initializing: CortexR4
        Executing Startup Scripts: CortexR4
Connecting...
warning: IcePick: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 8.2.0.00004)
warning: IcePick: Warning: The firmware update completed successfully. (Emulation package 8.2.0.00004)
CortexR4: GEL Output:   Memory Map Setup for Flash @ Address 0x0
--- Available Flash Operations ---
Erase | BlankCheck | Profile | ProfileAndCompare
Running...
Success

So I'm stuck. Fresh install of UniFlash and the LaunchXL2-RM46 board and Project_1 and I can't get it to load. (on Linux). Any help will be appreciated.

  • Hi,

    David Rankin59 said:
    error: CortexR4: File Loader: Verification failed: Values at address 0x00000000 do not match Please verify target memory and memory map.

    I see the same error in Uniflash for Windows. Given the same executable loads in CCS and this device seems to have a GEL that sets the memory map to FLASH at memory address 0x0 (also reported by Uniflash), I wonder if there is an issue with the verification algorithm of Uniflash.

    I will check with someone and report back tomorrow. 

    Regards,

    Rafael 

  • Well, I've made progress on the flashing from the command line itself. The -v and flash of a new file a mutually exclusive, so simply removing verify enables the flash to complete.

    As far as the UniFlash Gui, it simply seems to be an issue/error with chrome. I am running on openSUSE 42.3 (yes, I'll upgrade to 15.0, but setting aside a day in case things go awry hasn't been an option lately). I'm not sure how to go about troubleshooting the problem with the partial implementation of chrome and the non-responsive "Browse" button. I don't use chrome as a matter of policy, you have to go to great length to prevent it from "phoning-home...". I have Firefox 60.0.9esr and I can open the UniFlash pages, but they are non-responsive.

    I don't mind the command-line (in fact I prefer it), so calling dslite.sh with options is fine for me. Thank your for your input here. Let me know if you find anything further and I'll do the same.

  • Hi David,

    David Rankin59 said:
    As far as the UniFlash Gui, it simply seems to be an issue/error with chrome. I am running on openSUSE 42.3 (yes, I'll upgrade to 15.0, but setting aside a day in case things go awry hasn't been an option late

    I tried out UniFlash using the standalone desktop version and the cloud versions in Chrome and FireFox with my openSUSE 42.3 VM. They all seem to work fine (the "Browse" dialog works every time). Can you go to the "Settings" options (in the upper right corner) and in the settings dialog, enable both GUI Logging. Then reproduce the issue and zip and attach the logs to this thread.

    Thanks

    ki

  • Hello,
    I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).

    Thanks,
    ki

  • Same issue the Green "Browse" button does not bring up a fileOpen dialog. After enabling the GUI logging, the following was obtained:

    04:20:32:654 error - {}
    04:20:32:685 error - {}
    04:20:32:708 error - {}
    04:20:32:713 error - {}
    04:20:32:729 error - {}
    04:20:32:747 error - {}
    04:20:32:994 error - {}
    04:20:32:997 error - {}
    04:20:33:018 error - {}
    04:20:33:027 error - {}
    04:20:33:055 error - {}
    04:20:33:066 error - {}
    04:20:33:115 log - NWAgentAPI: dinfraConfigue resolved successfully.
    04:20:33:124 error - {}
    04:20:33:204 error - {}
    04:20:33:560 error - {}
    04:20:33:584 error - {}
    04:20:33:590 error - {}
    04:20:33:596 error - {}
    04:20:33:611 error - {}
    04:20:33:850 error - {}
    04:20:33:872 error - {}
    04:20:33:874 error - {}
    04:20:33:876 error - {}
    04:20:33:877 error - {}
    04:20:34:764 error - {}
    04:20:34:764 error - {}
    04:20:34:767 error - {}
    04:20:34:768 error - {}
    04:20:34:834 error - {}
    04:20:35:445 error - {}
    04:20:40:441 error - {}
    04:20:40:568 error - {}
    04:20:40:577 error - {}
    04:20:40:579 error - {}
    04:20:40:586 error - {}
    04:20:40:642 error - {}
    04:23:04:198 error - {}
    04:23:38:569 debug - Target Configuration. Device: rm46l852, Connection: TIXDS110_Connection, LP: true
    04:23:38:955 debug - ufDS, session.configured, partnum of current session = rm46l852
    04:23:39:091 debug - addTargetStateListener on CortexR4
    04:23:39:187 error - {}
    04:25:46:104 info - Fetching settings for settings.ufsettings
    04:27:07:272 error - {}
    04:27:40:584 error - {}

    I'm not sure if it shows anything useful, but nothing happens when I press the "Browse" button to select the file to flash.

  • Thanks. 

    As you surmised, it is not that useful. 

    If you do a "Session -> Load" or "Session -> Save", do you at least get the file dialog for those? 

  • Thanks for the thought, but unfortunately -- No, the Session->Load does nothing and does not bring up a file-open dialog. This is strange, as I have also loaded CCS 9.2 for Linux on the same box and all is working fine (despite the horrible spacing caused by the toolkit which looks like Gtk+3, that's not TI, that Gnome, and a long running battle in the Gtk+2 to Gtk+3 transition)

    So this is bewildering, but not a showstopper. It would be great if I could get UniFlash working, but I don't mind ./dslite.sh, it works great from the command line.

  • Did you try from both the desktop GUI application and also the Cloud version?

  • Thank you for asking, I installed the desktop version from "uniflash_sl.5.1.0.2397.run" (on LInux) and it is installed to /opt/ti along with: "ccs920  simplelink_msp432p4_sdk_3_30_00_13  uniflash_5.1.0  xdctools_3_60_00_24_core". I will check the TI site for the cloud-version (though I generally avoid online versions as they rely on an internet connection which is not always present in East Texas) I'll report back on the results of the cloud-version .

  • Thanks David. Keep us posted. 

    If you have time, could you also try installing the desktop version of PinMux?

    PinMux desktop also uses node webkit like UniFlash so we are curious if you have the same issues there with bringing up a file dialog.

    Thanks

    ki