From: Manuel T. Dall'O. <mt...@tc...> - 2001-09-29 00:08:29
|
I will explain better my question. I based my design on the STK8xx, so I prefer the ISB set to 11 (0xFFF0000= 0 initial PC). I will take in consideration your change to 0x000000000 bu= t like last option because implied a hardware wire. 1) Is your processor running (reset released)? Hardware as well as JTAG? Yes, The procesor work well by JTAG. It detect my FLASH and let me write= and read RAM/ROM. 2) How are you debugging the board? BDI-2000 (highly recommended)? I am debbuging by GDB-5.0 3) Is your memory programmed properly? Yes, when I work in debugging mode I have a complete control of the hardware. a) How did you program your memory? Did you verify it was programmed OK? Your statement of writing ROM with gdb is confusing since gdb doesn't know how to write flash. By the GBD, I write the bootloader in random position and it was read= OK. b) Are you driving the Reset Config word? Verified with a scope/logic analyzer? It was indirectly by the register values. 4) Are all of your selection jumpers jumpered correctly (especially RSTCONF*)? Yes, my word is 0x41E0 My Register value are: (gdb) mp upms MDR00=3D0x1f0dfc04 MDR01=3D0xeeafbc04 MDR02=3D0x11af7c04 MDR03=3D0x= efbafc00 MDR04=3D0x1ff5fc47 MDR05=3D0x1ff5fc34 MDR06=3D0xefeabc34 MDR07=3D= 0x1fb57c35 MDR08=3D0x1f0dfc04 MDR09=3D0xeeafbc04 MDR10=3D0x10af7c04 MDR11=3D0x= f0affc00 MDR12=3D0xf0affc00 MDR13=3D0xf1affc00 MDR14=3D0xefbafc00 MDR15=3D= 0x1ff5fc47 MDR16=3D0xeed3f1ff MDR17=3D0x77ff68fd MDR18=3D0xea5d7b2f MDR19=3D= 0x7a3f97fd MDR20=3D0xf3d1a7dd MDR21=3D0xe5f7bbee MDR22=3D0xe924aeb2 MDR23=3D0xf= e7e47ff MDR24=3D0x1f2dfc04 MDR25=3D0xeeabbc00 MDR26=3D0x01b27c04 MDR27=3D0x1= ff5fc47 MDR28=3D0xefb4f2fd MDR29=3D0xffffeeb7 MDR30=3D0x7ddbdb6b MDR31=3D= 0xfdfdffff MDR32=3D0x1f0dfc04 MDR33=3D0xeeabbc00 MDR34=3D0x10a77c00 MDR35=3D0xf= 0affc00 MDR36=3D0xf0affc00 MDR37=3D0xe1bafc04 MDR38=3D0x1ff5fc47 MDR39=3D= 0xffe3c9eb MDR40=3D0x7c745bad MDR41=3D0xf5bfd7af MDR42=3D0x6b67bd5f MDR43=3D0x= dfbffdbf MDR44=3D0xfc50f7a3 MDR45=3D0xfeb76edb MDR46=3D0xc7f2d5de MDR47=3D0x= dd7fcdfb MDR48=3D0x1ffd7c84 MDR49=3D0xfffffc04 MDR50=3D0xfffffc04 MDR51=3D= 0xfffffc04 MDR52=3D0xfffffc84 MDR53=3D0xfffffc07 MDR54=3D0xff63fdfa MDR55= =3D0xfee3fddf MDR56=3D0xedb40ffb MDR57=3D0xffbb4dff MDR58=3D0x3e2370fc MDR59=3D= 0xf9fdf7ed MDR60=3D0x7ffffc07 MDR61=3D0x7e5db9ff MDR62=3D0x8a77b708 MDR63=3D= 0x2ff3df9d BR0=3D0x40000001 OR0=3D0xffc00f52 BR1=3D0x40400001 OR1=3D0xffc00f52 BR2=3D0x00000081 OR2=3D0xff000a00 MAMR=3D0xc3802114 MAR=3D0x00000088 MDR=3D0x2ff3df9d MCR=3D0x4000003f MSTAT=3D0x00000800 (gdb) mp sprs SRR0=3D 0x00000100 SRR1=3D 0x00009002 MSR=3D0x00000000 BAR=3D 0xffbbe6ed DAR=3D 0xfffff6ff =20 DSISR=3D0xf7fcb7ff DER=3D 0x7002400f ICR=3D 0x000= 00001 =20 ICTRL=3D0x00000007 PLPRCR=3D 0x00000080 RSR=3D 0xc0000000 = =20 SCCR=3D0x02000000 SYPCR=3D 0xffffff88 SIUMCR=3D 0x01600= 000 Regards, Manuel |