cancel
Showing results for 
Search instead for 
Did you mean: 

the problem about writing xflash in 72f264

hai-yang
Associate
Posted on March 24, 2003 at 09:40

the problem about writing xflash in 72f264

3 REPLIES 3
hai-yang
Associate
Posted on March 18, 2003 at 23:42

hello, I meet a problem that I use indart 72f264 demo board to write

some context in 264.

firstly , I want to unlock the rass with writing FCSR #$56,#$ae, but it seems that I didn't success because I can not set the fcsr,#1.

The indart soft give me a communication error message when I step by step to implement the instruction ''BSET FCSR,#1'' after implement

.main

LD a,#$56

LD FCSR,A

LD A,#$AE

LD FCSR,A

how can I do ? thx!

[ This message was edited by: PIKKABALL on 19-03-2003 04:13 ]
shreya
Associate II
Posted on March 24, 2003 at 03:59

Hello,

I hope you know that once the LAT bit in FCSR is set, you cannot execute anything from flash. Hence it is necessary to jump to RAM before setting LAT bit. This could be the cause of the communication error.
stephanie
Associate II
Posted on March 24, 2003 at 09:40

AN1477 (Emulated Data EEPROM with XFlash memory) available in this site (download part) gives you all the code to do that! Moreover, the example is made with a 264!