Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: TI C/C++ Compiler
I have written a bootloader for the f28377D DSP shortly after release which would take the ASCII-hex generated by the CCS toolchain with options "--boot --sci8" and write it to flash with the FlashAPI supplied by TI. Now, all of a sudden I am unable to write specific Flash ranges.
I made sure that the width of each bank is respected during write, but at some point, and its always within the address-range of Flash sector F irrelevant of image that is being uploaded the flash API returns "Fapi_Error_AsyncIncorrectDataBufferLength" and fails to write the location but the location +4 words is written again, and then +8 words not.
eg.
0x0091FFE : 0000 0000 0000 0000 //FAILS
0x0092002 : 0123 4567 89AB CDEF //Succeeds
0x0092006 : 0000 0000 0000 0000 //FAILS
0x009200A : 0123 4567 89AB CDEF //Succeeds
This indicates to me that the data that is being written is misaligned.(?)
I have verified data coming from the custom SCI frontend to the device. I have verified parsing of the hex-file.
I have tried it on multiple other boards its is always reproducible!
Short of rewriting the frontend to parse the file and pre-sectioning it into the banks and add padding, I thought asking here if anyone might know what is going on here/has experienced this/has a suggestion?
Best,
Ron.