Skip to content

joem-mchp/mepa-app-vsc8258-mcp2210-win32

Repository files navigation

Microchip Technology Inc.

VSC8258EV for Win32 (MEPA) using MCP2210-HIDAPI Library

This code uses a library called MCP2210-HIDAPI to be able to run MEPA for Malibu PHY on Windows x86/x64.

Hardware Setup

Setup 1

  • MCP2210 Breakout Module - ADM00419

  • VSC8258EV Evaluation Board - VSC8258EV

    • Make sure to add jumper/short in J33 CLK to GND.
MCP2210 Breakout Module VSC8258 Evaluation Board
Pin 1 GPIO0 J48 SSN
Pin 6 MOSI J48 MOSI
Pin 7 SCK J48 SCLK
Pin 8 MISO J48 MISO
Pin 13 GND J48 GND

Software Setup

Pre-requisites

  • MCP2210-HIDAPI Library
    • Branch: main
    • Install MSYS2:
      • Run MSYS2 UCRT64 and install the following:
        pacman -S mingw-w64-ucrt-x86_64-toolchain 
        
      • Select "All" and "Yes".
  • Fork of Microchip Ethernet Switch API

Build Instructions

  1. Initialize submodule
    git submodule init
    git submodule update
    
  2. Open bash, create build directory and make sure to run CMake with "MinGW Makefiles". See CMake Generate Logs.
    bash
    mkdir build
    cd build
    cmake -G "MinGW Makefiles" ../
    
  3. Run mingw32-make. See mingw32-make.exe logs.
    mingw32-make.exe
    
  4. Running sample application. See app-runtime logs.txt
    Run build\mepa_app_malibu_mcp2210-win32.exe
    

Run Instructions

Make sure that hidapi.dll is alongside mepa_app_malibu_mcp2210-win32.exe.
They can be copied anywhere.

Testing Instructions

Please see Running MEPA on Windows - VSC8258

About

A sample application running MEPA on Windows. Uses VSC8258EV and MCP2210.

Resources

License

Stars

Watchers

Forks

Contributors