Hello ....,
I have a Problem with the Software of easyWEB initialisation of Ethernet-Controller CS8900A.
There is an Instraction in a Program CS8900.C:
do
Write8900(ADD_PORT, PP_SelfST); // set register
while (!(Read8900(DATA_PORT) & INIT_DONE));
If I start the Program by the Debugger the program is running endless at this instruction.
The reason, the value of "Read8900(DATA_PORT) is always zero. The "INIT_DONE" Value is 0x80.
If the condition of "do .... while" is to be false the status Bit #7 of the Register "selfCTL" (Address 0x114") must be high.
In the Register "selfCTL" Bit #7 there is no a valid value. In the Datasheet of CS8900A this Bit is empty. So, I believe that the condition of "do .... while" can be not false.
For help I would be grateful.
friendly Jürgen Rieger