buffer mode about str9
Company  
ST Home | Microcontrollers

Index  »  ARM9 STR9  »  buffer mode about str9
     
   buffer mode about str9
 Moderated by :   »  mirou  -  eris

Author
beginning argument    ( Replies received: 1 )
ninesuntj   Posted 11-11-2008 at 02:17   



Registered on :
09-18-2009

Messages : 1

 OFF-Line

there are two work mode about str9 buffer and none buffer,The initial assembler program (init.s)had initialized the mode as buffer mode.The buffered should be defined in at91x_conf.h according with the comment in assembler file. but the buffered was not defined in at91x_conf.h in fact.The document said that hardware had different address in different mode.the program seemed to work normal.why? BTW.st and IAR have two kinds of firmware library.which one is better?



 Profile   Quote  
eris   Posted 25-12-2008 at 17:06   





Registered on :
07-19-2006

From tunisia

Messages : 49

 OFF-Line

Hi,

As you have thought by default at reset, buffered writes are disabled. When enabled (bit 3 of CP15 is set) we have also to select the appropriate address range when writing.

As it was implemented the STR9 firmware library enable buffered writes inside the “91x_init.s”. But we still perform a non buffered writes since we are using the non buffered writes address range. For sure this may impose an immediate delay to the CPU, but ensuring data coherency.

Hence we kept the choice to user to work or not with buffered writes and this is by uncomment Buffered define in the 91x_conf.h file.


Kind regards,
Eris.




 Profile   Quote  
On Top

Search in the forums
 
Jump To