2017-07-23 08:10 AM
Greetings,
I'm developing a system to test ECG equipment using the STM32F446RE board and I need to upload a file to the flash containing samples of a ECG signal, I'm currently using mbed to test the ADCs and DACs, but I don't know which software I could use to upload the file, I'm also not familiar with the existing libraries and the necessary commands to read a file from the flash memory. Does anyone knows how to solve this problem?
Best regards,
Daniel Almeida
2017-07-23 01:36 PM
Hello.
You can convert your binary samples to C arrays and use inside your program as constant
Search from your browser to find a converter 'bin to c'
2017-07-23 01:38 PM
Depends on your mode of connectivity. If serial you can manage data in/out of flash using X-MODEM, etc supported by your average terminal application.
You could perhaps pretend to be a USB MSC, and download files directly, or use a Micro SD card to hold data sets.
2017-07-25 09:14 AM
I'm comunicating with the board using the USB port (serial port), but I don't know the commands needed to insert data in the flash memory.
The others solutions you've mencioned I'm not familiar with them.
2017-07-25 09:16 AM
Hi,
this solution seems simple and easy to implement the problem seems to be the amount of code.