Remote failure reply when debug using pemicro

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote failure reply when debug using pemicro

131 Views
huangkenny
Contributor I

Hello, 

 

I'm using Multilink Universal FX with firmware Version 10.70 to debug on S32K144 by using S32 Design Studio for ARM Version: 2018.R1 Build id: 180815

Upload code & start successfully, but when I press Suspend,

The debugger Console says:

Remote failure reply: E0040000A5A5A5A50000001004ED00E0A5A5A5A5A5A5A5A5A5A5A5A5B8EAFF1FA5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5B8EAFF1F3DA8010054A8010000000021C06F002038E7FF1F00000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

After this, the session (at least on GDB side) gets screwed, and I cannot stop/continue or single step, and have to kill it.

Any idea on this error code meaning?

thanks a lot.

Kenny

0 Kudos
7 Replies

117 Views
jiri_kral
NXP Employee
NXP Employee
0 Kudos

95 Views
huangkenny
Contributor I

Hi Jiri,

Have tried to upgrade to the latest one but still happened.

GNU ARM PEMicro Interface Debugging Support   4.9.1.202104011728   com.pemicro.debug.gdbjtag.pne.feature.feature.group   P&E Microcomputer Systems Inc.
PEmicro ARM Device Expansion Plugin   4.9.1.202104011728   com.pemicro.debug.gdbjtag.pne.expansion.feature.feature.group   P&E Microcomputer Systems Inc.

 

Thanks,

Kenny

0 Kudos

82 Views
jiri_kral
NXP Employee
NXP Employee

Hi Kenny, 

it is possible share your project or at least the .elf file? 

 

Jiri

0 Kudos

73 Views
huangkenny
Contributor I

Hi Jiri, 

I send elf file in a private message to you, thanks.

 

Kenny

0 Kudos

56 Views
jiri_kral
NXP Employee
NXP Employee

Hi Kenny,

 

thanks for sharing .elf file. I tried it and on my side it works. Are you using default programming algorithm? 

jiri_kral_0-1620131478333.png

 

Can you please share full output from pegdbserver_console? Are you using NXP EVB or custom board? 

 

Jiri

 

 

 

 

0 Kudos

44 Views
huangkenny
Contributor I

Hi Jiri,

 

I'm using a customized board with S32K144.

The default algorithm is using.

huangkenny_0-1620207063332.png

Full logs:

GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs
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-w64-mingw32 --target=arm-none-eabi".
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 1 0 65535
monitor selectcore 0
Warning: the current language does not match this frame.
continue
Continuing.

Temporary breakpoint 1, main () at ../Sources/main.c:57
57 PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */

Program received signal SIGINT, Interrupt.
[Switching to Thread 536864600]
0x000216e0 in INT_SYS_DisableIRQGlobal () at ../SDK/platform/drivers/src/interrupt/interrupt_manager.c:246
246 }
Remote failure reply: E0040000A5A5A5A50000001004ED00E0A5A5A5A5A5A5A5A5A5A5A5A5B8EAFF1FA5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5A5B8EAFF1FADA70100C4A7010000000021c06f0020B8EAFF1F0100000200000000000089c30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006f12833a0000803f0000003f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

 

0 Kudos

25 Views
jiri_kral
NXP Employee
NXP Employee

Hi Kenny, 

what happends if you turn-off the memory preservation? 

 

Jiri

0 Kudos