We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2022/07/17 07:23:30 AM CEST
Hi All,
I need to establish a bridge that will sit between a router and a PC which will log the IP addresses of all traffic that pass between (including TCP and UDP). It should also restrict some IP addresses, acting like a very basic firewall.
The speed at which it does this is not important as the PC only runs dedicated software.
The connection can either be wired (via 2x ethernet ports) or wireless (one wireless device connects to the router's wifi whilst a second provides a network for the PC to connect with). Ideally the solution could accommodate both.
I am developing using the Fusion v7 and PIC32MX795F512L and have 2x ethernet clicks with 2x wifi clicks on order.
I have explored:
- using the Mikroe libraries to speak to both (1) the internal ethernet port and (2) an ethernet click port but cannot figure out how to bridge the traffic using Mikroe libraries. I am told that the libraries accommodate one port max so using both the internal and an external port seems like a possible solution.
- Github/other forums to seek example code that may help to speak to the ENC28J60 (IC on the ethernet click) directly but refs seems incompatible with MicroC.
- Review of some libraries available here that deal with the wifi click. Assuming the libraries are unable to accommodate more than one wifi click like the ethernet click libraries, this seems like an unlikely solution.
- Mikroe support.
I wonder if anyone has achieved a basic bridge like this for a firewall, range-extender or another similar application and if anyone can provide any example projects or code.
We have achieved this using the raspberry pi but wish to establish a professional solution using PIC and Mikroe.
Any help or advice would be appreciated.
Thanks for your time and all the best.
Alex
posted on 2022/06/05 07:50:45 PM CEST
I am looking for an Ethernet driver to work with PIC32MZ on the EasyFusion board with a LAN8720A PHY device.
Development platform is MPLAB-X IDE with XC32 compiler - standard example from Microchip for their MZ Starter kit does not work with the Fusion board.
posted on 2022/02/27 01:52:11 PM CET
Does anyone have any hardware interface suggestions? I am successfully interfacing to FTDI brand modules, but can’t seem to get modules from Riverdi, 4D, Crystalfontz or Matrix Orbital to work. Same connections, same conic parameters and same SPI settings.
posted on 2022/02/14 11:46:44 AM CET
Hi
i search code example for send and receive data from spi interface form two units of m4 clicker board....
Thanks
posted on 2022/02/10 08:42:58 AM CET
Hi, there is complete example (the mikroc example wdt is not complete!!!!) for use wdt timer in stm32M4?
In example there in only istruction for setup wdt nut not for clear it.....
Very thanks
Umberto