mecrospace.blogspot.com
Mecro Space: An approach to sniff packets without having a hub
http://mecrospace.blogspot.com/2008/11/approach-to-sniffing-packets-without.html
Playfulness, Cleverness, and Exploration. Tuesday, November 18, 2008. An approach to sniff packets without having a hub. As everybody knows, when you are designing a brand new protocol, you probably want to have a protocol analyzer to test if you send all of packets correctly. Usually, we have a very good protocol analyzer: Wireshark. It is open source, cross-platform, and it's free to use. But there are some limitations for Wireshark. 3 It's not possible to run Wireshark. On an embedded device. Library&...
mecrospace.blogspot.com
Mecro Space: November 2008
http://mecrospace.blogspot.com/2008_11_01_archive.html
Playfulness, Cleverness, and Exploration. Tuesday, November 18, 2008. How to count number of bits set in a DWORD. This small function is very useful in the industrial automation field and any low level program in C/C . You also can find the exactly same one on the Internet. Here I would like to share one of the widely used function, and it's complexity. I will post more algorithms later and do a comparison. Complexity : O(n) Where n = number of bits set in the DWORD actually. On an embedded device. Next ...
mecrospace.blogspot.com
Mecro Space: Remote debugging – an approach to debug embedded programs
http://mecrospace.blogspot.com/2008/11/remote-debugging-approach-to-debug.html
Playfulness, Cleverness, and Exploration. Thursday, November 6, 2008. Remote debugging – an approach to debug embedded programs. In most cases, developers debug their programs locally. They run their code with debugger on the same machine. What if there is no mouse and keyboard on the target machine, such as a device, a POS terminal with a touch screen? You also want to see what happened behind the scene right? Target machine: gdbserver and the target application on Linux. To the target machine. View my ...
mecrospace.blogspot.com
Mecro Space: How to count number of bits set in a DWORD
http://mecrospace.blogspot.com/2008/11/how-to-count-how-many-bits-set-in-dword.html
Playfulness, Cleverness, and Exploration. Tuesday, November 18, 2008. How to count number of bits set in a DWORD. This small function is very useful in the industrial automation field and any low level program in C/C . You also can find the exactly same one on the Internet. Here I would like to share one of the widely used function, and it's complexity. I will post more algorithms later and do a comparison. Complexity : O(n) Where n = number of bits set in the DWORD actually. Burnaby, BC, Canada.