Last night, I had created a very simple yet workable RS-232 to my pc for viewing the output while the wireless router is booting up.
Well, at first I was using MAX232 which I savage out from my old electronic projects. I thought of lazy to get a new one from Pasar Road (KL). But, the sad thing was I accidentally broken it and I have to think of another way quickly. I need to see the output in order to know what was happenning to my firmware on this wireless router. It was not booting up properly. As I am still very new to this wireless router and also I am new in writting firmware for this particular wireless router.
In fact I was out of idea, then when I saw some of my spare transistors lying around then it strikes me to use the olden days technology. Which using only NPN transistor getting the output from the wireless router RS-232 port signal. It just need to amplify the signal in order to feed to the serial port of the PC.
I was googling around and search for "Transistor MAX232" and I found this. The below image is the one that I found from the net.
Now, I realized that my firmware was not an issue. It was the CFE (Common Firmware Enviroment) which was using the previous version for the DD-WRT. No wonder no matter how I tweak my firmware which is the OpenWRT and it does not run at all.
So, next post will be going to explain more details about how to flash the CFE using JTAG (Home made JTAG which costs $0).