<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>EFS on SPI NOR FLASH and STM32F2xx uC</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41679/efs-on-spi-nor-flash-and-stm32f2xx-uc</link><description> 
I am using a STM32F207IG microcontroller, a SPI NOR Flash (M25P16)
with Keil::MDK-Middleware EFS v6.2.0. 

 
Init and Mounting works. Even &amp;quot;fcheck&amp;quot;, &amp;quot;finfo()&amp;quot; and &amp;quot;ffree()&amp;quot;
works. 

 
I can write a file successfully, with the Standard I/O Routines
</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: EFS on SPI NOR FLASH and STM32F2xx uC</title><link>https://community.arm.com/thread/83698?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 06:20:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:96f89ba4-e8f1-4a8b-abf7-c17e3d170a80</guid><dc:creator>Paolo Gentile</dc:creator><description>&lt;p&gt;&lt;p&gt;
Now I&amp;#39;m using also the Event Recorder.&lt;br /&gt;
When I call &amp;quot;fcheck&amp;quot; the function return &amp;quot;fsOK&amp;quot;, but in the Event
Recorder there is write in Red &amp;quot;DriveCheckSuccess&amp;quot;.&lt;br /&gt;
Why the return of the function and the event is different?&lt;/p&gt;

&lt;p&gt;
After I call &amp;quot;fformat&amp;quot;, the function return &amp;quot;fsMediaError&amp;quot; and in
the Event Recorder there is in Red &amp;quot;FlashEraseChipFailed&amp;quot;.&lt;/p&gt;

&lt;p&gt;
But when I call &amp;quot;ffree&amp;quot; and &amp;quot;finfo&amp;quot; both return &amp;quot;fsOK&amp;quot;, and from
the Event Recorder I can see the call to &amp;quot;FileAllocRead&amp;quot; to the right
sector of the memory.&lt;/p&gt;

&lt;p&gt;
I check the CS/NSS signal with the oscilloscope and the signal
work right with the Select and Deselect operations.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: EFS on SPI NOR FLASH and STM32F2xx uC</title><link>https://community.arm.com/thread/70315?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 05:42:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a9a6927-7c1e-413b-90b0-3f56ab45334a</guid><dc:creator>ChenTang</dc:creator><description>&lt;p&gt;&lt;p&gt;
You can turn on the Event Recorder in uVision to get more hints
about this issue:&lt;br /&gt;
&lt;a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html"&gt;
&lt;a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html"&gt;www.keil.com/.../index.html&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;

&lt;a href="http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_evr.htm"&gt;http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_evr.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>