Sunday, June 25th 2017, 9:10am UTC+2

You are not logged in.

  • Login
  • Register

bloggins666

Beginner

Date of registration: Jul 7th 2011

Posts: 2

1

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 (6.3.2.1) 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?

Cheers!!

Date of registration: Sep 29th 2011

Posts: 1

2

Thursday, September 29th 2011, 4:36pm

Hello

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?

Cheers,
Al