Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB Interface creating a CSV file using FatFS #139

Closed
Tracked by #9
crsz20 opened this issue Oct 29, 2023 · 0 comments · Fixed by #172
Closed
Tracked by #9

USB Interface creating a CSV file using FatFS #139

crsz20 opened this issue Oct 29, 2023 · 0 comments · Fixed by #172
Assignees
Labels
Data Logging feature New feature or request

Comments

@crsz20
Copy link
Member

crsz20 commented Oct 29, 2023

Description:
Use the USB communication protocol to read/write to the USB flash drive and manage the files using the FatFS API.

USB:

  • USB Protocol Explained
  • ControllersTech: File System Management & File Creation
    • Note a warning made by a user in the comment section:
      UPDATE&IMPORTANT: in new version of CubeIDE, we must enable vbus power by MX_DriverVbusFS(0);. I did this under /* USER CODE BEGIN 2 */ in main.c. Otherwise the usb stick is not powered. ps. My CubeIDE version 1.8.0. Firmware package version FW_F4 V1.26.2. tested on stm32f411 discovery board MB1115D
    • Starter code is in the article's "Download" section, above the comments
  • Mastering STM32 textbook: Chapter 27: Universal Serial Bus

FatFS:

Definition of Done

  • Tested
  • Code reviewed
@crsz20 crsz20 mentioned this issue Oct 29, 2023
11 tasks
@crsz20 crsz20 added feature New feature or request Data Logging labels Oct 29, 2023
@crsz20 crsz20 added this to the Dev Board: Single Core milestone Oct 29, 2023
@crsz20 crsz20 changed the title USB Interface creating a simple file USB Interface creating a CSV file Oct 30, 2023
@crsz20 crsz20 self-assigned this Jan 30, 2024
@crsz20 crsz20 changed the title USB Interface creating a CSV file USB Interface creating a CSV file using FatFS Feb 27, 2024
@crsz20 crsz20 linked a pull request Mar 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Logging feature New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants