CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

any example to use PmodSF - Serial Flash ROM 128 Mbit?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

any example to use PmodSF - Serial Flash ROM 128 Mbit?
PostPosted: Sat Dec 24, 2011 4:07 am     Reply with quote

Hi,
I'm gonna use 128 Mb flash with pic18F452:
http://digilentinc.com/Products/Detail.cfm?NavPath=2,401,489&Prod=PMOD-SF

SPI seems very complicated to use so I'm asking is there in this forum
any example how to use that flash module in the right way?
I use level converters for MISO, MOSI sel and clock lines because pic works 5 V and flash memory works with 3.3 V...

I've not tested it yet because I think I'll find some example here to start rapidly.

thank you all for good discussion forum
and merry christmas and happy new year for you all Smile
Ttelmah



Joined: 11 Mar 2010
Posts: 19551

View user's profile Send private message

PostPosted: Sat Dec 24, 2011 4:48 am     Reply with quote

The chip used is from ST. The ST25P16.
Look in the drivers directory, and you will find a driver SST25VF.c. The commands used for this are directly compatible between the two chips.

Best Wishes
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

PostPosted: Sat Dec 24, 2011 5:12 am     Reply with quote

Ttelmah wrote:
The chip used is from ST. The ST25P16.
Look in the drivers directory, and you will find a driver SST25VF.c. The commands used for this are directly compatible between the two chips.

Best Wishes


Thank you ... I'll test it in the beginning of next year when I get to my hometown ... I'm now spending Christmas at the country side ...about 215 km far away
Best Wishes Smile
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

PostPosted: Sat Dec 24, 2011 5:55 am     Reply with quote

artohautala wrote:
Ttelmah wrote:
The chip used is from ST. The ST25P16.
Look in the drivers directory, and you will find a driver SST25VF.c. The commands used for this are directly compatible between the two chips.

Best Wishes


Thank you ... I'll test it in the beginning of next year when I get to my hometown ... I'm now spending Christmas at the country side ...about 215 km far away
Best Wishes Smile

I did not find that SST25VF.c .... where I can find it ?
I tried to search it from this forum but no success...
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Sun Dec 25, 2011 8:14 am     Reply with quote

Quote:
I did not find that SST25VF.c .... where I can find it ?

It's shipped with recent CCS C versions since spring 2011.
arritsas



Joined: 16 Feb 2012
Posts: 4

View user's profile Send private message

Using the sst25vf.c
PostPosted: Thu Feb 16, 2012 4:40 am     Reply with quote

FvM wrote:
Quote:
I did not find that SST25VF.c .... where I can find it ?

It's shipped with recent CCS C versions since spring 2011.



Hi!

I am newbie, and I am trying to implement one application using this driver. Where can I find a manual or an example in order to write and read this extern memory?

I have initialized mine SPI as:

#USE SPI (MASTER, SPI2, DO = PIN_G8,DI = PIN_G7,CLK = PIN_G6, MODE=0, BITS=8, STREAM=FLASH_STREAM)

Thank you.
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

Re: Using the sst25vf.c
PostPosted: Thu Feb 16, 2012 6:41 am     Reply with quote

arritsas wrote:
FvM wrote:
Quote:
I did not find that SST25VF.c .... where I can find it ?

It's shipped with recent CCS C versions since spring 2011.



Hi!

I am newbie, and I am trying to implement one application using this driver. Where can I find a manual or an example in order to write and read this extern memory?

I have initialized mine SPI as:

#USE SPI (MASTER, SPI2, DO = PIN_G8,DI = PIN_G7,CLK = PIN_G6, MODE=0, BITS=8, STREAM=FLASH_STREAM)

Thank you.


if I get to know your email address I'll send you an example code
arritsas



Joined: 16 Feb 2012
Posts: 4

View user's profile Send private message

Re: Using the sst25vf.c
PostPosted: Thu Feb 16, 2012 7:13 am     Reply with quote

Quote:

if I get to know your email address I'll send you an example code


Here you are:
[email protected]
jvieira88



Joined: 10 Sep 2012
Posts: 3

View user's profile Send private message

Re: Using the sst25vf.c
PostPosted: Mon Sep 10, 2012 5:01 am     Reply with quote

arritsas wrote:
Quote:

if I get to know your email address I'll send you an example code


Here you are:
[email protected]


Hi! Could someone send me that example code? I don't even have the sst25vf library...
My email: [email protected]
goranst



Joined: 13 Mar 2011
Posts: 4
Location: Skopje, Macedonia

View user's profile Send private message Visit poster's website

sst25vf library
PostPosted: Thu Apr 25, 2013 11:28 am     Reply with quote

Hello,

Could someone please send me the "sst25vf.c" file? I can not find it in my drivers folder.

If there is an example it would be great.

best regards,
Goran
_________________
Goran Stojanovski

www.atronika.com
Ttelmah



Joined: 11 Mar 2010
Posts: 19551

View user's profile Send private message

PostPosted: Thu Apr 25, 2013 11:36 am     Reply with quote

You need to pay for a compiler update.
File comes with it.
The files are copyrighted, so we can't send it to you.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group