This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cortex-M diagnostic exception dumps


Nick Garnett schrieb:
"simon.kallweit@intefo.ch" <simon.kallweit@intefo.ch> writes:

This is a small patch to add diagnostic exception dumps.

I'm not really happy with this. Having code in the architecture HAL
that calls up into the infra package is a violation of the layering of
the system. I am also concerned that the act of calling diag_printf()
will provoke another exception, which will put the system into a loop.

I thought this to be OK as there is such an option in the ARM port. I tried to use the GDB stub but didn't have much success yet, so I added the dump. My problem is that I have been running a simple test for several hours/days, which crashes due to a bus fault. I need to investigate in that more, but it seems there is a bug in the port, as the application does not do much more than reading from a serial and writing to the diagnostic serial.


Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]