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  [ 2 posts ] 
Author Message
 Post subject: AT91SAM9263-EK: Problems with Flash and SRAM
PostPosted: Mon Jul 23, 2007 3:55 pm 
Offline

Joined: Thu Apr 26, 2007 1:01 pm
Posts: 9
Hello all

on my EvalKit i can write to SDRAM and also in the Dataflash-Card.

Problems with Flash:


The flash type is not recognized, but on the Board i have a SAMSUNG KF92G08U0MPCB8 Flash. So i can not download any code into flash. This is an eval-board. Why is this not working? Not tested?

Samba-Output-Extract:
(AT91-ISP v1.10) 20 % NANDFLASH::Init
-I- Enable the address range of CS3 in HMATRIX user interface
-I- Configure SMC CS3
-I- Clock PIOA
-I- Configure Ready/Busy signal
-I- Configure pull-up
-I- Enable NandFlash
-I- Initialize SDRAM
-I- Configure PIOD as peripheral (D16/D31)
-I- Init MATRIX to support EBI0 CS1 for SDRAM
-I- OUTPUT1: 65546
-I- Init SDRAM
-I- 1. A minimum pause of 200us is provided to precede any signal toggle
-I- OUTPUT2: 65627
-I- 2. A Precharge All command is issued to the SDRAM
-I- *pSDRAM = 0;
-I- 3. Eight Auto-refresh are provided
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- *pSDRAM = 0;
-I- 4. A mode register cycle is issued to program the SDRAM parameters
-I- *(pSDRAM+0x20) = 0;
-I- 5. Write refresh rate into SDRAMC refresh timer COUNT register
-I- 6. A Normal Mode Command is provided, 3 clocks after tMRD is set
-I- *pSDRAM = 0;
-I- End of Init_SDRAM_48
-I- ReadId
-I- NandFlash ID : 0x00000028
-E- Manufacturer not supported...

(AT91-ISP v1.10) 20 % NANDFLASH::Init
-I- Enable the address range of CS3 in HMATRIX user interface
-I- Configure SMC CS3
-I- Clock PIOA
-I- Configure Ready/Busy signal
-I- Configure pull-up
-I- Enable NandFlash
-I- Initialize SDRAM
-I- SDRAM already initialized
-I- ReadId
-I- NandFlash ID : 0x0012d6a0
-E- Manufacturer not supported...


Problems with SRAM:
Where is the SRAM located? I think on 0x300000. But when i link the led-Example to this place, it does not work correctly. Why not?

Need help urgently!
Mario Borer

[/u]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 11:25 am 
Offline

Joined: Mon Aug 21, 2006 8:09 am
Posts: 22
Hi, I have no idea about this kit.

But i can suggest you for SRAM using SAM-BA, you can download the code onto the evaluation board.

You need to remap RAM so that it will switch to 0x300000 location.

in the address location 0xffffee00 write 0x03
select the file and send it using SAM-BA
go 0x300000

after this you will get a message to lock the memory regions. Do not lock any one. Just press no and see the output on the board.

Regards
Rao


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


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: