@verbatim
******************************************************************************
* @file st_readme.txt
* @author MCD Application Team
* @brief This file lists the main modification done by STMicroelectronics on
* FatFs for integration with STM32Cube solution.
* For more details on FatFs implementation on STM32Cube, please refer
* to UM1721 "Developing Applications on STM32Cube with FatFs"
******************************************************************************
* @attention
*
* Copyright (c) 2017 STMicroelectronics. All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
@endverbatim
### V2.1.4/18-10-2019 ###
============================
+ Fix wrong usage of the "memcpy" in the SD_Write() function
- drivers/sd_diskio_dma_template_bspv1.c
- drivers/sd_diskio_dma_template_bspv2.c
- drivers/sd_diskio_dma_rtos_template_bspv1.c
- drivers/sd_diskio_dma_rtos_template_bspv2.c
+ correct the usage of the "_USE_MUTEX" config flag
- syscall.c
### V2.1.3/26-07-2019 ###
============================
+ add new BSPv2 templates:
- drivers/sd_diskio_dma_rtos_template_bspv2.c
- drivers/sd_diskio_dma_template_bspv2.c
- drivers/sd_diskio_template_bspv2.c
- drivers/sdram_diskio_template_bspv2.c
+ rename old template to "xxxx_diskio_template_bspv1.c":
- drivers/sd_diskio_dma_rtos_template_bspv1.c
- drivers/sd_diskio_dma_template_bspv1.c
- drivers/sd_diskio_template_bspv1.c
- drivers/sdram_diskio_template_bspv1.c
+ Add CMSIS-OSv2 support in templates, syscall.c and ff_conf_template.h
- syscall.c
- ff_conf_template.h
- drivers/sd_diskio_dma_rtos_template_bspv2.c
+ support usage of "osMutex" alongside "osSemaphore" as _SYNC_t type in fatfs
- syscall.c
- ff_conf_template.h
### V2.1.2/29-03-2019 ###
============================
+ add st_license.txt in the root directory
+ src/drivers/xxx_diskio_template.[c/h], src/ff_gen_drv.[c/h], src/option/syscall.c: update the license terms to BSD-3-Clause
### V2.1.1/25-01-2019 ###
============================
+ sd_diskio_dma_rtos_template.c
- Fix memory leak in the SD_Initialize()
- Disable the ENABLE_SD_DMA_CACHE_MAINTENANCE flag by default to fix a build error for CM4
- include correct diskio header file
+ sd_diskio_dma_template.c
- Correct the SD_read() function when enabling the ENABLE_SCRATCH_BUFFER flag
+ sd_diskio_dma_rtos_template.c sd_diskio_dma_template.c
- fix potential overflow when using SysTick.
### V2.1.0/21-09-2018 ###
============================
+ ff.c
- back-port a fix from 0.13, to correct an issue when using multi-threading
access in the same device due to a missing semaphore lock when calling
disk_status() API.
+ sd_diskio_dma_rtos_template.c
- Add support to CMSIS-RTOS V2 API
+ sd_diskio_dma_rtos_template.c sd_diskio_dma_template.c
- Add a compile flag "ENABLE_SCRATCH_BUFFER" to avoid misaligned access
caused buffer alignment constraint in some DMA versions.
- Add BSP_SD_ErrorCallback() and BSP_SD_AbortCallback() template functions.
### V2.0.2/17-November-2017 ###
============================
+ sdram_diskio_template.c sram_diskio_template.c
Fix wrong buffer size in the (SRAM/SDRAM)DISK_read(), (SRAM/SDRAM)DISK_write()
+ sd_diskio_template.c
- define a generic 'SD_TIMEOUT' based on the BSP drivers defines. This fixes
a build issue when using this driver with the Adafruit shield.
+ sd_diskio_dma_rtos_template.c
- add a check via osKernelRunning(), to avoid runtime errors due to
osMessageXXX calls that needs the "osKernelStart()" call done first.
+ sd_diskio_dma_template.c, sd_diskio_dma_rtos_template.c
- fix wrong address alignment when calling SCB_InvalidateDCache_by_Addr() and
SCB_CleanDCache_by_Addr(), the address has to be 32-Byte and not
32-bit aligned.
- fix BSP_SD_ReadCpltCallback() and BSP_SD_WriteCpltCallback() prototypes by
adding 'void' as argument to avoid IAR compiler errors
+ sd_diskio_template.c sd_diskio_dma_template.c, sd_diskio_dma_rtos_template.c
- add the flag "DISABLE_SD_INIT" to give the user the choice to initialize the SD
either in the application or in the FatFs diskio driver.
+ all xxx_diskio_template.c
- fix GET_BLOCK_SIZE ioctl call; the return value is in unit of sectors.
### V2.0.1/10-July-2017 ###
============================
+ sd_diskio_dma_template.c, sd_diskio_dma_rtos_template.c
- add the flag "ENABLE_SD_DMA_CACHE_MAINTENANCE", to enable cache maintenance at each read write operation.
This is useful for STM32F7/STM32H7 based platforms when using a cachable memory region.
- add timeout checks in SD_Read() and SD_Write() to give the control back to the application to decide in case of errors.
+ ff_gen_drv.c: fix a wrong check that causes an out of bound array access.
### V2.0.0/07-March-2017 ###
============================
+ Upgrade to use FatFS R0.12c. The R0.12c breaks the API compatibility with R0.11b.
- f_mkfs() API has a new signature.
- The _CODE_PAGE got new values.
- For more details check the files (doc/updates.txt) and the following urls:
http://elm-chan.org/fsw/ff/en/mkfs.html
http://elm-chan.org/fsw/ff/en/config.html
+ Add USB, RAMDISK and uSD template drivers under src/drivers.
- The diskio drivers aren't part of fatfs anymore, they are just templates instead.
- User has to copy the suitable template .c/.h file under the project, rename them by
removing the "_template" suffix then link them into the final application.
- The diskio driver .c/.h files have to be edited according to the used platform.
+ Define the macros "ff_malloc" and "ff_free" in the ff_conf_template.h and use
them in the syscall.c instead of direct calls to stdlib malloc and free functions.
+ Define the "__weak" attribute in diskio.c for the GNU GCC compiler
### V1.4.0/09-September-2016 ###
================================
+ Upgrade to use FatFs R0.12b.
+ ff_conf.h: remove the use of define "_USE_BUFF_WO_ALIGNMENT".
### V1.3.0/08-May-2015 ###
==========================
+ Upgrade to use FatFs R0.11.
+ Add new APIs FATFS_LinkDriverEx() and FATFS_UnLinkDriverEx() to manage USB Key Disk having
multi-lun capability. These APIs are equivalent to FATFS_LinkDriver() and FATFS_UnLinkDriver()
with "lun" parameter set to 0.
+ ff_conf.h: add new define "_USE_BUFF_WO_ALIGNMENT".
This option is available only for usbh diskio interface and allow to disable
the management of the unaligned buffer.
When STM32 USB OTG HS or FS IP is used with internal DMA enabled, this define
must be set to 0 to align data into 32bits through an internal scratch buffer
before being processed by the DMA . Otherwise (DMA not used), this define must
be set to 1 to avoid Data alignment and improve the performance.
Please note that if _USE_BUFF_WO_ALIGNMENT is set to 1 and an unaligned 32bits
buffer is forwarded to the FatFs Write/Read functions, an error will be returned.
(0: default value or 1: unaligned buffer return an error).
+ Important note:
For application code based on previous FatFs version; when moving to R0.11
the changes that need to be done is to update ffconf.h file, taking
ffconf_template.h file as reference.
### V1.2.1/20-November-2014 ###
===============================
+ Disk I/O drivers; change count argument type from BYTE to UINT
+ Important note:
For applicatio
没有合适的资源?快使用搜索试试~ 我知道了~
STM32通过SD卡升级程序
共194个文件
d:42个
crf:41个
o:37个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 4 下载量 25 浏览量
2022-07-12
23:32:42
上传
评论 1
收藏 9.2MB RAR 举报
温馨提示
STM32通过SD卡升级程序
资源推荐
资源详情
资源评论
收起资源包目录
STM32通过SD卡升级程序 (194个子文件)
STM32F411CEU6.uvguix.Administrator 175KB
STM32F411CEU6.uvgui.Administrator 87KB
STM32F411CEU6.axf 636KB
STM32F411CEU6.uvopt.bak 16KB
STM32F411CEU6_sct.Bak 479B
gb2312.bin 212KB
STM32F411CEU6.bin 19KB
update.bin 18KB
ascii.bin 1KB
HZK_1608.c 1.19MB
cc936.c 708KB
cc949.c 555KB
cc950.c 441KB
cc932.c 244KB
ff.c 207KB
system_stm32f4xx.c 27KB
ccsbcs.c 25KB
fatfs_sd.c 13KB
tftlcd.c 11KB
main.c 9KB
MMC_SD.C 8KB
spi.c 6KB
stm32f4xx_it.c 6KB
user_diskio.c 5KB
syscall.c 5KB
malloc.c 4KB
diskio.c 4KB
ff_gen_drv.c 4KB
gpio.c 4KB
stm32_flash.c 3KB
stm32f4xx_hal_msp.c 2KB
fatfs.c 1KB
user_fatfs.c 1KB
unicode.c 403B
ff.crf 561KB
sdio.crf 536KB
stm32f4xx_hal_spi.crf 532KB
main.crf 531KB
mmc_sd.crf 527KB
user_diskio.crf 526KB
sd_diskio.crf 524KB
user_fatfs.crf 522KB
diskio.crf 522KB
ff_gen_drv.crf 522KB
fatfs.crf 522KB
ccsbcs.crf 520KB
syscall.crf 519KB
stm32f4xx_hal_rcc.crf 515KB
stm32f4xx_hal_dma_ex.crf 515KB
tftlcd.crf 515KB
fatfs_sd.crf 514KB
stm32f4xx_hal_dma.crf 513KB
stm32f4xx_hal_flash_ex.crf 510KB
stm32f4xx_hal_rcc_ex.crf 510KB
stm32f4xx_hal_flash.crf 509KB
spi.crf 508KB
malloc.crf 508KB
bsp_driver_sd.crf 508KB
stm32_flash.crf 508KB
stm32f4xx_hal_gpio.crf 508KB
stm32f4xx_hal_exti.crf 507KB
gpio.crf 507KB
stm32f4xx_hal_pwr.crf 507KB
stm32f4xx_hal.crf 507KB
stm32f4xx_hal_pwr_ex.crf 507KB
stm32f4xx_it.crf 506KB
stm32f4xx_hal_msp.crf 506KB
stm32f4xx_hal_cortex.crf 506KB
hzk_1608.crf 506KB
stm32f4xx_hal_flash_ramfunc.crf 505KB
system_stm32f4xx.crf 505KB
stm32f4xx_hal_tim_ex.crf 504KB
stm32f4xx_hal_tim.crf 504KB
stm32f4xx_hal_sd.crf 504KB
stm32f4xx_hal_sdram.crf 504KB
user_diskio.d 5KB
stm32f4xx_hal_flash_ramfunc.d 5KB
main.d 5KB
user_fatfs.d 5KB
ff_gen_drv.d 5KB
mmc_sd.d 5KB
stm32f4xx_hal_flash_ex.d 5KB
stm32f4xx_hal_tim_ex.d 4KB
stm32f4xx_hal_pwr_ex.d 4KB
stm32f4xx_hal_rcc_ex.d 4KB
stm32f4xx_hal_dma_ex.d 4KB
stm32f4xx_hal_cortex.d 4KB
fatfs.d 4KB
stm32f4xx_hal_flash.d 4KB
diskio.d 4KB
stm32f4xx_hal_gpio.d 4KB
stm32f4xx_hal_exti.d 4KB
stm32f4xx_hal_pwr.d 4KB
stm32f4xx_hal_rcc.d 4KB
stm32f4xx_hal_tim.d 4KB
stm32f4xx_hal_dma.d 4KB
stm32f4xx_hal_spi.d 4KB
syscall.d 4KB
stm32f4xx_hal_msp.d 4KB
ccsbcs.d 4KB
共 194 条
- 1
- 2
ZCY5202015
- 粉丝: 325
- 资源: 747
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页