|
![](/i/fill.gif) |
Am 23.01.2014 09:51, schrieb Orchid Win7 v1:
> The key problem with writing your own OS is that it's almost impossible
> to debug it! Not if you run it on real hardware, anyway. Last I checked,
> most VM software isn't really designed for this kind of thing either...
It also can't be more difficult than debugging an embedded system, and
I've been there, done that. Sending stuff to a serial port dedicated for
debugging was the standard procedure, even for "applications". For the
code portions running before the serial port was initialized, it was a
PWM output line connected to an LED or a scope.
Using the JTAG port to make the MCU single-step through the code and to
inspect the barebone register or memory values was another important tool.
Post a reply to this message
|
![](/i/fill.gif) |