> - set /reset pin to low > - setup spi > - set /reset pin to high > - delay 2s > - init enc28j60
ok, maybe not a power issue I can add this to my samples. I figured reset is optional, or should be done by the user. Wonder if it can be tied to PIC reset somehow, or maybe there's a software reset. > I have few comments in general: > - enc28j60.jal requires debug lib: I think it would be better to remove > this dependency. I also understand this is still work in progress, some > more work needed, so that's ok :) The code should stay, but it should not be required for the sample. > - hide ARP details from ICMP level: I think it would be great if all ARP > details would handled behind the scene and hidden to user. Maybe a "ping" > procedure, which would internally deal with ARP and ICMP protocols. I'll > give a try if you're ok. yep, I think we need some global arp table, similar to the one in TCP lib. Also similar to typing arp in your command line (linux or windows) The issue however is speed. Every time we need to send a packet, we have to search the arp table for an IP to get it's MAC. Feel free to edit and commit, but keep it seperate from the current working samples. I know we can revert if there is an issue, but it's big code and a lot of things that need to be tested before a full commit. I just feel it's best to keep some fully tested code in the sample dir. I wish to test my self before it goes here. Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
