Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Error using Universal Multilink Interface with NXP S32 design studio for MPC5777C microcontroller
. May 30, 2017 at 05:42 AM (05:42 hours)
Staff: Takao Y.

  • I tried downloading the code using s32, but go below error

    GNU gdb (GDB) 7.8.2
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>;
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-mingw32 --target=powerpc-eabivle".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>;.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>;.
    For help, type "help".
    Type "apropos word" to search for commands related to "word".
    monitor preserve0 0
    monitor preserve1 0
    monitor preserve2 0
    load C:\\Vrushali\\Workspace\\MPC5777C_Integrated_code\\MPC5777C_Integrated_code_Z7_0/../MPC5777C_Integrated_code_Z7_1/Debug/MPC5777C_Integrated_code_Z7_1.elf
    Loading section .startup, size 0x34a lma 0xc00400
    Loading section .core_exceptions_table, size 0xf4 lma 0xc10000
    Loading section .intc_vector_table, size 0x764 lma 0xc11000
    Loading section .text_vle, size 0x320 lma 0xc11770
    Start address 0xc00400, load size 3778
    Transfer rate: 409 KB/sec, 755 bytes/write.
    load C:\\Vrushali\\Workspace\\MPC5777C_Integrated_code\\MPC5777C_Integrated_code_Z7_0\\Debug\\MPC5777C_Integrated_code_Z7_0.elf
    Loading section .rchw, size 0x4 lma 0x800000
    Loading section .cpu0_reset_vector, size 0x4 lma 0x800004
    Loading section .startup, size 0x282 lma 0x800400
    Loading section .core_exceptions_table, size 0xf4 lma 0x810000
    Loading section .intc_vector_table, size 0x764 lma 0x811000
    Loading section .text_vle, size 0x21a0 lma 0x811770
    Loading section .rodata, size 0x6008 lma 0x813910
    Loading section .data, size 0x28 lma 0x819918
    Loading section .sdata, size 0x1c lma 0x819940
    Start address 0x800400, load size 36046
    monitor endmultiload
    Transfer rate: 651 KB/sec, 924 bytes/write.
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    monitor selectcore 0
    Warning: the current language does not match this frame.
    Continuing.
    Note: automatically using hardware breakpoints for read-only addresses.
    continue
    Exception condition detected on fd 456
    Remote communication error. Target disconnected.: No error.
    set architecture powerpc:vle
    The target architecture is assumed to be powerpc:vle
    Quit (expect signal SIGINT when the program is resumed)


    After few suggestion from nxp community site, tried to download the elf on RAM,

    but getting this error

    Connection from "127.0.0.1" via 127.0.0.1
    PE-ERROR: Warning. Can't read registers while part is running.
    PE-ERROR: Warning. Can't read registers while part is running.
    PE-ERROR: Warning. Can't read registers while part is running.

    I am not sure if controller is really gettign detected and is there any communication link between PC-> PE micro -> MPC5777C.

    Is there any user manual which I can use for downloading the binaries directly?




    Comments

  • Greetings,

    I want you first to try creating a brand new project for the MPC5777C and without any changes to code or configurations just try to debug the default project. See if you get the same problem. If you are able to debug, that means somewhere in your debug configurations is causing this problem. Let me know how that goes and we can go from there.


    Takao Yamada

    • Yes Takao Yamada !!!
      I tried with simple empty project as well, I am getting same error.
      Hence again I tried with my code, and I provided with those logs.

      if u want I can provide you same log for empty project as well.

      PLease advise...

  • Greetings,

    Before we continue, make sure you are using the latest version of our plugin:
    http://www.pemicro.com/blog/index.cfm?post_id=124

    In debug configurations, look for the option for debug shift frequency. By default it may be at 5000 KHz. Try lowering this to 3000 Khz. Then also add a 200ms reset delay. It is possible that your board has a reset circuitry and the extra delay is needed.

    Let me know if this improves your debug session. Also let me know if there is anything unique in your hardware setup, like custom ribbon cables, adapters, external watchdog, etc.


    Takao Yamada

  • Hi Takao Yamada,

    Yes I am using correct plugin. However let me highlight hardware info in detail

    1. I am using Universal multilink Interface Rev A. on WIndows 7/64 bit m/c
    2. I even tried to flash the software using PROGPPCNEXUS, it detects the microcontroller but gives error while flashing

    Initialiszing ,... Cannot enter background mode

    3. I tried using In circuit debugger, I loaded the elf file, it saya
    Error : Error in once status register during instruction execution.

    4. Even in S32 debugging using PE micro universal Multilink Interface Rev A, I get same error due to ONCE register
    Bus Error occurred during write.

    Error : Error in ONCE status register during instruction execution.

    Once Status Register Result = $0241

    REM Initialize all of the Main SRAM - 512KB

    Initializing RAM from $40000000 to $4007FFFF.


    Reset script (C:\Freescale\S32_Power_v1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.5.6.201703011834\win32\gdi\P&E\s32e200_mpc5777c.mac) completed.


    PE-ERROR: Error downloading to the device.
    Disconnected from "127.0.0.1" via 127.0.0.1
    Target Disconnected.
    Target Disconnected.


    What I conclude is debugger is not able to connect to MPC5777C.

    Can you please suggest further?

  • Greetings,

    This is not a software problem, but very likely a hardware issue. Again, let me know if there is anything unique in your hardware setup, like custom ribbon cables, adapters, external watchdog, etc.

    In PROG PPCNEXUS, are you able to load the algorithm? But only when trying to program you get an error? What happens if you try to erase?

    Do you know if this multilink is in good condition? Have you used it in other projects? Let me know if you have used this specific multilink in the past.


    Takao Yamada

  • Greetings,

    Any update on this?


    Takao Yamada

Add comment


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







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