Entering Active Background Mode

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

Entering Active Background Mode

1,653件の閲覧回数
admin
Specialist II
Hi guys,
I have a question about entering the Active Background Mode, according to the data sheet 2 of the 5 methods of entering Active Background Mode are

• When a BACKGROUND command is received through the BKGD pin
• When a BGND instruction is executed

Now on the data sheet Chapter 17 Development Support, Table 17-1. BDC Command Summary. I can see that BACKGROUND is listed as a Command Mnemonic but when I enter this command in the True-Time sim command window it says

"Error: no such command: BACKGROUND
If the command exists, open the matching component and try it again"

What is the component that I need to load?

Also, how do I use the method using BGND instruction?


What I would like to do is basically to go into Active Background Mode through Code Warrior and do
"In-Circuit Simulation, or ICS, mode simulates the CPU core instructions on the user's PC.
However, Inputs/Outputs are read directly from the user's development device, and certain
modules are run on the actual device."

So by using commands such as

WB 0x0003 0xFF
WB 0x0002 0xFF

in the command window of the Real-Time Debugger, I can write data to Port B pins to test my circuit thats connnected to the QG8.

Can anyone direct a text that has the steps to covers this?

Thank you.




ラベル(1)
0 件の賞賛
返信
2 返答(返信)

568件の閲覧回数
peg
Senior Contributor IV
Hi Learner,
You don't normally worry about this low level stuff (like what actual command is being sent over the BDM connection) if you are using Codewarrior.
Just connect your BDM pod, start the debugger and press run. Press step will halt execution and place you in active background mode. Then you can alter memory by a number of methods, direct command or clicking on memory window. Then press run and see what happens.

0 件の賞賛
返信

568件の閲覧回数
admin
Specialist II
Hi Peg,
Thanks for the pointer, I have written a small asm test program to step and trace but I do not understand why when I enter the Debugger after clicking on debug it looks like I am debugging the file Start08.c and not the file I have written. How Do I use the debugger to step and trace the asm file I have written?

Sorry about the elementry question.....

Thanks!
regards,
0 件の賞賛
返信