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.

MSPM0G3507: uniflash flashing error

Part Number: MSPM0G3507
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello TI teams,

compiler: arm-none-eabi-gcc   version: 14.2.rel1

I compile and debug a program, it looks work well. but when I use uniflash to download, it report the below error and the program doesn't work.

[ERROR] CORTEX_M0P: Flash Programmer: Error in image size. Length of block is 4636, but it should be divisible by 8 since Flash Programmer writes in 64-bits,

BR,

  • I think this is not a problem of the compiler. However in your linker command file you need to make sure that relevant FLASH memory sections are 64-bit aligned. Raw image size then should be a size multiple of 8. Post your linker command file here if you need help with this.

    Regards, Frank