Skip to content

How to get multiple I/O port outputs like 0x80, 0x81, 0x82, 0x83 #4

Discussion options

You must be logged in to vote

I put the working code on this branch.

This is the log output

STARTED
initializing the lpc bus sniffer program
Filter: 0x80020000
program loaded at 1, sm: 0
System clock is 264000 kHz
Starting to sample the POST codes.
...
...
data: 0x92180020
...
data: 0x12080020

on Linux

# Write 0x92 to address 0x81 (129)
~# echo -e "\x92" | dd of=/dev/port bs=1 count=1 seek=129

serial output : data: 92 18 00 20
92 -> 0x92 data
18-> 0x81 address (swapped nibbles)

# Write 0x12 to address 0x80 (128)
~# echo -e "\x12" | dd of=/dev/port bs=1 count=1 seek=128

serial output : data: 12 08 00 20
12 -> 0x12 data
08-> 0x80 address (swapped nibbles)

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@hanetzer

This comment has been hidden.

@MrGreensWorkshop

This comment has been hidden.

@hanetzer

This comment has been hidden.

@hanetzer

This comment has been hidden.

@MrGreensWorkshop
Comment options

Comment options

You must be logged in to vote
3 replies
@hanetzer
Comment options

@MrGreensWorkshop
Comment options

@hanetzer
Comment options

Answer selected by MrGreensWorkshop
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How to
Labels
None yet
3 participants