The application note, APNT_138, refers to the file PFLASH.A66, which contains the functions: PFlash_Write, PFlash_Erase, PFlash_Reset. However, I can't find this file anywhere. I assume that you have to write these routines yourself. If so, are there any examples for reading/writing/erasing the on-chip flash memory on a C166 device. Thanks