[ell-i-developers] Re: Hard fault handler

  • From: Pekka Nikander <pekka.nikander@xxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Wed, 14 May 2014 10:27:34 +0300

> Yes the gdb remote protocol is the best option. Either over serial or over 
> SWD is fine for me, though I know few about SWD.  But I don't get why we need 
> a Blackmagic. All we need are a serial cable and whatever gdb frontend, right?

SWD has hardware support, so it makes it possible to trace execution, stop it, 
etc.  Hence, if we have something like blackmagic that speaks SWD directly to 
our board, and connect it with GBD using the GDB remote, then we would have 
full debugging capability.

OTOH, having a minimal GDB stup speaking directly serial would also be very 
useful, as it would allow to do "core dumps", i.e. figure out what went wrong, 
even when SWD might not be available.

Still another, different idea might be to write a minimal TFTP server that 
would serve the whole memory contents in the case of a crash, allowing one to 
slurp the memory contents after a crash.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Other related posts: