Other Parts Discussed in Thread: CC2650,
Tool/software: TI-RTOS
I am currently developing standard JTAG programming for TI’s CC2640 device.
I am having difficulties finding the correct flash API document and examples. I have installed the TI RTOS driver library in Code Composer (Version 6.1.3). Though, I could see some example projects for CC2650 device type (I need CC2640 which I can change later in the project settings), I do not find any flash programming examples that I could use as base for my flash driver. Neither could I find a document describing the available functions in the Flash API.
In online forums, I see recommendations like writing our own flash drivers that calls driverlib functions like erase, program, etc. which I am aware of, as we already do support several C2000 devices using JTAG and TI’s Flash API (exactly what I am trying to do as well).
We would like to write our own flash bootloader that we can download to RAM and execute. For that, I am not sure whether I am downloading the correct libraries. I found the link below which I think is explaining the Flash API functions. I am able to find some of the files described in this link like Flash.c, Flash.h, etc. but not the library itself.
From the above link, I understand that TI RTOS is a flash driver from TI incorporating Flash API libraries. So, instead of downloading TI RTOS, I need to download Flash API library itself and then integrate it into our flash driver.
Could you let me know the exact procedure to download TI Flash API and integrate it into our own Flash driver? Do you have an example project including all necessary files for Flash API?
Thanks in advance,
Avinassh Bhavananthi.