S32K311 - not able to update firmware from JTAG

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

S32K311 - not able to update firmware from JTAG

379 Views
geeznxp
Contributor II

Hello,

I flashed an Autosar-based code which runs on CAN. After flashing it once, during debugging it got into deadbee (on Port_Init(NULL_PTR); line). After trying to update the firmware again, it stopped detecting the controller. Code was not flashed using J-Flash lite as well.

I have an entire screen recording but due to size limitations, I'm attaching the screenshotsas well as the code for reference.

I had to solder a new MCU to get it working as this MCU stopped getting flashed.

I don't understand why this is happening. Please help me out with some insights.

Thanks

Screenshot (472).png 

Screenshot (475).png

 

Screenshot (476).png

Screenshot (477).png

   

Screenshot (478).png

S32K3 AUTOSAR AUTOMOTIVE-RTD 

0 Kudos
Reply
2 Replies

346 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @geeznxp 

 

I loaded your project to S32K311 EVB and it works as expected, I can’t see any problem.

Port_Init initializes only two pins for CAN1. It’s PTA11 (CAN_TX) and PTA12 (CAN_RX). CAN_TX/PTA11 is configured as output. If it fails in this function – isn’t there a shortcut on your board? Or some wrong connection? I can’t see other reason.

 

Regards,

Lukas

0 Kudos
Reply

214 Views
geeznxp
Contributor II

Hi @lukaszadrapa,

Thanks for your quick response.

I'm working on a custom board, and nothing was connected to it.

Can you tell me why I'm receiving above response in J-Link Commander ?

Screenshot (478).png

 

Thanks 

0 Kudos
Reply