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.

CCS/MSP432P401M: Software BSL invocation from C++

Part Number: MSP432P401M


Tool/software: Code Composer Studio

Hi Everybody!

I'm using MSP432P401M devices in our own HW. The software is written in C++ with CCSv9.

To update the software of the device I want to use the software BSL invocation method. I've copied the code from SLAU622H Chapter 3.3.1, but the compiler drops the following error message: "#141 too many arguments in function call" at the line "((void (*)())BSL_ENTRY_FUNCTION)((uint32_t)BSL_PARAM); // Call the BSL with given BSL parameters".

Same error message if I use the "BSL_INVOKE(x)" macro from file "msp432p401m.h" file.

If I use the same code in a simple C project than everything is OK.

What is the solution for the C++ project?

Thanks,

Zoltan

**Attention** This is a public forum