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.

TM4C1294NCPDT: Internal Flash Partition for TI-RTOS

Part Number: TM4C1294NCPDT

Hi,

I'm working on a TI-RTOS based project and now we want to make partitions in internal flash memory so we can download and store another copy of our bin file.

All the posts that I have seen are related to external memory. Is there any way to access and achieve this? I have done this on bare-metal project but not on TI-RTOS.

I'm using 

tirtos_tivac_2_16_01_14

TM4C1294NCPDT

Thanks.

  • Hello Deepak,

    Are you wanting to do that runtime? Because if not, then you would just need to handle that in the compiler with how to segment memory sectors similar to how the Flash boot loader is done where 16kB is reserved for the boot loader and then the application runs after it.

    As far as TI-RTOS is concerned, I don't think they have done anything for using Flash memory APIs at runtime, you'd have to use TivaWare APIs for that. But I don't feel like doing runtime is what you are after here.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    I'm trying to achieve this before runtime. I know I can make changes in .cmd file but I have a question regarding what you said about 16KB reserved for bootloader.

    This is what defined in my .cmd file

    FLASH (RX) : origin = 0x00000000, length = 0x00100000

    It doesn't mention the bootloader space. Where can I find that?

    Regards,

    Deepak

  • Hello Deepak,

    That is a TivaWare example, TI-RTOS doesn't have a boot loader example.

    I looked around and I found this post for TI-RTOS with having Flash partitions, I think it will be very helpful for you. Let me know if this doesn't give you all the information you need: e2e.ti.com/.../rtos-tm4c1290ncpdt-tiva-c-flash-programming-gets-aborted

    Best Regards,

    Ralph