Re: GDB using Angel error on an OKI board

Grant Edwards
2002-02-25T19:10:27Z

On Wed, Apr 24, 2002 at 07:50:23PM +0200, Charles-Henri Balet wrote:

>>> I'm using an OKI developpement board with the OKI ML671000
>>> processor, this is provide with an ARM SDT 2.50 software and an
>>> ARM Angel 1.20 in the flash memory on the board
[...]
>>> (gdb) target rdi com1
>>> RDI_open: undefined error message, should reset target
>>> RDI_open failed
[...]
>> 1) Reset the board.
>> 2) Start GDB.
>> 3) Do the command "maint rdilogen on"
>> 4) Do the command "target rdi com1"
>> 5) Exit GDB

> tx: [T=0 L=36] 03 01 00 01 05 00 03 00 00 00 00 00 ff ff ff ff ff ff ff ff
> 01 00 00 00 00 c0 00 00 01 00 00 00 80 25 00 00
> R=00030005 H->T CI_HBOOT: ADP_ParamNegotiate 00000001 0000c000 00000001 00002580
> rx: [T=0 L=36] 03 02 01 01 05 00 03 80 00 00 00 00 ff ff ff ff ff ff ff ff
> 00 00 00 00 01 00 00 00 00 c0 00 00 80 25 00 00
> R=80030005 H<-T CI_HBOOT: ADP_ParamNegotiate 00000000 00000001 0000c000 00002580
> tx: [T=0 L=20] 03 02 00 01 06 00 03 00 00 00 00 00 ff ff ff ff ff ff ff ff
> R=00030006 H->T CI_HBOOT: ADP_LinkCheck

The link check stuff has caused problems for me in the past
with other ADP devices. Try doing a "set rdiheartbeat off"
before you do the "target" command.