
4 Jul
2007
4 Jul
'07
11:37 a.m.
Scott Wood wrote:
- Include full console functionality in the wrapper, but only for debug
builds. A simple printf() really shouldn't be that big, anyway. This also eliminates the need to get console information from the environment, since you can hardcode it for debugging purposes.
IMHO for board bring up, the very first thing a bootloader should do is some pin toggling! (ideally there is a LED connected to a pin...) to see if the board at least comes out of reset and starts at our code. And then to put out a counter, every time some initialization was finished until a console is initialized.
I guess most of you came in contact with the Port 0x80 and beep POST codes: http://en.wikipedia.org/wiki/Power-on_self-test This would help all those without hardware debuggers connected to their board.
Best regards,
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com