intrax wrote:jshamlet wrote:Or, for ~$10-$12 you could get a LVTTL -> RS232 converter so small you could permanently mount it in your router.
http://www.digilentinc.com/Products/Det … Peripheral
Note - these are available from a lot of places, I just provided this link as an example.
Not asking for any ads and it wouldn't work if you had read the thread a bit more carefully...
I'm not posting any ads, either. I just posted a link to a board that is small enough to fit inside the router. I don't work for, or have any affiliation with, the company or product.
However, unless you have mounted your router where you can't physically access it, using a serial converter is still the best way to recover in this situation. I always make sure I have a console port handy when I'm debugging an embedded system, since you can't always count on software fail-safes.
Also, the reset button on the bottom is not a standard reset button. It's actually running between to two GPIO lines, so it would require some level of software to function. One GPIO line is setup as an input, while the second is setup as an output. The button is "pulled up" to the output, which allows you to do a soft-reset by driving the output low. Note that the reset line isn't involved here, everything that occurs happens in software.
I would assume that the kernel has been modified to look for this input, and reset/recover when it sees it go low. This tracks, since you have to hold the button for nearly 30 seconds after power-up for the recovery to begin. (it takes a few seconds for the kernel to load) I suspect that FON's changes would need to be ported to support the same mechanism. (IOW, Kamikaze probably doesn't know about the button yet)