Perhaps someone can tell me why the line "while(EE_busy & 0x01);" is not compiled? volatile UINT8 EE_busy; EE_busy = 0x01; do EE_busy = hs_NvmRDSR(); while(EE_busy & 0x01); Thanks Rich