This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-TCPnet ENC28J60 Device Driver

I'm working on a http server using a LPC2129 and a Microchip ENC28J60. It's already functional using the Microchip TCP stack adapted to LPC. Now I'm trying to use the RL-TCPnet and I need to write the ENC28J60 Driver. I'm using the LAN91C111 as base to write the driver. Maybe someone can help me with some tips to how to write the functions, because the controllers are quite different.

Parents
  • Thank you...Now it's working. I was trying to use the Interrupt Mode, but I forgot about a silicon bug that I found when I was working on Microchip TCP stack. Sometimes the EIR register doesn't update correctly, so I have to read EPKTCNT before check the PKTIF flag. Because of that I can't use it in interrupt mode. I don't know if it was corrected because my device is at least 2 years old...

Reply
  • Thank you...Now it's working. I was trying to use the Interrupt Mode, but I forgot about a silicon bug that I found when I was working on Microchip TCP stack. Sometimes the EIR register doesn't update correctly, so I have to read EPKTCNT before check the PKTIF flag. Because of that I can't use it in interrupt mode. I don't know if it was corrected because my device is at least 2 years old...

Children
No data