DSPRelated.com
Forums

C6727 Flash Access Problem

Started by sabapati May 24, 2008
1. We have a C6727 Card with one 16 bit FLASH Am29LV400BB(WORD MODE)
WITH interfaces as per TI (Datasheet-SPRS370,Pg 46, Fig-4.5 & App Note-
SPRU711, Pg 30, Fig-2.9b)
C6727/EM_BA1 TO FLASH/A0
C6727/EM_A0,1,..12 TO FLASH/A1,2,,,13
C6727/GPIO(S) TO FLASH/A14..16
A1CR Reg set for 16 bit EMIF Access

2. Does Anybody have simple routines to access the flash. The routines
which we have from a development board are huge.

3. Is usage of Volatile unsigned short Address necessary ?

4. If I use *pa or data=*p (with *p as unsigned int) C6727 is
writing 32-bit data (2 16-bit data) writes each time and the FLASH
write sequence is getting modified due to 2 writes for each write
statement.