STM32H743ZI2 USB Mass storage newbie question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-03 7:35 AM
Hello,
I'm attempting to hook a USB flash drive to the STM32H743ZI2 EV board and access it using FatFs from my code.
- Is this possible ?
- Are there any examples for this specific board ? couldn't see any under the STM32CubeH7 repository.
- If so, a project that show how to configure this using the device configuration tool would be appreciated.
Thanks,
Eitan.
- Labels:
-
STM32H7 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-03 7:39 PM
There is a NUCLEO-H743ZI2 board and an STM32H743I-EVAL2 board. Both of these have examples in the STM32CubeH7 repo. The latter has both FatFS and USB device examples.
You're saying you have a different board? I don't see a "STM32H743ZI2 EV" board available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-03 10:24 PM
I'm talking about this one :
https://os.mbed.com/platforms/ST-Nucleo-H743ZI2/
I don't see any \H743ZI2 subdirectory under \Projects.
The closest thing \NUCLEO-H743ZI does not include samples for USB host.
Eitan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-04 6:30 AM
NUCLEO-H743ZI and NUCLEO-H743ZI2 should be equivalent as far as examples go.
No USB host example there, true. The closest is probably
- \STM32Cube_FW_H7_V1.7.0\Projects\STM32H743I-EVAL\Applications\USB_Host\MSC_Standalone
Same chip, probably same USB pinout, should be close to what you're looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-04 8:39 AM
Didn't work.
I've opened \STM32H743I-EVAL\Applications\USB_Host\MSC_Standalone
Picked 'STM32H743I-EVAL_USBH-FS',
Had to remove lots of code, for ex. LCD, some other BSP code (IO expander over I2C? ),
Finally I got this to run more or less.
Plugged an OTG cable to the back of the board along with a FAT32 formatted flash drive.
The code does not switch states within USBH_Process() whenever I'm inserting \ removing the flash drive
What am I missing ?
