Skip to main content
Visitor II
December 16, 2020
Question

I am using a Discovery kit with STM32F429ZI MCU, and I wanted to use some of the examples provided by ST, but you know they are missing the .ioc file. I wanted to play around with the configuration to make it work for my requirements.

  • December 16, 2020
  • 6 replies
  • 1249 views

The example I am talking about is the Fatfs_USBDisk example.

    This topic has been closed for replies.

    6 replies

    Visitor II
    December 16, 2020

    Open the cube, and select the BOARD F429ZI

    then tick configure board connections, that should give you an empty .IOC file

    that is the DMAs wont be setup, or anything else.

    but all the pins will be set.

    Visitor II
    December 16, 2020

    just opening it now

    the cube is slow as today

    Visitor II
    December 16, 2020

    ok, you need to select the FATFS middleware, are you using RTOS ? if not deselect it

    if you are using the serial ports then you will need to setup the DMAs Rx and Tx.

    Visitor II
    December 16, 2020

    is this the project you are using ?

    STM32Cube\Repository\STM32Cube_FW_F4_V1.16.0\Projects\STM32F429I-Discovery\Applications\FatFs\FatFs_USBDisk

    ZTakk.1Author
    Visitor II
    December 16, 2020

    Yes exactly that's the example I wanted to base my work on

    Visitor II
    December 16, 2020

    I haven't used the F429 nor RTOS not the USB Disk before, so I am at the end of my help.

    which IDE are you using ?

    ZTakk.1Author
    Visitor II
    December 16, 2020

    I am using STM32CubeIDE

    Visitor II
    December 16, 2020

    in the cube, go to the projects banner and set your IDE interface there,

    you have plenty of ram on this processor so set the Heap and Stack to 0x1000 each

    you may need to download the new STM32Cube_FW_F4_V1.24.2 Firmware package

    usually I find its easier to download from ST.com, not through the cube

    when it asks if you want to download the latest firmware package, say no, and find it through ST.COM