2023-04-27 10:00 PM - edited 2023-11-20 06:54 AM
Hello everyone ,
I am Yugenthar
Right now i am working in embedded development platform . So i have one doubt guys.I have using stm32f746-disco board.
I am displaying one image in LCD screen (800x760)so pixel size is incresing.
my code is runing in flash memory
my compiler is show one error "your flash is overflow"
then I have decided move to SDRAM and store my code
But I have not perfect in SDRAM so any one give the sollution any material or tutorial link
2023-04-27 10:13 PM
EDIT: sorry, you want to know how to use the external RAM on the disco board...
What about starting with calculating how many bytes you need, and then compare to the controller's spec?
If your data is too big, you might need external RAM or flash.
From your screenshot: definitely you need some external memory...
Isn't there anything on that discovery board?
2023-04-27 10:37 PM
BRO i need one doubt .
how to Calculate byte and how to add the external ram.
so i am not clear in microcontroller byte calculation
then one doubt how to find the internal sdram in controller then how to store the my code in sdram give the solution and any reference material or tutorial link
2023-04-27 10:44 PM
Please remove the "select as best" from my 1st reply, because I'm not ansering your question at all.
Dude, basics, back to school!
8 bits = 1 byte, then something like uint32_t = 4 bytes, so an array of uint32_t u32example[500] has a size of 500 x 4 = 2000 bytes.
Memory sizes are usually given in bytes.
... and maybe I'm a SIS? ;)
2023-04-27 11:38 PM
Thank for your Help LCE (SIS)
I really enjoy your byte calculation concept and tech.
Then I calculate my code array byte is to long
I have refer in stm32 programing manual is give flash memory concept .but my doubt how to find the Full flash memory in microcontroller So I am not fit in memory concept
Before i write the code basic level my compiler is working good.
Now I'm moving image processing high level code not work so my senior is suggest understand memory concept and utilize the memory
If I need your help in memory concept.
How to read the datasheet in memory concept
2023-04-28 03:28 AM
> Thank for your Help LCE (SIS)
Not really, I was just making fun of your "BRO", which we usually don't use here.
This is a technical and rather humorless forum!
2023-04-28 04:54 AM
Okay sister
.
your Good name .
2023-04-29 12:43 PM
When running out of Internal Flash the External QSPI Flash would be where to park large graphic resources. Would need to select an External Loader to download data to it, and then App side code to bring up the pins and memory interface.
2023-05-05 04:40 AM
Okay bro...
Thank you for you information.
first of all I don't know the QSPI concept. I have study the QSPI Concept because one doubt So QSPI is internal memory or external memory.......
2023-05-05 04:53 AM
It is a low-pin-count external memory. Often an 8-pin device, with 6 pins on the STM32 side for communication.
The STM32F746G-DISCO has a 128-Mbit (16MB) Quad-SPI Flash memory.
I don't recall if it's a Micron or Macronix device, but it should be supported via the BSP code available for the board.