RS232 based Scan Code Debugging for
Microchip PIC16F84
Concept
Project Resources
Available Microchip PIC
Assembler Source Code
The Scan Code Debug Routine provides the ability to verify the
scan patterns sent by the keyboard. The visualization can be done
with the RS232 Debug
Interface, an Excel 97 Worksheet.
A screen shot from a debugging session is given below:
At the picture above, you can see the strange scan pattern
sent by the
AT keyboard when pushing the Pause/Break key:
E1 14 77 E1 FO 14 FO 77
Main File | HEX Files |
Download assembler source
code: scan_deb.asm |
Download Hex File: scan_deb.hex |
The above program needs additional include files (modules) to get successfully assembled: m_bank.asm, m_wait.asm, m_rs192.asm | |
For those, who are not familiar with interfacing a PIC to the RS232 using a MAX232: RS232-Interface.pdf (9.7 kB) |
Download ASCII Character Map: ASCII-Map.pdf
Last updated: 2004/04/18