h.v
Junior Member level 2
hi
i am doing a project with enc28j60 +AVR
i have written a function that sends out packet: send_packet(length,buffer);
i can successfully capture those packets with WIRESHAK program on the pc side
There is no problem when i send a few packets
but,
When i write this:
While(1) {
send_packet(90,buffer);
delay_ms(500);
}
WIRESHARK show hundreds of packets at the beginning but after a while WIRESHARK do not get my packets (it captures other packets but not the ones send out by ENC) and RJ45-LED connected to ENC stops blinking. When I reset the board the same thing happens, and every time number of captured packets varies
By the way: the fire wall is off-AVR (internal 8MHz)-ENC (25MHz)
any idea?
i am doing a project with enc28j60 +AVR
i have written a function that sends out packet: send_packet(length,buffer);
i can successfully capture those packets with WIRESHAK program on the pc side
There is no problem when i send a few packets
but,
When i write this:
While(1) {
send_packet(90,buffer);
delay_ms(500);
}
WIRESHARK show hundreds of packets at the beginning but after a while WIRESHARK do not get my packets (it captures other packets but not the ones send out by ENC) and RJ45-LED connected to ENC stops blinking. When I reset the board the same thing happens, and every time number of captured packets varies
By the way: the fire wall is off-AVR (internal 8MHz)-ENC (25MHz)
any idea?