Help

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

Help

2,307 Views
Gwaleth
Contributor I
Hi,
I'am trying make a assembler program that allow me read a data introduced from the it_keyboard (component of CodeWarrior) the problem is how to configure ports for data entry and once to be introduced this data where is stored?.

I'm an user of codewarrior for HCS12 v.4.5 and the board inDART-HCS12/E128.
Sorry for my bad English.
Thanks in advance.
César Ortiz.
Labels (1)
Tags (1)
0 Kudos
6 Replies

607 Views
CrasyCat
Specialist III
Hello
 
IT_Keyboard component can only be used with Full chip simulation.
It cannot be used when you are debugging on real hardware.
 
CrasyCat
 
0 Kudos

607 Views
Gwaleth
Contributor I
Hi,
What do you mean? I cannot make a assembler program to control It_keyboard?
what is the difference between Full chip simulation and debugging?
0 Kudos

607 Views
fabio
Contributor IV
In Full chip simulation mode, your program runs in a virtual CPU emulated by your host PC. In debug mode, your program runs directly into the target CPU (the real chip).

What Crazycat said is that the IT_keyboard is a virtual component that can only be used within the simulator.

Best regards,
0 Kudos

607 Views
Gwaleth
Contributor I
Hi, Thanks for the explanation, can you help me make a assembler program that uses the it_keyboard? I don't know how to allocate ports of entry to the lines and columns of It_keyboard. Thanks in advance.
0 Kudos

607 Views
fabio
Contributor IV
Hi Gwaleth,

Unfortunatelly I can't help you. I don't know too much about the IT_keyboard component. As far as I know this component is not compatible with 8-bit devices (such as the 08 and S08).

Maybe Crazycat or another Freescaler can guide us on how to interface such component?

Best regards,
0 Kudos

607 Views
CrasyCat
Specialist III
Hello
 
I do not have anything in assembler interacting with this component.
However the demo project {Install}\(CodeWarrior_Examples)\HC12\HC12 SIMULATOR\HC12 PeripheralsDemo\HC12 PeripheralsDemo.mcp is interacting with the component.
 
So you may want to take a look at the project.
 
But remember this can only be used in simulation mode.
 
CrasyCat
0 Kudos