Can not program S32K144 EVB

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

Can not program S32K144 EVB

1,537 Views
klau
Contributor II

Dear reader(s),

I am using S32DS, when I tried to program my EVB, I got this message,

"Connection from "127.0.0.1" via 127.0.0.1. Connection from port "59245" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "59246" to 7224
Telnet server running on 127.0.0.1:51794
Searching for FreeRTOS Kernel Symbols...
pxCurrentTCB not found. FreeRTOS analysis not enabled.
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_ARM_v2018.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_3.9.4.201812211851\win32\pegdbserver_console -device=NXP_S32K1xx_S32K144F512M15 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5€

CMD>RE

Initializing.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_ARM_v2018.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_3.9.4.201812211851\win32\gdi\P&E\supportFiles_ARM\NXP\S32K1xx\freescale_s32k144f512m15_pflash_dflash_eeprom.arp

Initializing.
Initialized.

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

;device freescale, s32k144f512m15, pflash_dflash_eeprom

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

Loading programming algorithm ...

WARNING - Selected .ARP file has been modified. CRC16 = $4977
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-000013AF ...

Error! CRC Command Timed Out
CMD>EM
Command is inactive for this .ARP file.
Error Erasing flash of device
Error occured during Flash programming. "

Also the EVB works fine until I wrote to the flash memory 0x1510 using this record,

"S31500001510B841B946BA46BB46BC4606488546064863"

Any idea please?

Thanks,
Kevin

0 Kudos
2 Replies

1,285 Views
smile9999
Contributor I

Please share experience if the problem is solved.

I have met the same problem. Works ok in debug_RAM but not in debug_Flash.

Have tried updating openSDA firmware and select the 'Emergency Kinetis...' checkbox. Not working.

0 Kudos

1,293 Views
jiri_kral
NXP Employee
NXP Employee

Hi,

are you able upload RAM target program? 

pastedImage_1.png

You can also try Emergency Kinetis device recovery option in debug session confuguration:

pastedImage_2.png

Jiri

0 Kudos