Skip to content

LAN9252 stay in INIT mode  #5

@FCam1

Description

@FCam1

Hi,
Now my device is reconized as a slave in twincat but is blocked in the INIT state, when I try to force the device to the next state "Pre-Op" I have this error : INIT INIT_ERR.

I flashed the stm32 and I can see the same issue. The code still blocked in middleSOESInit() waiting OP mode :
do{ ESC_read(ESCREG_DLSTATUS, (void *)&ESCvar.DLstatus, sizeof(ESCvar.DLstatus)); //ESCvar.DLstatus = etohs(ESCvar.DLstatus); } while ((ESCvar.DLstatus & 0x0001) == 0);

Nothing is connected on the GPIO, the board is connected alone.

The connection between the EEPROM seems right because is reconized as a slave in twincat.

Do you have an idea of the possible cause of this issue ? Thanks

Florenc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions