This is the mail archive of the ecos-discuss@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: Help with CYGSEM_HAL_USE_ROM_MONITOR


On 05/13/2011 03:30 AM, Elad Yosef wrote:
Hi,
I have 1 UART on my target and whenever I have some crash in the
system I get some strings to the serial

something like:
$O4D6172732D4170706C69636174696F6E20666C6173682076616C69642072616E67652069732030
786231303030303030202D20307862313033666666660A#15

Use the attached program to decode this:


$ decode_gdb.py '$O4D6172732D4170706C69636174696F6E20666C6173682076616C69642072616E67652069732030786231303030303030202D20307862313033666666660A#15'
Mars-Application flash valid range is 0xb1000000 - 0xb103ffff


OR (for CYGSEM_HAL_USE_ROM_MONITOR = generic):


$T0b25:e4850080;1d:104b40a0;#86$T0b25:e4850080;1d:104b40a0;#86$T0b25:e4850080;1d
:104b40a0;#86$T0b25:e4850080;1d:104b40a0;#86$T0b25:e4850080;1d:104b40a0;#86$T0b2
5:e4850080;1d:104b40a0;#86$T0b25:e4850080;1d:104b40a0;#86$T0b25:e4850080;1d:104b
40a0;#86$T0b25:e4850080;1d:104b40a0;#86$T0b25:e4850080;1d:104b40a0;#86$T0b25:e48
50080;1d:104b40a0;#86$T0b25:e4850080;1d:104b40a0;

What I don't understand is how to parse this error string
It looks like some GDB stuff so my direction is that my
CYGSEM_HAL_USE_ROM_MONITOR is wrong.

What should I configure in the RedBoot and in the application?

If you're using RedBoot, I think you are probably configured correctly. The problem is that some messages may be printed _before_ RedBoot takes over the printing channel. This is such a message.

Better to just fix the problem :-)

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

Attachment: decode_gdb.py
Description: Text document

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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