View previous topic :: View next topic |
Author |
Message |
artohautala
Joined: 17 Nov 2011 Posts: 187
|
any example to use PmodSF - Serial Flash ROM 128 Mbit? |
Posted: Sat Dec 24, 2011 4:07 am |
|
|
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 |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19549
|
|
Posted: Sat Dec 24, 2011 4:48 am |
|
|
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
|
|
Posted: Sat Dec 24, 2011 5:12 am |
|
|
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 |
|
|
artohautala
Joined: 17 Nov 2011 Posts: 187
|
|
Posted: Sat Dec 24, 2011 5:55 am |
|
|
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 |
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
|
|
Posted: Sun Dec 25, 2011 8:14 am |
|
|
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
|
Using the sst25vf.c |
Posted: Thu Feb 16, 2012 4:40 am |
|
|
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
|
Re: Using the sst25vf.c |
Posted: Thu Feb 16, 2012 6:41 am |
|
|
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
|
Re: Using the sst25vf.c |
Posted: Thu Feb 16, 2012 7:13 am |
|
|
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
|
Re: Using the sst25vf.c |
Posted: Mon Sep 10, 2012 5:01 am |
|
|
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
|
sst25vf library |
Posted: Thu Apr 25, 2013 11:28 am |
|
|
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: 19549
|
|
Posted: Thu Apr 25, 2013 11:36 am |
|
|
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 |
|
|
|