[ECOS] Remote packet too long with GDB/RedBoot

Jonathan Larmour jifl@eCosCentric.com
Tue Feb 24 20:09:00 GMT 2004


Hans Kester wrote:
> When I connect with Insight 5.3 or Insight 6.0 to RedBoot (i386/pc) I
> get the following errors:
> 
> Remote packet too long:
> 060200000000000000000000000000001cfc09001cfc0900000000000000000030d40000
> 060000000800000010000000100000001000000010000000100000000020000000000000
> ffff0000000000000000ffff000000000000000000000000000000000000000000000000
> 000000000000000000000000000000000000000000000000000000000000000000000000
> 7f03ffff0000ffffffffffff00000000000000000000ffff000000000000000000000000
> 000000000000000000000000000000000000000000000000000000000000000000000000
> 000000000000000000000000000000000000000000000000000000000000000000000000
> 0000000

That's indeed long. When I just tried it now I got:
Packet received:
06020000000000000000000000000000dcff0900dcff090000000000000000002cd20000060000000800000010000000100000001000000010000000100000004444000000000000ffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f03ffff0000ffffffffffff00000000000000000000ffff0000000000000000
which is ~352 bytes, whereas you got 518. How did you build the redboot 
you're using? In particular have you enabled CYGHWR_HAL_I386_PENTIUM_SSE or 
any other option (not that that should matter, at least in gdb 6 - don't 
know about 5.3). Even then the packet should be shorter than what you got - 
I think yours is about 78 bytes longer than what I figure the maximum size 
in the current sources would give (though I may have miscounted - see 
i386_stub.h).

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
 >>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


-- 
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