FAQ

Just another WordPress weblog

Wednesday, October 29, 2008

Debugging Memory Mapped Devices

lspci (setpci)
print (set config) of pci devices

cat /dev/iomem
see all the memory mapped regions

cat /dev/mem |dd bs=1 skip=$((0xBCA01000)) count=$((0x10000)) | hexdump -C
print the mapped memory region (since dd doesnt use mmap, we use cat to read and dd to skip)

posted by admin at 12:38 am  

Monday, October 27, 2008

Distributed Embedded Communication

Usual Suspects:

CIP Message Passing:

f(id, data, multi)
-> complex data structures needed
-> Linux to .NET (generate out of CIP headers, service discovery/definition)

posted by admin at 12:21 am  

Friday, October 24, 2008

Source Insight Cookbook

Remove Comments /* */:
\w/.*/\

posted by admin at 5:13 am  

Powered by WordPress