Other Parts Discussed in Thread: CONTROLSUITE
I was wondering how I could program the mcu flash.
I have imported the 2802x_FlashAPI_BootROMSymbols_v2.01.lib into my project, and included the flash api v201a includes.
I called the version check in my code and I was able to get the 2.01 as the floating value.
But when I try to program the flash it halts. I can see that I am clearing the flash at the particular location I am trying to write at (Sector C) and I am doing a simple program flash as seen in the flash api example:
After it halts it resets all the flash sectors to 0x0000. Am i doing something wrong ?
Also, if I am using the bootROM library, i do not need to add any of the sections in my .cmd file, is this correct ?
Please advise how I could write one word to the flash sector C.
Regards,
Rajan Joshi