Microchip Technology Inc

AN1095

Title:
AN1095, Emulating Data EEPROM for PIC18 and PIC24 MCUs and dsPIC DSCs
Name:
AN1095
Date:
03/26/2018
Author:
David Otten, Stephen Cowden, Pradeep Budagutta, Priyabrata Sinha
Description:
Many applications store nonvolatile information in the Flash program memory using table write and read operations. Applications that need to frequently update this data may have greater endurance requirements than the specified Flash endurance for the device. The alternate solution of using an external, serial EEPROM device may not be appropriate for cost-sensitive or pin-constrained applications. This application note presents a third alternative that addresses these issues. This algorithm features an interface similar to an internal data EEPROM, uses available program memory and can improve endurance by a factor as high as 500.
Keywords:
Data EEPROM, PIC18, PIC24, dsPIC33F, dsPIC33E
 
 Application Notes & Source Code
 Last Updated
Size
 
  AN1095
  03/26/2018
  172KB
  DEE Emulation 16-bit v3.0
  06/05/2018
  107KB
  DEE Emulation 8-bit v1.1.2
  07/15/2010
  312KB
 wwwSite_Resource
Last Updated
  PIC18F87J10
  04/20/2005
 Silicon Products
Last Updated
  dsPIC33FJ128GP206
  04/30/2010
  dsPIC33FJ128GP206A
  09/25/2012
  dsPIC33FJ128GP306
  04/30/2010
  dsPIC33FJ128GP306A
  09/25/2012
  dsPIC33FJ128GP310
  04/30/2010
  dsPIC33FJ128GP310A
  09/25/2012
  dsPIC33FJ128GP706
  04/30/2010
  dsPIC33FJ128GP706A
  09/25/2012
  dsPIC33FJ128GP708
  04/30/2010
  dsPIC33FJ128GP708A
  09/25/2012
  dsPIC33FJ128GP710
  04/30/2010
  dsPIC33FJ128GP710A
  09/25/2012
  dsPIC33FJ128MC506
  04/30/2010
  dsPIC33FJ128MC506A
  09/26/2012
  dsPIC33FJ128MC510
  05/12/2010
  dsPIC33FJ128MC510A
  09/26/2012
  dsPIC33FJ128MC706
  05/19/2010
  dsPIC33FJ128MC706A
  09/26/2012
  dsPIC33FJ128MC708
  05/19/2010
  dsPIC33FJ128MC708A
  09/27/2012
  dsPIC33FJ128MC710
  05/19/2010
  dsPIC33FJ128MC710A
  09/27/2012
  dsPIC33FJ12GP201
  09/10/2007
  dsPIC33FJ12GP202
  07/14/2011
  dsPIC33FJ12MC201
  10/05/2012
  dsPIC33FJ12MC202
  10/05/2012
  dsPIC33FJ16GP101
  10/05/2012
  dsPIC33FJ16GP102
  10/05/2012
  dsPIC33FJ16GP304
  10/05/2012
  dsPIC33FJ16MC101
  10/05/2012
  dsPIC33FJ16MC102
  10/07/2012
  dsPIC33FJ16MC304
  10/07/2012
  dsPIC33FJ256GP506
  05/19/2010
  dsPIC33FJ256GP506A
  09/27/2010
  dsPIC33FJ256GP510
  05/19/2010
  dsPIC33FJ256GP510A
  09/13/2011
  dsPIC33FJ256GP710
  05/19/2010
  dsPIC33FJ256GP710A
  03/01/2011
  dsPIC33FJ256MC510
  05/19/2010
  dsPIC33FJ256MC510A
  10/07/2012
  dsPIC33FJ256MC710
  05/19/2010
  dsPIC33FJ256MC710A
  10/07/2012
  dsPIC33FJ32GP101
  01/28/2013
  dsPIC33FJ32GP102
  01/28/2013
  dsPIC33FJ32GP104
  01/28/2013
  dsPIC33FJ32GP202
  10/07/2012
  dsPIC33FJ32GP204
  10/07/2012
  dsPIC33FJ32MC101
  01/28/2013
  dsPIC33FJ32MC102
  01/28/2013
  dsPIC33FJ32MC104
  10/04/2012
  dsPIC33FJ32MC202
  10/07/2012
  dsPIC33FJ32MC204
  10/07/2012
  dsPIC33FJ64GP206
  05/19/2010
  dsPIC33FJ64GP206A
  10/05/2012
  dsPIC33FJ64GP306
  05/19/2010
  dsPIC33FJ64GP306A
  10/05/2012
  dsPIC33FJ64GP310
  05/19/2010
  dsPIC33FJ64GP310A
  10/05/2012
  dsPIC33FJ64GP706
  05/19/2010
  dsPIC33FJ64GP706A
  10/05/2012
  dsPIC33FJ64GP708
  05/19/2010
  dsPIC33FJ64GP708A
  10/05/2012
  dsPIC33FJ64GP710
  05/19/2010
  dsPIC33FJ64GP710A
  10/04/2012
  dsPIC33FJ64MC506
  05/19/2010
  dsPIC33FJ64MC506A
  10/04/2012
  dsPIC33FJ64MC508
  05/19/2010
  dsPIC33FJ64MC508A
  10/04/2012
  dsPIC33FJ64MC510
  05/19/2010
  dsPIC33FJ64MC510A
  10/04/2012
  dsPIC33FJ64MC706
  05/19/2010
  dsPIC33FJ64MC706A
  10/04/2012
  dsPIC33FJ64MC710
  05/19/2010
  dsPIC33FJ64MC710A
  10/04/2012
  PIC12C671
  10/14/2007
  PIC18C242
  10/14/2007
  PIC18C252
  10/14/2007
  PIC18C442
  10/14/2007
  PIC18C452
  10/14/2007
  PIC18C601
  06/09/2009
  PIC18C658
  10/14/2007
  PIC18C801
  06/09/2009
  PIC18C858
  10/14/2007
  PIC18F1220
  10/02/2012
  PIC18F1230
  10/14/2007
  PIC18F1320
  10/02/2012
  PIC18F1330
  10/14/2007
  PIC18F2220
  10/02/2012
  PIC18F2221
  10/02/2012
  PIC18F2320
  10/02/2012
  PIC18F2321
  10/02/2012
  PIC18F2331
  10/01/2012
  PIC18F23K20
  10/01/2012
  PIC18F2410
  10/01/2012
  PIC18F242
  10/14/2007
  PIC18F2420
  10/01/2012
  PIC18F2423
  10/01/2012
  PIC18F2431
  10/01/2012
  PIC18F2439
  10/14/2007
  PIC18F2450
  10/01/2012
  PIC18F2455
  10/01/2012
  PIC18F2458
  10/01/2012
  PIC18F248
  10/22/2007
  PIC18F2480
  10/01/2012
  PIC18F24J10
  10/01/2012
  PIC18F24J11
  10/01/2012
  PIC18F24J50
  10/01/2012
  PIC18F24K20
  10/01/2012
  PIC18F2510
  09/30/2012
  PIC18F2515
  09/30/2012
  PIC18F252
  10/22/2007
  PIC18F2520
  09/30/2012
  PIC18F2523
  09/30/2012
  PIC18F2525
  09/30/2012
  PIC18F2539
  10/22/2007
  PIC18F2550
  09/30/2012
  PIC18F2553
  09/30/2012
  PIC18F258
  10/22/2007
  PIC18F2580
  09/30/2012
  PIC18F2585
  09/30/2012
  PIC18F25J10
  09/30/2012
  PIC18F25J11
  09/30/2012
  PIC18F25J50
  09/30/2012
  PIC18F25K20
  09/30/2012
  PIC18F2610
  09/30/2012
  PIC18F2620
  09/30/2012
  PIC18F2680
  09/30/2012
  PIC18F2682
  10/14/2007
  PIC18F2685
  10/14/2007
  PIC18F26J11
  09/30/2012
  PIC18F26J13
  09/30/2012
  PIC18F26J50
  09/30/2012
  PIC18F26J53
  09/30/2012
  PIC18F26K20
  09/30/2012
  PIC18F27J13
  09/30/2012
  PIC18F27J53
  09/30/2012
  PIC18F4220
  09/30/2012
  PIC18F4221
  09/30/2012
  PIC18F4320
  09/30/2012
  PIC18F4321
  09/30/2012
  PIC18F4331
  09/30/2012
  PIC18F43K20
  09/30/2012
  PIC18F4410
  09/28/2012
  PIC18F442
  10/22/2007
  PIC18F4420
  09/28/2012
  PIC18F4423
  09/28/2012
  PIC18F4431
  09/28/2012
  PIC18F4439
  10/22/2007
  PIC18F4450
  09/28/2012
  PIC18F4455
  09/28/2012
  PIC18F4458
  09/28/2012
  PIC18F448
  10/22/2007
  PIC18F4480
  09/28/2012
  PIC18F44J10
  09/28/2012
  PIC18F44J11
  09/28/2012
  PIC18F44J50
  09/28/2012
  PIC18F44K20
  09/28/2012
  PIC18F4510
  09/28/2012
  PIC18F4515
  10/04/2012
  PIC18F452
  06/08/2009
  PIC18F4520
  10/04/2012
  PIC18F4523
  10/04/2012
  PIC18F4525
  10/04/2012
  PIC18F4539
  10/14/2007
  PIC18F4550
  06/08/2009
  PIC18F4553
  10/04/2012
  PIC18F458
  10/22/2007
  PIC18F4580
  10/22/2007
  PIC18F4585
  10/08/2009
  PIC18F45J10
  10/14/2007
  PIC18F45J11
  10/04/2012
  PIC18F45J50
  10/04/2012
  PIC18F45K20
  10/04/2012
  PIC18F4610
  10/04/2012
  PIC18F4620
  10/04/2012
  PIC18F4680
  10/08/2009
  PIC18F4682
  10/14/2007
  PIC18F4685
  10/14/2007
  PIC18F46J11
  10/04/2012
  PIC18F46J13
  10/04/2012
  PIC18F46J50
  10/04/2012
  PIC18F46J53
  10/04/2012
  PIC18F46K20
  10/04/2012
  PIC18F47J13
  10/04/2012
  PIC18F47J53
  10/04/2012
  PIC18F6310
  10/14/2007
  PIC18F6390
  10/04/2012
  PIC18F63J11
  10/04/2012
  PIC18F63J90
  10/04/2012
  PIC18F6410
  10/04/2012
  PIC18F6490
  10/04/2012
  PIC18F64J11
  10/04/2012
  PIC18F64J90
  10/04/2012
  PIC18F6520
  10/04/2012
  PIC18F6525
  10/14/2007
  PIC18F6527
  06/08/2009
  PIC18F6585
  06/08/2009
  PIC18F65J10
  10/04/2012
  PIC18F65J11
  10/04/2012
  PIC18F65J15
  10/04/2012
  PIC18F65J50
  10/04/2012
  PIC18F65J90
  10/04/2012
  PIC18F6620
  10/14/2007
  PIC18F6621
  10/14/2007
  PIC18F6622
  10/22/2007
  PIC18F6627
  06/08/2009
  PIC18F6628
  10/22/2007
  PIC18F6680
  06/08/2009
  PIC18F66J10
  10/14/2007
  PIC18F66J11
  10/04/2012
  PIC18F66J15
  10/14/2007
  PIC18F66J16
  10/04/2012
  PIC18F66J50
  10/04/2012
  PIC18F66J55
  10/04/2012
  PIC18F66J60
  06/19/2009
  PIC18F66J65
  10/04/2012
  PIC18F66J90
  10/04/2012
  PIC18F66J93
  10/04/2012
  PIC18F6720
  10/14/2007
  PIC18F6722
  10/03/2012
  PIC18F6723
  10/03/2012
  PIC18F67J10
  10/03/2012
  PIC18F67J11
  10/03/2012
  PIC18F67J50
  10/03/2012
  PIC18F67J60
  10/03/2012
  PIC18F67J90
  10/03/2012
  PIC18F67J93
  10/03/2012
  PIC18F8310
  10/03/2012
  PIC18F8390
  10/03/2012
  PIC18F83J11
  10/01/2012
  PIC18F83J90
  09/30/2012
  PIC18F8410
  09/30/2012
  PIC18F8490
  09/30/2012
  PIC18F84J11
  09/30/2012
  PIC18F84J90
  09/30/2012
  PIC18F8520
  10/14/2007
  PIC18F8525
  10/14/2007
  PIC18F8527
  09/30/2012
  PIC18F8585
  06/08/2009
  PIC18F85J10
  09/30/2012
  PIC18F85J11
  09/30/2012
  PIC18F85J15
  09/30/2012
  PIC18F85J50
  09/30/2012
  PIC18F85J90
  09/20/2012
  PIC18F8620
  10/14/2007
  PIC18F8621
  10/14/2007
  PIC18F8622
  09/30/2012
  PIC18F8627
  06/08/2009
  PIC18F8628
  09/30/2012
  PIC18F8680
  06/08/2009
  PIC18F86J10
  09/30/2012
  PIC18F86J11
  09/30/2012
  PIC18F86J15
  09/30/2012
  PIC18F86J16
  09/30/2012
  PIC18F86J50
  09/30/2012
  PIC18F86J55
  09/30/2012
  PIC18F86J60
  09/30/2012
  PIC18F86J65
  09/30/2012
  PIC18F86J72
  09/30/2012
  PIC18F86J90
  09/30/2012
  PIC18F86J93
  09/30/2012
  PIC18F8720
  10/14/2007
  PIC18F8722
  09/30/2012
  PIC18F8723
  09/30/2012
  PIC18F87J10
  09/30/2012
  PIC18F87J11
  09/30/2012
  PIC18F87J50
  09/30/2012
  PIC18F87J60
  09/30/2012
  PIC18F87J72
  09/30/2012
  PIC18F87J90
  09/30/2012
  PIC18F87J93
  09/30/2012
  PIC18F96J60
  09/30/2012
  PIC18F96J65
  09/30/2012
  PIC18F97J60
  09/30/2012
  PIC24F04KA200
  09/27/2012
  PIC24F04KA201
  09/27/2012
  PIC24F08KA101
  09/27/2012
  PIC24F08KA102
  09/27/2012
  PIC24F08KM101
  03/28/2013
  PIC24F08KM102
  03/28/2013
  PIC24F08KM202
  03/28/2013
  PIC24F08KM204
  03/28/2013
  PIC24F16KA101
  09/27/2012
  PIC24F16KA102
  09/27/2012
  PIC24F16KA301
  09/27/2012
  PIC24F16KA302
  09/27/2012
  PIC24F16KA304
  09/27/2012
  PIC24F16KM102
  03/28/2013
  PIC24F16KM104
  03/28/2013
  PIC24F16KM202
  03/28/2013
  PIC24F16KM204
  03/27/2013
  PIC24F32KA301
  08/09/2011
  PIC24F32KA302
  09/27/2012
  PIC24F32KA304
  09/26/2012
  PIC24FJ128GA006
  09/26/2012
  PIC24FJ128GA008
  09/26/2012
  PIC24FJ128GA010
  09/26/2012
  PIC24FJ128GA106
  09/26/2012
  PIC24FJ128GA108
  09/26/2012
  PIC24FJ128GA110
  01/19/2012
  PIC24FJ128GA306
  09/26/2012
  PIC24FJ128GA308
  09/26/2012
  PIC24FJ128GA310
  09/26/2012
  PIC24FJ128GB106
  09/26/2012
  PIC24FJ128GB108
  09/26/2012
  PIC24FJ128GB110
  09/26/2012
  PIC24FJ16GA002
  09/26/2012
  PIC24FJ16GA004
  09/26/2012
  PIC24FJ192GA106
  09/26/2012
  PIC24FJ192GA108
  09/26/2012
  PIC24FJ192GA110
  09/26/2012
  PIC24FJ192GB106
  09/26/2012
  PIC24FJ192GB108
  09/26/2012
  PIC24FJ192GB110
  09/26/2012
  PIC24FJ256GA106
  09/26/2012
  PIC24FJ256GA108
  09/26/2012
  PIC24FJ256GA110
  09/26/2012
  PIC24FJ256GB106
  09/26/2012
  PIC24FJ256GB108
  09/26/2012
  PIC24FJ256GB110
  09/26/2012
  PIC24FJ32GA002
  09/26/2012
  PIC24FJ32GA004
  09/26/2012
  PIC24FJ32GA102
  09/25/2012
  PIC24FJ32GA104
  09/25/2012
  PIC24FJ32GB002
  09/25/2012
  PIC24FJ32GB004
  09/25/2012
  PIC24FJ32MC101
  09/25/2012
  PIC24FJ32MC102
  09/25/2012
  PIC24FJ32MC104
  09/25/2012
  PIC24FJ48GA002
  09/25/2012
  PIC24FJ48GA004
  09/25/2012
  PIC24FJ64GA002
  09/25/2012
  PIC24FJ64GA004
  09/25/2012
  PIC24FJ64GA006
  09/25/2012
  PIC24FJ64GA008
  06/08/2009
  PIC24FJ64GA010
  09/25/2012
  PIC24FJ64GA102
  09/25/2012
  PIC24FJ64GA104
  09/25/2012
  PIC24FJ64GA106
  09/25/2012
  PIC24FJ64GA108
  01/19/2012
  PIC24FJ64GA110
  09/25/2012
  PIC24FJ64GA306
  09/25/2012
  PIC24FJ64GA308
  09/25/2012
  PIC24FJ64GA310
  09/25/2012
  PIC24FJ64GB002
  09/25/2012
  PIC24FJ64GB004
  09/25/2012
  PIC24FJ64GB106
  09/25/2012
  PIC24FJ64GB108
  09/25/2012
  PIC24FJ64GB110
  09/25/2012
  PIC24FJ96GA006
  09/25/2012
  PIC24FJ96GA008
  09/25/2012
  PIC24FJ96GA010
  09/25/2012
  PIC24HJ128GP206
  05/19/2010
  PIC24HJ128GP206A
  09/25/2012
  PIC24HJ128GP206A
  09/25/2012
  PIC24HJ128GP210
  05/19/2010
  PIC24HJ128GP210A
  09/25/2012
  PIC24HJ128GP306
  05/19/2010
  PIC24HJ128GP306A
  09/25/2012
  PIC24HJ128GP306A
  09/25/2012
  PIC24HJ128GP310
  05/19/2010
  PIC24HJ128GP310A
  09/25/2012
  PIC24HJ128GP506
  05/19/2010
  PIC24HJ128GP506A
  09/23/2012
  PIC24HJ128GP510
  05/19/2010
  PIC24HJ128GP510A
  09/23/2012
  PIC24HJ12GP201
  09/23/2012
  PIC24HJ12GP202
  09/23/2012
  PIC24HJ16GP304
  02/02/2011
  PIC24HJ256GP206
  05/19/2010
  PIC24HJ256GP210
  05/19/2010
  PIC24HJ256GP210A
  09/22/2012
  PIC24HJ256GP610
  05/19/2010
  PIC24HJ256GP610A
  09/22/2012
  PIC24HJ32GP202
  02/02/2011
  PIC24HJ32GP204
  02/02/2011
  PIC24HJ64GP206
  05/19/2010
  PIC24HJ64GP206A
  09/21/2012
  PIC24HJ64GP210
  05/19/2010
  PIC24HJ64GP210A
  09/21/2012
  PIC24HJ64GP506
  05/19/2010
  PIC24HJ64GP506A
  09/21/2012
  PIC24HJ64GP510
  05/19/2010
  PIC24HJ64GP510A
  09/21/2012