[ECOS] Help with CYGSEM_HAL_USE_ROM_MONITOR

Gary Thomas gary@mlbassoc.com
Fri May 13 11:14:00 GMT 2011


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
------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: decode_gdb.py
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20110513/cd785983/attachment.ksh>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list