PEG SERVER

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

PEG SERVER

1,233 Views
hajianik
Senior Contributor I

Hi,

My target is S32K146 , I'm trying to partition the part. I did this successfully last night.

However when I tried to connect to S32K DESIGN STUDIO this morning  I  get the following after it attempts to program the part.:

"Connection closed by the GDB server".

and it fails. The part is unsecured.

I don't see this happening with the other projects.

what could cause this to happen?

Best Regards,

Koorosh Hajiani

0 Kudos
4 Replies

1,090 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share output from debug console and screenshot of your debug session settings? Thanks. 

Jiri 

0 Kudos

1,090 Views
hajianik
Senior Contributor I

debugger_client_setting.PNGdebug.PNGmain.PNGdebug_config.PNGHi Jiri:

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "57101" to 6224

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "57102" to 7224

Telnet server running on 127.0.0.1:51794

Searching for FreeRTOS Kernel Symbols...

rsp_qC - qSymbol: 707843757272656E74544342

pxCurrentTCB not found. FreeRTOS analysis not enabled.

Copyright 2018 P&E Microcomputer Systems,Inc.

Command Line :C:\NXP\S32DS_ARM_v2.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_4.3.5.201910081615\win32\pegdbserver_console -device=NXP_S32K1xx_S32K146F1M0M11 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -s€

CMD>RE

Initializing.

Target has been RESET and is active.

CMD>CM C:\NXP\S32DS_ARM_v2.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_4.3.5.201910081615\win32\gdi\P&E\supportFiles_ARM\NXP\S32K1xx\freescale_s32k146f1m0m11_pflash_dflash_eeprom.arp

Initializing.

Initialized.

;version 1.03, 11/30/2017, Copyright 2017 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [s32k146f1m0m11_x_pflash_dflash_eeprom]

;device freescale, s32k146f1m0m11, pflash_dflash_eeprom

;begin_cs device=$00000000, length=$14001000, ram=$20000000

Loading programming algorithm ...

Done.

Programming sequency is : erase, blank check, program, and verify {default}

CMD>VC

Verifying object file CRC-16 to device ranges ...

block 00000000-00000043 ...

Ok.

block 0000040C-0000040F ...

Ok.

block 00000500-0000FF05 ...

Ok.

block 0000FF08-00016523 ...

Ok.

block 0001FFF0-0001FFFF ...

Ok.

block 00060300-000FFFFF ...

Ok.

block 10000000-1000FFFF ...

Error! CRC Command Timed Out

Current content of flash does not match application to be programmed

CMD>EM

Command is inactive for this .ARP file.

Error Erasing flash of device

Error occured during Flash programming.

PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

Thanks,

0 Kudos

1,090 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

did you tried emergency kinetis device recovery?

pastedImage_1.png

Also your PE Micro plugin is old. try to update it - 

https://community.nxp.com/docs/DOC-342273 

Hope it helps. 

Jiri 

0 Kudos

1,090 Views
hajianik
Senior Contributor I

yes I did.

0 Kudos