dashtibox
Newbie level 1
- Joined
- Aug 31, 2010
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,287
Hello
I am developing a system that needs to work with NOR FLASH PC28F128P33T85 Numonyx .
My codes are in assembly and following is some sample of the codes.
When i write and then read , it has not been written to the location.
Anybody can help me? any experiences is need on 28F128 Series NOR Flashes.
Datasheet is attached.By the way i have access to the chip and i can write by programmer manually.
Thank you.
After writing i read just FFFF.
I am developing a system that needs to work with NOR FLASH PC28F128P33T85 Numonyx .
My codes are in assembly and following is some sample of the codes.
When i write and then read , it has not been written to the location.
Anybody can help me? any experiences is need on 28F128 Series NOR Flashes.
Datasheet is attached.By the way i have access to the chip and i can write by programmer manually.
Thank you.
Code:
P0.L = 0X0000;
P0.H = 0X2000;
R0 = W[P0];
P1.L = 0X0000;
P1.H = 0X2002;
R1 = W[P1];
P2.L = 0X00A0;
P2.H = 0X2000;
R2 = W[P2];
R0.L = LO (1000); // 1ms
R0.H = HI (1000);
CALL DELAY1US;
R2 = 0;
R2.L = 0X0060;
W[P2] = R2;
R2 = 0;
R2.L = 0X00D0;
W[P2] = R2;
R0.L = LO (1000); // 1ms
R0.H = HI (1000);
CALL DELAY1US;
R2 = 0;
R2.L = 0X0040;
W[P2] = R2;
R0.L = LO (1000); // 1ms
R0.H = HI (1000);
CALL DELAY1US;
R2 = 0;
R2.L = 0X00BB;
W[P2] = R2;
R0.L = LO (1000); // 1ms
R0.H = HI (1000);
CALL DELAY1US;
P2.L = 0X00A0;
P2.H = 0X2000;
R2 = W[P2];
After writing i read just FFFF.
Attachments
Last edited by a moderator: