Tool/software:
I want to write files on FreeRTOS.
Question 1: What should I do to write files on FreeRTOS? Should I add to default_sbl_ospi_nand_hs_fs.cfg
?--file=C:/test.awb --operation=flash --flash-offset=0x1500000
Additionally, I want to read the files written on FreeRTOS in my program.
Question 2: What should I do to read the files flashed on FreeRTOS? It would be helpful if you could provide an example of the implementation.
Question 3: Is syscfg configuration necessary for handling files?
If syscfg configuration is required, please let me know what settings are needed.
Explanation of what I want to do:
I am implementing a program for audio processing using AudioWeaver. To run it standalone, I want to write a binary file named test.awb
on FreeRTOS and read it during program execution.
Steps to be executed in the program:
- Write
test.awb
on FreeRTOS [Question 1] - Boot
- Read
test.awb
file [Question 2] - Initialize McASP
- Notification from McASP callback
- Import callback from McASP to AudioWeaver
- Export processed audio from AudioWeaver
- Input exported audio to McASP
- Pump to run AudioWeaver processing
- Repeat steps 5-9
Prerequisite: I am familiar with the sample code for audio input/output using McASP. Sample code: mcasp_playback_codec_aic31_am62x-sk_a53ss0-0_freertos_gcc-aarch64