Skip to main content
Associate II
April 7, 2025
Question

Increase file upload speed to flash memory

  • April 7, 2025
  • 1 reply
  • 406 views

I want to load 320 megabytes of data into flash memory quickly.
I want to write a code in stm32cubeide.
for example, can a code block be created by defining a buffer and using crc?
can anything be done using the stm32 processor?

1 reply

Associate II
April 7, 2025

I felt the need to make a correction. not to any stm32's flash memory but to the normal flash 3.0 memory

Andrew Neil
Super User
April 7, 2025

@JamesMoriarty wrote:

I felt the need to make a correction. not to any stm32's flash memory but to the normal flash 3.0 memory


What "flash 3.0 memory", exactly - part number? datasheet?

How is it connected to the STM32?

What STM32?

Where is the data coming from?

What, exactly, is the specification for "quickly"?

 

How to write your question to maximize your chances to find a solution.

 


@JamesMoriarty wrote:

can a code block be created by defining a buffer and using crc?


No, simply defining a buffer will not magically create any code.

You will have to write the code which:

  1. receives the data from whatever is sending it;
  2. writes the data to your Flash

Most likely, this will involve the use of 1 or more buffers.

You might also choose to include a CRC (or other error check)

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.