fbergama / pigfx

PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions.
MIT License
275 stars 60 forks source link

How do you debug it? #42

Closed wrljet closed 4 years ago

wrljet commented 4 years ago

How do you debug the code?

chregu82 commented 4 years ago

I always write perfectly working code, so there's no need for debugging.


Actually, no. I usually do this:

wrljet commented 4 years ago

I asked because I saw the JTAG directory with GDB stuff in it.

chregu82 commented 4 years ago

I never used JTAG, but someone did this in the early development.

fbergama commented 4 years ago

Yea I did it with a cheap JTAG dongle at the beginning. Not particularly easy though. At this point it is probably easier to just print something at screen

wrljet commented 4 years ago

Thanks, BTW.../Bill