I want to use MDIO Advanced example to work as a host device, how do i do?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi I am using PSOC5 DVK with CY8C5868AXI-LP035 populated, I am trying with the MDIOAdvancedexample, I want to use as MDIO Host How do I do this

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

There is a #defines that tell which part of the code should run - MDIO_HOST_ENABLE and MDIO_INTERFACE_ENABLE.

You can simply set the MDIO_HOST_ENABLE to 1 and MDIO_INTERFACE_ENABLE to 0.

View solution in original post

0 Likes
7 Replies
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

There is a #defines that tell which part of the code should run - MDIO_HOST_ENABLE and MDIO_INTERFACE_ENABLE.

You can simply set the MDIO_HOST_ENABLE to 1 and MDIO_INTERFACE_ENABLE to 0.

0 Likes
Anonymous
Not applicable

Thanks rlos

I am using the Code as in AN83902 Example1

I Modified the MDIO_HOST_ENABLE to 1 and MDIO_INTERFACE_ENABLE to 0

but the Source code is not able to build getting error as

1. "The tool chain management system received a request to look up a GUID that has never represented a valid tool chain. This indicates a problem within this product. (Invalid GUID: "e9305a93-d091-4da5-bdc7-2813049dcdbf")".

0 Likes

Are you using PSoC Creator 4.2 version?

Try to update the components in the design. Project->Update Components.

Anonymous
Not applicable

No I am using Creator Ver3.0.

0 Likes
Anonymous
Not applicable

The above issue is resolved when I installed ver4.2 and Project-> Update Components, When I build the project Now,

I am Getting "Build error: Hex file generation step failed, see output window for more information."

since I am new to PSOC Envorinment, where the settings for the Hex File is there, is there is some thing wrong in the settings

0 Likes
Anonymous
Not applicable

The actual Reason stating for this issue at Output window is

"The application 'cyelftool.exe' could not be started. Error: 'The specified executable is not a valid application for this OS platform.'"

0 Likes

Are you using the GCC compiler that comes with PSoC Creator 4.2 - ARM GCC 5.4?

If yes, try to do a clean build. Build->Clean and Build All Projects.

If that doesn't solve your problem, please upload your project here.

0 Likes