Skip to content

mbed os crash on connecting ethernet adapter connect K64 #5680

Closed
@NirSonnenschein

Description

@NirSonnenschein

Description

  • Type: Bug
  • Priority: Major

we see an error when connecting the Ethernet adaptor adaptor on K64f running MbedOS compiled under ARMCC. This doesn't always happen, but occurs quite often.
when it occurs we see the following print:
Thread 00000000 error -4: Parameter error


Bug

Target
K64F

Toolchain:
ARM (mostly on armcc)

Toolchain version:

mbed-cli version:
5.6 and 5.7

mbed-os sha:
(git log -n1 --oneline)

DAPLink version:

Expected behavior
out code creates and Ethernet interface object calls the connect function.
the connect doesn't succeed or return an org.

Actual behavior
the test hangs and we see the following print:
Thread 00000000 error -4: Parameter error

Steps to reproduce
we run the following code as part of the network initialization for the K64F

 netInterface = new EthernetInterface();
printf("new interface created\r\n");
status = netInterface->connect();
if (NSAPI_ERROR_OK == status)
{
     printf("interface registered : OK \r\n");
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions