S32K148EVB can't flash and debug

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K148EVB can't flash and debug

520 次查看
devon1020
Contributor I

I use S32K148EVB via S32 Debug Probe to debug "hello" example in "Debug_Flsh" configuration

first i test Probe and EVB connection,

S32DS return "The board is not connected",

then i press reset switch and test connection again,

S32DS return "The board is connected", but display information seem like weird

"SoC IDCODE:0xFFFFFFFF, SOC UID:0xFFFFFFFFFFFFFFFF, SoC Debug:Unknown"

then i execute debug flash

S32DS return "Failed to execute MI command  py flash()"

 

can someone tell me what's happaned? 

tst_connection.jpgrst_tst_conn.jpgdebug_flash.jpg

 

0 项奖励
回复
3 回复数

495 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share which version of S32Design studio you are using?

Best regards,

Peter

0 项奖励
回复

482 次查看
devon1020
Contributor I

Hi test environment is below

1. S32DS Version: 3.6.1

2.S32K148EVB 

3.NXP S32 Debug Probe using JTAG

update:

i press reset switch while into Debug Flash

S32DS return 

"ccs:Core not responding"

 

rst_debug_flash.jpg

0 项奖励
回复

439 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hard to say. If you triggered reset during the programming of flash, you could possibly corrupt the Flash Config at address 0x400 and brick the device.

You can try attaching to running target or integrated PE Micro debugger if you have NXP EVB.

Also you can test it with another board / uC.

Best regards,

Peter

0 项奖励
回复