Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
May 20, 2012, 02:24:47 AM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read July 12, 2011, 07:41:36 AM #0
jagan

SPI support for 9260

Hi,
I am working with AT91SAM9260 based board. On this board, we have connected 64MBit DATA Flash on SPI. We have connected SPI0_MISO (PA0), SPI0_MOSI (PA1), MCCK (PA8) & SPI0_NPCS1 (PC11) to the So, SI, CLK and CS on the data flash.

I DO NOT want to boot the board from the images on this DATA Flash, but just to save user critical parameters onto this memory.

May I know the steps, to make data transfers to this DATA Flash from User application?

Thanks in advance.

Cheers,
Jagan



 
Read July 12, 2011, 08:15:38 AM #1
admin

Re: SPI support for 9260

The simpliest way is enable the DATA FLASH in the kernel build and mount the DATA FLASH as a MTD device.  Then it can be accessed as part of the file system.  Or do not mount it at all just use the MTD utilities to read and write the FLASH.
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re