Monday, April 23rd 2018, 9:27pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Jul 7th 2011

Posts: 2


Friday, July 8th 2011, 4:42pm

Using emfile on a STM32, do I really want to replace the GPIO setting of Alternate Funciton for the 7 control lines...

In the documentation for emfile it mentions that when using the NAND (micron MT29FWG08A) as the h/w for the file system that the memory controller should be turned off ( in order to take advantage of the better ECC performance.

Are you just referring to changing the 7 lines used for CE, WE, RE, ALE, CLE, R/B and WP from Alternate Function to one of the GPIO designations for an output? I do see that in coding up the files for driving the NAND that I have to fill in the macro's for driving these lines which is easy enough to do.

Does the memory controller (FSMC on the STM32) still exercise control over the address and data lines if I do this?

There are 2 macro's that appear to be required to change the directionality of the GPIO lines. This means that I'm removing the Data I/O lines from the control of the FSMC and this would be a very bad thing since we have an external SRAM chip. Am I correct in assuming that this will be a major conflict with it's usage?


Date of registration: Sep 29th 2011

Posts: 1


Thursday, September 29th 2011, 4:36pm


Same question from me, I'm just starting to use emFile on an STM32F103 and it's not clear if these lines need to be manually set by emFile or if FSMC does it automatically.

Any word from Segger?