Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: utility/enc28j60.h
- Revision:
- 9:a156d3de5647
- Parent:
- 4:d774541a34da
- Child:
- 11:647d53d146f1
--- a/utility/enc28j60.h Fri Jun 30 19:51:28 2017 +0000 +++ b/utility/enc28j60.h Tue Aug 27 15:01:10 2019 +0000 @@ -243,15 +243,14 @@ // // start with recbuf at 0/ #define RXSTART_INIT 0x0 -// receive buffer end. make sure this is an odd value ( See Rev. B1,B4,B5,B7 Silicon Errata 'Memory (Ethernet Buffer)') +// receive buffer end. make sure this is an odd value (See Rev. B1,B4,B5,B7 Silicon Errata 'Memory (Ethernet Buffer)') #define RXSTOP_INIT (0x1FFF-0x1800) // start TX buffer RXSTOP_INIT+1 -#define TXSTART_INIT (RXSTOP_INIT+1) +#define TXSTART_INIT (0x1FFF-0x1800+1) // stp TX buffer at end of mem #define TXSTOP_INIT 0x1FFF // // max frame length which the conroller will accept: #define MAX_FRAMELEN 1500 // (note: maximum ethernet frame length would be 1518) -//#define MAX_FRAMELEN 600 #endif