2018-01-05 04:49 AM
Hi,
I am doing a Project using STM32L4 Microcontroller, keeping Reference of Available Example Codes i am able to Develop a code where i can Write and Read back the data from QSPI-Flash-Memory.
But my Requirement is as given below,
1) Receive data from USB and write it on QSPI-Flash-Memory.
2) Read data from QSPI-Flash-Memory and Transmit back through USB.
To do this i Re-Generated my code by enabling USB_HS_CDC mode using ST-Cubemx. but this time i am unable to Read / Write data on QSPI-Flash-Memory.
(Note: i am getting this problem as soon as i am Re-Generating my code by enabling USB in ST-Cubemx )
please suggest me how to solve this problem.
#qspi-flash #stm32 #usb #qspi #stm32l4322018-01-05 07:15 AM
In normal operation the QSPI memory should be mapped within the address space of the processor, reading it should be a matter of memcpy()ing it to you output buffering method. Writing is going to require you put the memory in a different mode, erasing blocks, and rewriting them.
2018-01-08 12:38 AM
Thanks for your Reply Mr Clive One,
Here i am able to Write and Read QSPI Memory, but when i insert USB drivers using ST-CubeMX i am unable to Write and Read the QSPI Memory.
can u suggest me in this matter.