Skip to main content
Daniel Almeida
Associate II
September 16, 2017
Question

Is it possible to store a file in STM32F446's internal flash?

  • September 16, 2017
  • 1 reply
  • 2433 views
Posted on September 16, 2017 at 17:11

Greetings,

I need to upload an audio file containing an ECG signal to my stm32f446 nucleo-64 board, this file will be a .wav file or a simplified version of the .wav file containing interleaved audio samples from two channels. Since the .wav file or the samples file is too large, it is possible to upload it to the internal fash memory, using mbed? Or I need another software tool?

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    September 16, 2017
    Posted on September 16, 2017 at 17:19

    Tell the ST-LINK Utilities it is a binary file and write it directly into memory at the address you want to store it.

    Too large for what?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Daniel Almeida
    Associate II
    September 16, 2017
    Posted on September 16, 2017 at 18:50

    The file is too large to store in RAM. It has about 256 kB.

    I don't know how to use the ST-Link utilities, I can do that using mbed? How? 

    Sorry, I don't know much about this platform.

    john doe
    Senior III
    September 17, 2017
    Posted on September 17, 2017 at 13:43

    you could try converting it to a .h header file and just ♯ include it.  declare it const and let the linker do what linkers do.