Wiznet makers

gunn

Published April 30, 2026 ©

78 UCC

3 VAR

0 Contests

0 Followers

0 Following

Original Link

Failed To Build The Hex File For Ethernet (W5500 controller) connection

Failed To Build The Hex File For Ethernet (W5500 controller) connection

COMPONENTS Hardware components

WIZnet - W5500

x 1


PROJECT DESCRIPTION

A post from the Analog Devices (ADI) community addresses technical issues encountered during the process of connecting an energy metering IC with an Ethernet controller (W5500). We have summarized the content in Korean and explained the role of the W5500 in the system.

1. Post Summary (IoT Project Issue)

Question:

Goal: The user intends to measure power data using ADI's energy metering chip, the ADE7880, and transmit it over a network via the W5500 Ethernet controller.

Problem Situation: An error occurred where the .hex file (executable file) was not generated during the project build process using the Keil uVision5 IDE.

Main Cause: Analysis of the build logs revealed compilation errors such as memory overload (Target not created due to memory constraints) and duplicate function definitions. It appears the user is experiencing library conflicts or configuration errors during the process of integrating the driver code for W5500 control with the ADE7880 control code. Answer Point:

This primarily recommends verifying project settings (compiler optimization, memory map configuration) and reviewing whether the flash memory/RAM capacity of the MCU in use is sufficient to accommodate both libraries.

2. The Role of the W5500 in This System

In this IoT project, the W5500 acts as a 'Gateway' for transmitting energy data to the outside world.

Data Bridge:

When the ADE7880 chip measures data such as voltage, current, and power consumption, the main MCU reads this information. The W5500 receives this data from the MCU, converts it into TCP/IP packets, and transmits it to a server or the cloud via a LAN cable.

Embedded Web Server and Remote Monitoring:

By utilizing the W5500's hardware TCP/IP capabilities, a small web server can be run inside the device. This allows administrators to check real-time power usage remotely via a browser.

Reducing Communication Load on the Main MCU (Offloading):

Energy metering requires real-time data calculation and processing, resulting in a high computational load on the MCU. By dedicating hardware-based processing to complex Ethernet communication, the W5500 enables the MCU to focus solely on energy measurement and analysis.

Ensuring Stable Industrial Communication:

Energy management systems must operate 24 hours a day without interruption. By utilizing the W5500's hardware stack, which is more stable than a software stack, data loss due to network outages or errors is prevented.

In conclusion, the W5500 is used as the core communication interface to connect measured energy data to the Internet. It serves as a key component that provides network communication capabilities to energy metering chips that lack Ethernet connectivity.

==========================

Analog Devices(ADI) 커뮤니티의 게시글은 에너지 미터링 IC와 이더넷 컨트롤러(W5500)를 연결하는 과정에서 발생한 기술적 문제를 다루고 있습니다. 내용을 한글로 요약하고, 해당 시스템에서 W5500의 역할을 설명해 드립니다.

1. 게시글 요약 (IoT 프로젝트 이슈)
질문 내용:

목표: 사용자는 ADI의 에너지 미터링 칩인 ADE7880을 사용하여 전력 데이터를 측정하고, 이를 W5500 이더넷 컨트롤러를 통해 네트워크로 전송하려 합니다.

문제 상황: Keil uVision5 IDE를 사용하여 프로젝트를 빌드하는 과정에서 .hex 파일(실행 파일)이 생성되지 않는 오류가 발생했습니다.

주요 원인: 빌드 로그를 분석한 결과, 메모리 용량 초과(Target not created due to memory constraints) 및 함수 중복 정의 등의 컴파일 오류가 발생하고 있습니다. 사용자는 W5500 제어를 위한 드라이버 코드와 ADE7880 제어 코드를 통합하는 과정에서 라이브러리 간의 충돌이나 설정 오류를 겪고 있는 것으로 보입니다.

답변 포인트:

주로 프로젝트 설정(컴파일러 최적화, 메모리 맵 설정) 확인과 함께 사용 중인 MCU의 플래시 메모리/RAM 용량이 두 라이브러리를 모두 담기에 충분한지 검토할 것을 권장하는 내용입니다.

2. 이 시스템에서 W5500의 역할
이 IoT 프로젝트에서 W5500은 '에너지 데이터를 외부 세계로 전달하는 통로(Gateway)' 역할을 합니다.

데이터 브리지 (Data Bridge):

ADE7880 칩이 전압, 전류, 전력 소비량 등의 데이터를 측정하면 메인 MCU가 이 정보를 읽어옵니다. W5500은 MCU로부터 이 데이터를 전달받아 TCP/IP 패킷으로 변환한 뒤 랜선을 통해 서버나 클라우드로 전송합니다.

임베디드 웹 서버 및 원격 모니터링:

W5500의 하드웨어 TCP/IP 기능을 활용하여 장치 내부에 작은 웹 서버를 구동할 수 있습니다. 이를 통해 관리자가 원격지에서 브라우저를 통해 실시간 전력 사용량을 확인할 수 있게 해줍니다.

메인 MCU의 통신 부하 경감 (Offloading):

에너지 미터링은 실시간으로 데이터를 계산하고 처리해야 하므로 MCU의 연산량이 많습니다. W5500은 복잡한 이더넷 통신 처리를 하드웨어적으로 전담함으로써, MCU가 에너지 측정 및 분석에만 집중할 수 있도록 돕습니다.

안정적인 산업용 통신 보장:

에너지 관리 시스템은 24시간 중단 없이 동작해야 합니다. 소프트웨어 스택보다 안정적인 W5500의 하드웨어 스택을 사용함으로써 네트워크 마비나 오류로 인해 데이터가 유실되는 것을 방지합니다.

결론적으로, 해당 글에서 W5500은 측정된 에너지 데이터를 인터넷에 연결해주는 핵심 통신 인터페이스로서 사용되고 있습니다. 이더넷 연결 기능이 없는 에너지 미터링 칩에 네트워크 통신 능력을 부여하는 핵심 부품인 셈입니다.

Documents
Comments Write