PEmicro logo
Cart New Account Login

Logo image
HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
MC56F84789 hangs on .tcl initialization Rev D universal microlink
Walter C. Jan 7, 2020 at 09:01 PM (21:01 hours)
Staff: Juan S.

  • Our old universal multilink (green) failed after many years of service. Replaced with newer Rev D version. (blue). We initially had issues trying to connect with our products that use Kinetis MK10 family. We use CodeWarrior 10.6. We downloaded the CM10 patch and was then able to debug/download programs successfully. Followed the same procedure for the DSC files, but cannot get Codewarrior to connect.  CodeWarrior hangs on "Executing Initialization ..../MC56F84789.tcl 
    We were able to reliably connect to the same hardware with the older multilink. Would appreciate any help on how to get the newer version working.


  • Having started again with the issue this morning brought a new development. The codewarrior no longer hangs at the ...M56F8478.tcl, but appears to get closer in the process. The codewarrior console shows that it is downloading and gets to 99%, but stops indefinitely.

    The other console below

    Starting 3rd party flash programming...
    INF: Copyright 2017 P&E Microcomputer Systems,Inc.
    INF: Command Line :"C:\Freescale\CW MCU v10.6\eclipse\..\MCU\bin\de.exe" -noni -language en -ORBendPoint giop:tcp: -ORBtraceLevel 0
    GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PEDEBUG, Entry : IS_GDB_CONFIG, Value : 0, R) => DI_ERR_NONFATAL
    INF: Initializing.
    INF: Target has been RESET and is active.
    INF: CMD>CM C:\Freescale\CW MCU v10.6\MCU\bin\Plugins\support\DSC\gdi\P&E\freescale_mc56f84789_1x16x144k_all.dsp
    INF: Initializing.
    INF: Initialized.
    INF: ;version 1.07, 09/22/2016, Copyright P&E Microcomputer Systems, [mc56f84789]
    INF: ;device freescale, mc56f84789, 1x16x144k, desc=all
    INF: ;begin_cs device=$00000000, length=$01040000, ram=$00060000
    INF: Loading programming algorithm ...

  • Hi Walter, 

    I was able to reproduce the behavior you have reported. Could you please download the Multilink resource installer using the following link and update your firmware?

    Once the download has finished, please do the following:

    1) Close CodeWarrior
    2) Run the multilink_universal_install.exe
    3) Open Fimware Updater Utility found in c:\pemicro\multilink_universal\ folder
    4) Select DSC as your architecture
    5) Click the update firmware button. Your multilink should update to version 10.27
    6) Open Codewarrior and launch a debug session

    • I followed the instructions and was able to successfully connect/debug to the DCS target which is great. As a check, we went back to programming the Kinetis ARM. The multilink updated itself for the ARM and also worked. 

      I did notice that when we went back to the DSC after using the ARM, it reverted to the previous condition. We were able to connect again using your updater utility. Will there be a way to have this be transparent within codewarrior as before without having to run the update utility when we change from the ARM to the DSC family?

  • Hi Walter, 

    There is. Currently the Codewarrior patch has an outdated firmware for DSC. Please do the following to update the Codewarrior patch.

    1. Navigate to c:\pemicro\multilink_universal\ and copy the file usbmlfsufdscens.1027
    2. Navigate to C:\Freescale\CW MCU v10.6\MCU\bin\plugins\support\DSC\gdi\P&E\ and paste the file usbmlfsufdscens.1027

    The next time you switch between Kinetis and DSC, you should not observe the previous condition.

    • Works as described. Thank you for resolving our issue.

Add comment

   Want to comment? Please login or create a new PEmicro account.

© 2021 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement