In the device modules for 18FxxJxx family controllers having ethernet capabilities, I've noticed that the EDATA SFR is commented out in the 'public system' area and defined later in the code under the 'alias' section. The datasheets say that EDATA is located at $0F61 although the device module is setting it at $0F80. However, $0F80 is also the location of PORTA.
I'm not sure of the difference between a 'public dim' and a 'public system' declaration, but the register location doesn't seem right to me. Can someone tell me if this is a mistake in the device module?
EDATA SFR location in device modules
Moderators: David Barker, Jerry Messina
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact: