Codewarrior - Reset ECU after Flashing

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

Codewarrior - Reset ECU after Flashing

1,470 Views
in-nitin-gupta
Contributor I

Hi

I am trying to add automation in my project execution. For the same, using the TCL scripts for flashing the binaries to the board. In order to bring the MCU in operation, currently need to reset the ECU externally. But looking for some option in the CodeWarrior IDE itself which can remove this manual intervention. 

Tried to explore the IDE. Found an option "Execute Reset" but somehow it is not working.

Looking for help.

0 Kudos
Reply
5 Replies

1,411 Views
stanish
NXP Employee
NXP Employee

Hi,

Can you indicate:

1) which MCU are you targeting

2) which CodeWarrior version are you using

3) debug probe used to connect to your board

 

This will help to answer the question much faster.

BR.

Stan

0 Kudos
Reply

1,374 Views
in-nitin-gupta
Contributor I
MCU : MC9S12ZVLA128
Codewarrior Version : 10.6.4
Debugger : P&E Multilink USB
0 Kudos
Reply

1,417 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

did you try reset h command in TCL script? But it is possible that such command is not supported by your debug probe. More details you can find on page 39 in the guide which you shared in previous thread. 

0 Kudos
Reply

785 Views
in-nitin-gupta
Contributor I

reset h cmd is used for debugging session not flashing

0 Kudos
Reply

1,374 Views
in-nitin-gupta
Contributor I
Hey Jiri
as per document, reset h is used in debugging mode only whereas I am simply flashing my hardware using "Flash Programmer" utility in CodeWarrior
0 Kudos
Reply