'Ignoring Packet Error' Message

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'Ignoring Packet Error' Message

3,913 Views
jianlongzhang
NXP Employee
NXP Employee

Hello Team,

My customer used S32DS for power v1.1, P&E Multilink, to download project to S32R.

Building is successful with no error, but when entering Debug, there keeps showing 'Ignoring Packet Error, continue...' message and cannot enter debug. 

Here attached Console Log and Screenshot. Would anyone help to advice this error? Thanks a lot.  

2.png

500,648 2-gdb-version
500,651 ~"GNU gdb (GDB) 7.8.2\n"
500,651 ~"Copyright (C) 2014 Free Software Foundation, Inc.\n"
500,651 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\
e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
ed by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
500,651 ~"This GDB was configured as \"--host=i686-mingw32 --target=powerpc-eabivle\".\nType \"show \
configuration\" for configuration details."
500,651 ~"\nFor bug reporting instructions, please see:\n"
500,651 ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
500,651 ~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/soft\
ware/gdb/documentation/>.\n"
500,652 ~"For help, type \"help\".\n"
500,652 ~"Type \"apropos word\" to search for commands related to \"word\".\n"
500,652 2^done
500,653 (gdb)
500,656 3-environment-cd "D:/xiajingjing/77G-s32r274 enet s/77gs32r274/77gs32r274_Z4"
500,663 3^done
500,663 (gdb)
500,664 4-gdb-set breakpoint pending on
500,664 4^done
500,664 (gdb)
500,665 5-enable-pretty-printing
500,665 5^done
500,665 (gdb)
500,665 6-gdb-set python print-stack none
500,665 6^done
500,665 (gdb)
500,666 7-gdb-set print object on
500,676 7^done
500,676 (gdb)
500,676 8-gdb-set print sevenbit-strings on
500,676 8^done
500,677 (gdb)
500,677 9-gdb-set charset ISO-8859-1
500,687 9^done
500,687 (gdb)
500,689 10set mem inaccessible-by-default off
set tcp auto-retry on
set tcp connect-timeout 240
500,689 11source .gdbinit
500,697 &"set mem inaccessible-by-default off\n"
500,697 =cmd-param-changed,param="mem inaccessible-by-default",value="off"
500,697 10^done
500,697 (gdb)
500,697 &"set tcp auto-retry on\n"
500,697 ^done
500,697 (gdb)
500,698 12-gdb-set auto-solib-add on
500,698 &"set tcp connect-timeout 240\n"
500,698 ^done
500,698 (gdb)
500,698 &"source .gdbinit\n"
500,699 &".gdbinit: No such file or directory.\n"
500,699 11^error,msg=".gdbinit: No such file or directory."
500,699 (gdb)
500,699 12^done
500,699 (gdb)
500,703 13-target-select remote localhost:7224
500,756 =thread-group-started,id="i1",pid="42000"
500,758 14-list-thread-groups --available
500,758 =thread-created,id="1",group-id="i1"
500,783 15-list-thread-groups
500,809 ~"0xffffc000 in ?? ()\n"
500,809 *stopped,frame={addr="0xffffc000",func="??",args=[]},thread-id="1",stopped-threads="all"
500,822 13^connected
500,822 (gdb)
500,822 14^error,msg="Can not fetch data now."
500,822 16flushreg
500,823 (gdb)
500,832 15^done,groups=[{id="i1",type="process",pid="42000"}]
500,833 (gdb)
500,833 &"flushreg\n"
500,833 ~"Register cache flushed.\n"
500,877 16^done
500,877 (gdb)
500,913 17monitor semihosting 0,51794
monitor preserve0 0
monitor preserve1 0
monitor preserve2 0
500,919 &"monitor semihosting 0,51794\n"
500,920 @"Command Executed successfully: semihosting 0,51794\r\n"
500,920 17^done
500,920 (gdb)
500,922 &"monitor preserve0 0\n"
500,924 18symbol-file "D:\\xiajingjing\\77G-s32r274 enet s\\77gs32r274\\77gs32r274_Z4\\Debug\\77gs32\
r274_Z4.elf"
500,927 @"Command Executed successfully: preserve0 0\r\n"
500,927 ^done
500,927 (gdb)
500,927 &"monitor preserve1 0\n"
500,933 @"Command Executed successfully: preserve1 0\r\n"
500,933 ^done
500,933 (gdb)
500,933 &"monitor preserve2 0\n"
500,933 19monitor startmultiload
load "D:\\xiajingjing\\77G-s32r274 enet s\\77gs32r274\\77gs32r274_Z\
4/../77gs32r274_Z7_0/Debug/77gs32r274_Z7_0.elf"
load "D:\\xiajingjing\\77G-s32r274 enet s\\77gs32r27\
4\\77gs32r274_Z4/../77gs32r274_Z7_1/Debug/77gs32r274_Z7_1.elf"
load "D:\\xiajingjing\\77G-s32r274 en\
et s\\77gs32r274\\77gs32r274_Z4\\Debug\\77gs32r274_Z4.elf"
monitor endmultiload
monitor selectcore 0\

500,939 @"Command Executed successfully: preserve2 0\r\n"
500,939 ^done
500,939 (gdb)
500,939 &"symbol-file \"D:\\\\xiajingjing\\\\77G-s32r274 enet s\\\\77gs32r274\\\\77gs32r274_Z4\\\\De\
bug\\\\77gs32r274_Z4.elf\"\n"
500,940 ~"Reading symbols from D:\\xiajingjing\\77G-s32r274 enet s\\77gs32r274\\77gs32r274_Z4\\Debug\
\\77gs32r274_Z4.elf..."
500,942 ~"done.\n"
500,982 18^done
500,983 (gdb)
500,985 &"monitor startmultiload\n"
500,989 20-gdb-show --thread-group i1 language
500,989 @"Command Executed successfully: startmultiload\r\n"
500,989 19^done
500,989 (gdb)
500,990 &"load \"D:\\\\xiajingjing\\\\77G-s32r274 enet s\\\\77gs32r274\\\\77gs32r274_Z4/../77gs32r27\
4_Z7_0/Debug/77gs32r274_Z7_0.elf\"\n"
501,004 ~"Loading section .startup, size 0x220 lma 0x1080000\n"
501,009 +download,{section=".startup",section-size="544",total-size="315739"}
501,009 ~"Loading section .core_exceptions_table, size 0xf4 lma 0x1081000\n"
501,015 +download,{section=".core_exceptions_table",section-size="244",total-size="315739"}
501,015 ~"Loading section .intc_vector_table, size 0xbcc lma 0x1082000\n"
501,020 +download,{section=".intc_vector_table",section-size="3020",total-size="315739"}
501,030 ~"Loading section .text, size 0x1b0 lma 0x1082bd0\n"
501,035 +download,{section=".text",section-size="432",total-size="315739"}
501,040 ~"Start address 0x1080000, load size 4240\n"
501,065 ~"Transfer rate: 82 KB/sec, 706 bytes/write.\n"
501,075 ^done
501,075 (gdb)
501,075 &"load \"D:\\\\xiajingjing\\\\77G-s32r274 enet s\\\\77gs32r274\\\\77gs32r274_Z4/../77gs32r27\
4_Z7_1/Debug/77gs32r274_Z7_1.elf\"\n"
501,090 ~"Loading section .startup, size 0x26a lma 0x1100000\n"
501,095 +download,{section=".startup",section-size="618",total-size="315830"}
501,095 ~"Loading section .core_exceptions_table, size 0xf4 lma 0x1101000\n"
501,101 +download,{section=".core_exceptions_table",section-size="244",total-size="315830"}
501,101 ~"Loading section .intc_vector_table, size 0xbcc lma 0x1102000\n"
501,106 +download,{section=".intc_vector_table",section-size="3020",total-size="315830"}
501,117 ~"Loading section .text, size 0x1b0 lma 0x1102bd0\n"
501,122 +download,{section=".text",section-size="432",total-size="315830"}
501,127 ~"Start address 0x1100000, load size 4314\n"
501,152 ~"Transfer rate: 81 KB/sec, 719 bytes/write.\n"
501,162 ^done
501,162 (gdb)
501,162 &"load \"D:\\\\xiajingjing\\\\77G-s32r274 enet s\\\\77gs32r274\\\\77gs32r274_Z4\\\\Debug\\\\\
77gs32r274_Z4.elf\"\n"
501,182 ~"Loading section .rchw, size 0x4 lma 0xfa0000\n"
501,187 +download,{section=".rchw",section-size="4",total-size="641975"}
501,187 ~"Loading section .cpu0_reset_vector, size 0x4 lma 0xfa0004\n"
501,192 +download,{section=".cpu0_reset_vector",section-size="4",total-size="641975"}
501,192 ~"Loading section .startup, size 0x248 lma 0x1000000\n"
501,197 +download,{section=".startup",section-size="584",total-size="641975"}
501,197 ~"Loading section .core_exceptions_table, size 0xf4 lma 0x1001000\n"
501,202 +download,{section=".core_exceptions_table",section-size="244",total-size="641975"}
501,202 ~"Loading section .intc_vector_table, size 0xbc8 lma 0x1002000\n"
501,207 +download,{section=".intc_vector_table",section-size="3016",total-size="641975"}
501,217 ~"Loading section .text, size 0x3180 lma 0x1002bd0\n"
501,222 +download,{section=".text",section-size="12672",total-size="641975"}
501,279 ~"Loading section .rodata, size 0x22 lma 0x1005d50\n"
501,284 +download,{section=".rodata",section-size="34",total-size="641975"}
501,284 ~"Loading section .eh_frame_hdr, size 0xc lma 0x1005d74\n"
501,289 +download,{section=".eh_frame_hdr",section-size="12",total-size="641975"}
501,289 ~"Loading section .data, size 0xdc4 lma 0x1005d80\n"
501,294 +download,{section=".data",section-size="3524",total-size="641975"}
501,309 ~"Loading section .sdata, size 0x4 lma 0x1006b44\n"
501,314 +download,{section=".sdata",section-size="4",total-size="641975"}
501,319 ~"Start address 0x1000000, load size 20098\n"
501,344 ~"Transfer rate: 125 KB/sec, 773 bytes/write.\n"
501,350 ^done
501,350 (gdb)
501,350 &"monitor endmultiload\n"
502,048 21-list-thread-groups i1
507,350 ~"Ignoring packet error, continuing...\n"
513,350 ~"Ignoring packet error, continuing...\n"
519,350 ~"Ignoring packet error, continuing...\n"
525,433 ~"Ignoring packet error, continuing...\n"
531,475 ~"Ignoring packet error, continuing...\n"
537,475 ~"Ignoring packet error, continuing...\n"
543,475 ~"Ignoring packet error, continuing...\n"
549,475 ~"Ignoring packet error, continuing...\n"
555,475 ~"Ignoring packet error, continuing...\n"
561,475 ~"Ignoring packet error, continuing...\n"
567,475 ~"Ignoring packet error, continuing...\n"
573,475 ~"Ignoring packet error, continuing...\n"
579,475 ~"Ignoring packet error, continuing...\n"
585,558 ~"Ignoring packet error, continuing...\n"
591,586 ~"Ignoring packet error, continuing...\n"
597,586 ~"Ignoring packet error, continuing...\n"
603,586 ~"Ignoring packet error, continuing...\n"
609,586 ~"Ignoring packet error, continuing...\n"
615,683 ~"Ignoring packet error, continuing...\n"
621,768 ~"Ignoring packet error, continuing...\n"
627,853 ~"Ignoring packet error, continuing...\n"
633,938 ~"Ignoring packet error, continuing...\n"
640,023 ~"Ignoring packet error, continuing...\n"
646,107 ~"Ignoring packet error, continuing...\n"
652,136 ~"Ignoring packet error, continuing...\n"
658,136 ~"Ignoring packet error, continuing...\n"
664,136 ~"Ignoring packet error, continuing...\n"
670,136 ~"Ignoring packet error, continuing...\n"
676,234 ~"Ignoring packet error, continuing...\n"
682,319 ~"Ignoring packet error, continuing...\n"
688,404 ~"Ignoring packet error, continuing...\n"
694,489 ~"Ignoring packet error, continuing...\n"
700,574 ~"Ignoring packet error, continuing...\n"
706,574 ~"Ignoring packet error, continuing...\n"
712,574 ~"Ignoring packet error, continuing...\n"
718,574 ~"Ignoring packet error, continuing...\n"
724,574 ~"Ignoring packet error, continuing...\n"
730,574 ~"Ignoring packet error, continuing...\n"
736,677 ~"Ignoring packet error, continuing...\n"
742,761 ~"Ignoring packet error, continuing...\n"
748,846 ~"Ignoring packet error, continuing...\n"
754,931 ~"Ignoring packet error, continuing...\n"
761,016 ~"Ignoring packet error, continuing...\n"
767,016 ~"Ignoring packet error, continuing...\n"
773,016 ~"Ignoring packet error, continuing...\n"
779,016 ~"Ignoring packet error, continuing...\n"
785,016 ~"Ignoring packet error, continuing...\n"
791,016 ~"Ignoring packet error, continuing...\n"
797,016 ~"Ignoring packet error, continuing...\n"
803,016 ~"Ignoring packet error, continuing...\n"
809,016 ~"Ignoring packet error, continuing...\n"
815,016 ~"Ignoring packet error, continuing...\n"
821,097 ~"Ignoring packet error, continuing...\n"
827,139 ~"Ignoring packet error, continuing...\n"
833,139 ~"Ignoring packet error, continuing...\n"
839,139 ~"Ignoring packet error, continuing...\n"
845,139 ~"Ignoring packet error, continuing...\n"
851,139 ~"Ignoring packet error, continuing...\n"
857,247 ~"Ignoring packet error, continuing...\n"
863,331 ~"Ignoring packet error, continuing...\n"
869,332 ~"Ignoring packet error, continuing...\n"

Labels (1)
0 Kudos
4 Replies

2,805 Views
stanish
NXP Employee
NXP Employee

Hello Tony,

Thanks for the report,

"Ignoring Packet Error" is a known issue that may occur due to timeouts in communication between GDB client and server.

If GDB server (that directly communicates with target MCU) is busy (e.g. by erasing or programming) it may not respond to the client's "keep-alive" packets and this error is displayed into the console. This may not cause any problems.

Could you possibly try to wait few more minutes? Does it finish programming and debug session is successfully started or it gets permanently stuck?

Can you try Debug_RAM configuration - it should build and load the elf into RAM instead of flash.

Can you share your project or all the .elf files at least if it does not help?

Thanks,

Stan

0 Kudos

2,805 Views
jianlongzhang
NXP Employee
NXP Employee

Hi Stanislav,

Appreciate your help!

Following your hint, this issue has been solved. We find there is address overlapped in flash link file of Z7 & Z4 cores.

Thank you and best regards.

Tony  

0 Kudos

2,805 Views
louiswei
Contributor I

Hi Tony,

I have the same problem. How do you solve the address overlapped in flash link file of Z7 & Z4 cores?

Do you set other address for different cores?

Thanks!

Louis

0 Kudos

2,805 Views
jianlongzhang
NXP Employee
NXP Employee

Hi Louis,

Overlapped address is not allowed. This problem is solved after separating the address space. Thanks.

Best Regards

Tony Zhang / 张剑龙

Field Application Engineer

China CAS BSN of Automotive

NXP Semiconductors

0 Kudos