Re: [Sdcc-user] [PIC16] Another way to read/write EEPROM?

2012-04-22 Thread Diego Herranz
Thanks, I'll test it and let you know. On Sun, Apr 22, 2012 at 2:57 PM, Raphael Neider wrote: > Hi, > > > Testing the eeprom pointer accesses, I think I've found a bug: > > > > Simulating with Proteus VSM: "Attemp to write to EECON2 without setting > WREN > > bit is ignored." > > > > WREN can be

Re: [Sdcc-user] [PIC16] Another way to read/write EEPROM?

2012-04-22 Thread Raphael Neider
Hi, > Testing the eeprom pointer accesses, I think I've found a bug: > > Simulating with Proteus VSM: "Attemp to write to EECON2 without setting WREN > bit is ignored." > > WREN can be found in EECON.2 and not in EECON.3 (WERR). > > BSF _EECON1, 3, 0 ; WREN = 1: enable write access Jepp, fixed in

Re: [Sdcc-user] [PIC16] Another way to read/write EEPROM?

2012-04-22 Thread Diego Herranz
Testing the eeprom pointer accesses, I think I've found a bug: Simulating with Proteus VSM: "Attemp to write to EECON2 without setting WREN bit is ignored." WREN can be found in EECON.2 and not in EECON.3 (WERR). BSF _EECON1, 3, 0 ; WREN = 1: enable write access Thanks a lot On Fri, Apr 20, 20