This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI-RTOS
Hi
I have a file system in the TIVA flash, and I can transfer the application bin file to a folder in it.
can I flash this file and activate it as a new version, and how?
Thanks
Shlomo
Hi,
Shlomo Hecht said:I have a file system in the TIVA flash, and I can transfer the application bin file to a folder in it.
I'm not clear with your question. Are you saying you have created a file system in the 'internal' flash in the MCU and you have a program bin file stored in that file system already along with the existing application in the flash? So the question is if this application bin file already in the flash?
Shlomo Hecht said:can I flash this file and activate it as a new version, and how?
Based on your first sentence I thought the bin file is already in the flash. Suppose the application bin file is already in the internal flash at some location and you have your existing application starting at 0x0. If you want to replace the existing application by the program bin file in the file system then your existing application needs to have some flash programming routine that needs to be first copied to the RAM and executes the programming routine from RAM. The programming routine will read your file system and program it to the flash. If the file system is external to the MCU then you need to do the same thing. Your programming routine needs to be first copied to the RAM and executes from RAM to transfer the program bin file from external file system to the internal flash at 0x0.
Hello, Charles, thanks for your response.
I think that I did not described the situation correctly.
I have a SPI 512Mb flash on my board, Identical to the TM4C129 Development board. I have a file system on this flash, and the bin file is located there.
I need to load it to the flash memory of the microcontroller.
If I understand correctly, I nood to run a function similar to the bootloader, that will be able to write the file on the internal flash memory.