Re: GDB using Angel error on an OKI board

Grant Edwards
2002-02-25T22:10:02Z

> I have obtain the serial TX and RX of the port for the ANGEL
> ARM SDT 2.50, the code of start the sending and receiving are
> the next :

> 000000 1c 14 01 c5 c4 01 15 01 ff ff ff ff ff ff ff ff 85 49 c7 47 1d 1c 08 c5
> 000018 c4 04 4b be c7 38 e1 10 53 74 1d 1c 24 03 c6 c5 01 05 03 ff ff ff ff ff
> 000030 ff ff ff 01 c0 01 80 25 1b 53 f9 16 d3 1d 1c 14 03 c7 c6 01 06 03 ff ff
[...]

That looks like ADP framing, 0x1c starts a frame, 0x1d ends a
frame, and 0x1b is the escape character (toggles bit 4 in the
next byte). But, what's inside the frame doesn't match up with
the ADP frame format. Parts of it look OK, but there are bytes
missing. It looks like whatever you used to capture the data
has discarded all of the bytes with a value of 0x00.