This code uses a library called MCP2210-HIDAPI to be able to run MEPA for Malibu PHY on Windows x86/x64.
-
MCP2210 Breakout Module - ADM00419
-
VSC8258EV Evaluation Board - VSC8258EV
- Make sure to add jumper/short in
J33 CLK to GND.
- Make sure to add jumper/short in
| 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 |
- 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".
- Run MSYS2 UCRT64 and install the following:
- Branch:
- Fork of Microchip Ethernet Switch API
- Initialize submodule
git submodule init git submodule update - 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" ../ - Run mingw32-make. See mingw32-make.exe logs.
mingw32-make.exe - Running sample application. See app-runtime logs.txt
Run build\mepa_app_malibu_mcp2210-win32.exe
Make sure that hidapi.dll is alongside mepa_app_malibu_mcp2210-win32.exe.
They can be copied anywhere.
Please see Running MEPA on Windows - VSC8258
