Part Number: MSP432E401Y
Tool/software: Code Composer Studio
I am building two very similar SYS/BIOS apps with one difference:
App1:
int main() {
int e = 27;
System_printf("hello world %d\n", e);
….
App2:
int e = 27;
int main() {
System_printf("hello world %d\n", e);
….
I can reload App1 as many times as I want without any errors, but for App2 I receive one of the errors below every other time I try to load App2:
CORTEX_M4_0: File Loader: Memory write failed: Flash Programmer: Mass erase failed
CORTEX_M4_0: GEL: File: C:\<path>\Debug\hello_MSP_EXP432E401Y_tirtos_ccs.out: Load failed.
or
CORTEX_M4_0: File Loader: Memory write failed: Flash loader programming timeout.
CORTEX_M4_0: GEL: File: C:\<path>\Debug\hello_MSP_EXP432E401Y_tirtos_ccs.out: Load failed.
Memory maps are similar except for one extra variable in .data for App1. The size of .data goes from 0x578 to 0x57c. What's the cause of the error? How can I debug further?
Thanks,
Sasha