The S12XEP100 cannot be halted by the CodeWarrior IDE after a program error

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

The S12XEP100 cannot be halted by the CodeWarrior IDE after a program error

1,256件の閲覧回数
wankuizhao
Contributor I

Hello,

I'm encounting a problem using the MC9S12XEP100 mcu. I tried a lot but did not help.

here list the details.

Environment:

MCU: MC9S12XEP100

IDE: CodeWarrior IDE v5.1

Connections: USBDM

Reproduce:

Connect the MCU to the HI-WAVE debugger through a USBDM device, reset and run it. The program will run away after a period of time, the MCU keeps in running state but cannot be halted.

Description:

  • All the memory space can be accessed and modified in Memory Component window
  • Intention to halt program or set a breakpoint is prevented. An error dialog shows "Unable to execute command. Press Yes to Ignore the Error and stay connected". Click Yes and the program keeps running.
  • Procedure of a Halt event recorded in Command Component like the following:

        GDI:    DiExecStop() ==> DI_ERR_NONFATAL

        GDI:    DiErrorGetMessage() ==> 1

        GDI:    Error Message ==> Unable to execute command

        GDI:    Reading From Memory Address: 0x381, count: 1

        GDI:    DiMemoryRead() ==> DI_OK

        GDI:    00

        STOPPING

  • All the interrupts do not occur any more (both in XGATE and S12X CPU). Like PIT and MSCAN module, they can work normally except the interrupt function.
  • The value of XGMCTL register read from memory is 0xC1
  • The state of S12X CPU cannot be sure

Hope the reply.

Best Regards.

タグ(3)
0 件の賞賛
返信
1 返信

931件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Wankui.

This is USBDM related question.

I would suggest you ask your question to OSBDM and TBDML 

The engineers who focus on that space may help.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信