This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1227: Help Needed for Converting Ethernet Driver to HalCoGen Generated APIs

Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

tms570_eth_driver.c
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
* @file tms570_eth_driver.c
* @brief TMS570 Ethernet MAC driver
*
* @section License
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
*
* This file is part of CycloneTCP Open.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
tms570_eth_driver.h1588.emac.cemac.h

I need assistance converting our Ethernet driver for the TMS570LS1227 from the current implementation in tms570_eth_driver.c and tms570_eth_driver.h to the new APIs provided by HalCoGen in CCS.

Details:

  • Current Files: tms570_eth_driver.c, tms570_eth_driver.h
  • Target Platform: TMS570LS1227
  • Current Driver: Used with CycloneTCP

Assistance Required:

  1. API Mapping: Help with mapping existing functions to HalCoGen APIs, including initialization, interrupt handling, and packet operations.
  2. Example Code: Any examples or guidelines for using the new APIs effectively.
  3. Documentation: Relevant references or documentation.

Thank you for your support.