zhangyimb zhangyimb

About P-FLASH

Discussion created by zhangyimb zhangyimb on May 19, 2012
Latest reply on May 22, 2012 by zhangyimb zhangyimb

Hello everybody!

I am using XET256,I have some problems about using P-Flash.

If I want to program P-Flash from 0x780002 to 0x780007, and P-Flash in address 0x780000 and 0x780001 have been programed, so I  fill 0x780000 as 0xffff ,like that: 

FCCOBIX=0;

FCCOB=0X0678;

FCCOBIX=1;

FCCOB=0X0000;

FCCOBIX=2;

FCCOB=0XFFFF;

FCCOBIX=3;

FCCOB=value1

FCCOBIX=4

FCCOB=value2

FCCOBIX=5

FCCOB=value3

FSTAT=0X80;

 

Whether this will generate a P-Flash Command Error? If it will set ACCERR FPVIOL MGSTAT1 or MGSTAT2?

Outcomes