gdbinit and PLL init

Ilko Iliev iliev@caretec.at
Thu Apr 4 07:29:00 GMT 2002


Hello!

I have custom board with ARM7 CPU with PLL and I use JEENI.

I want to init the PLL in .gdbinit, but this is complex.

How can I write the follow sequence in .gdbinit?

int *pp = 0xFFFF4020;
int *qq = 0xFFFF4040;
*pp = 0x1234;
while(  *qq & 0x400 );		// or 200ms pause
*pp = 0x5678;


best regards
Ilko



More information about the Gdb mailing list