Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: external memory acces on custom AT91sam9xe512 board
PostPosted: Fri Aug 03, 2012 2:12 pm 
Offline

Joined: Wed Aug 01, 2012 8:21 am
Posts: 1
hi,
I habe designed a AT91sam9xe512 based custom board. I have connected a FPGA to the EBI on NCS2. this FPGA in turn connects to some other peripherals on board. I have configured SMC on NCS2 for frozen mode and I am controlling the NWAIT by FPGA. what I need is like this: whenever the program access the externanal memory on NCS2 (FPGA in my case), the program shall wait for WAIT to disable before executing next statement/instructions.

for the testing purpose, I have made NWAIT permanently LOW (through FPGA). My program is as follows:

{
print("start of command 1");
delay();
sram_add(0)=1;
delay();
print("end of command 1");
sram_add(0)=2;
print("end of command 2");
}

what is happening is like this:
it prints the string
start of command 1
and also prints
end of command 1
and it then stops. i.e. stops at second access of NCS2.

Any suggestions please.
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: