25.11.2014 Views

Chapter 1 : Introduction to the HC12 Microcontroller - EngSoc

Chapter 1 : Introduction to the HC12 Microcontroller - EngSoc

Chapter 1 : Introduction to the HC12 Microcontroller - EngSoc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MC68<strong>HC12</strong> Memory Map for DP256 (In <strong>the</strong> lab)<br />

FFFF<br />

FF00<br />

8000<br />

7FFF<br />

4000<br />

3FFF<br />

1000<br />

0FFF<br />

Vec<strong>to</strong>r Address<br />

EEPROM and Flash<br />

16kbytes External RAM<br />

12Kbytes Internal RAM<br />

4kbytes Internal EEPROM<br />

The 68<strong>HC12</strong> <strong>Microcontroller</strong><br />

400<br />

3FF<br />

200<br />

1FF<br />

0000<br />

Peripheral Area<br />

<strong>HC12</strong> Internal Registers<br />

H. Huang Transparency No.1-15<br />

<strong>HC12</strong> Simula<strong>to</strong>r<br />

The 68<strong>HC12</strong> <strong>Microcontroller</strong><br />

• <strong>Microcontroller</strong> simula<strong>to</strong>r: <strong>to</strong>ol (program) that replicates<br />

<strong>the</strong> operation of a microcontroller<br />

– Learn about/ develop code without having <strong>the</strong> hardware<br />

• <strong>HC12</strong> simula<strong>to</strong>r mimics operation of <strong>HC12</strong> microcontroller<br />

– Displays and changes “registers”<br />

– Displays and changes “memory”<br />

– “Executes” code, changing contents of simulated memory/ registers<br />

according <strong>to</strong> <strong>the</strong> semantics of instructions executed<br />

H. Huang Transparency No.1-16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!