Debugging firmware from a microcontroller

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugging firmware from a microcontroller

ソリューションへジャンプ
1,616件の閲覧回数
andrewlynes
Contributor I

Hello community!

 

I am a humble CodeWarrior novice and have a question which I hope that the community may be able to help answer.

 

I have an automotive component which uses an s12x microcontroller. I wonder if it is possible to extract the firmware by jtag and then run the binary in a simulation in Code Warrior to analyse in a controlled environment (e.g. provoke my own inputs/outputs) and also debug. Is this something that can be done with Code Warrior?

 

Thanks in advance.

 

Andy Lynes

 

ラベル(1)
0 件の賞賛
返信
1 解決策
1,335件の閲覧回数
Lundin
Senior Contributor IV

The S12 family uses something called BDM, which is similar to JTAG. If the S12 sits on a shipped automotive PCB, it will most certainly have MCU security enabled, blocking all attempts to read the binary. This is done through internal hardware in the MCU and the intention is to block copy cats from stealing the program. The only way you can access a secured chip is to erase it completely then download a new program.

So you need to have the original source code.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,336件の閲覧回数
Lundin
Senior Contributor IV

The S12 family uses something called BDM, which is similar to JTAG. If the S12 sits on a shipped automotive PCB, it will most certainly have MCU security enabled, blocking all attempts to read the binary. This is done through internal hardware in the MCU and the intention is to block copy cats from stealing the program. The only way you can access a secured chip is to erase it completely then download a new program.

So you need to have the original source code.

0 件の賞賛
返信
1,335件の閲覧回数
andrewlynes
Contributor I

Bump! Just wondering if anybody had a chance to ponder this question over the weekend?

Thanks

0 件の賞賛
返信