From 723ec7167409963773ffd5c45cad3b952431b4ab Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 11 Aug 2019 06:28:28 +0000 Subject: [PATCH] Fixed bug #1042. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12944 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c | 1 + readme.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c index 91134afc3..9944f892d 100644 --- a/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c +++ b/os/hal/ports/STM32/LLD/QUADSPIv1/hal_wspi_lld.c @@ -330,6 +330,7 @@ void wspi_lld_map_flash(WSPIDriver *wspip, wspip->qspi->ABR = 0; wspip->qspi->AR = 0; wspip->qspi->CCR = cmdp->cmd | cmdp->cfg | + QUADSPI_CCR_DUMMY_CYCLES(cmdp->dummy) | QUADSPI_CCR_FMODE_1 | QUADSPI_CCR_FMODE_0; /* Mapped flash absolute base address.*/ diff --git a/readme.txt b/readme.txt index 74490b070..2f450d422 100644 --- a/readme.txt +++ b/readme.txt @@ -107,6 +107,8 @@ - HAL: Added a new interface for range-finder devices (used by EX). - HAL: Added mcuconf.h updater tool for STM32F407 (backported to 19.1.1). - NIL: Integrated NIL 4.0. +- FIX: Fixed missing dummy cycles in memory map mode on STM32 QSPI driver + (bug #1042)(backported to 19.1.4). - FIX: Fixed missing DMA definitions for STM32F412 I2C3 (bug #1041) (backported to 19.1.4)(backported to 18.2.3). - FIX: Fixed misplaced parenthesis in hal_files.h (bug #1040)