The code runs in debug mode, however when I disconnect debugger and run the code normally it does not work as working in debug mode?I am using STM32H7xx single core microcontroller.Awaiting to hearing from you.
I am using STM32H7xx MCU with External QSPI Flash and SDRAM.I want to download my code using STMCubeIDE directly to External QSPI Flash and once done I want to execute the same code from SDRAM without compromising the debugging ability using STMCubeI...
void MX_OCTOSPI1_Init(void)
{
/* USER CODE BEGIN OCTOSPI1_Init 0 */
/* This is to ensure that the peripheral is not with any pre-condition */
__HAL_RCC_OSPI1_FORCE_RESET();
__HAL_RCC_OSPI1_RELEASE_RESET();
/* USER CODE END OCTOSPI1_Init 0...
QSPI Flash I am using can work up to speeds of 133MHz. I am giving clock to QSPI through PLL2Q which is 190MHz further the clock goes through QSPI prescalar of 4 before applied to Flash.As soon as QSPI is initialized I turn ON power to Flash Chip thr...
One more thing as input:My QSPI reads correctly in debug mode and when I run standalone it reads 0xFF for all the transactions over QSPI line.Hope this will help understanding the condition.
CubeIDE version 1.12.0Below is my Booting section.int main(void)
{
/* USER CODE BEGIN 1 */
int8_t mainStatus = 0x0F;
uint8_t readValue = 0;
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------...
Can you please help me why my Memory Mapped Configuration does not start Memory Mapped Mode for QSPI Flash (W25N512GV). Please see my code snippet below:HAL_StatusTypeDef OSPI_EnableMemoryMappedMode(OSPI_HandleTypeDef *ospiHandle)
{
OSPI_RegularCmdT...