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.

MSP432 BUILD PROBLEM

Hello,

Dear Sir,

              This is Pratik Debnath Sr. R&D Engineer..I am started working on Msp432p401R..I have accessed each and every peripheral by Mspware by importing it also I have seen the example of OUTOFBOX demo...Everything is fine...

              But the problem is whenever I try to create a new ccs msp432 project and paste the mspware examples to modify it it build properly but in the development board it is not working..A rom folder generates and it is excluded from build..I know that we use map driverlib Api functions so I include Rom folder to build but then the build fails...

             Please correct me where is the problem...Nd what is the solution of creating my own CCS Msp432 project and pasting the mspware examples... 

              One thing  I have noticed that my code is going in a fault condition in infinite while..

      

/* This is the code that gets called when the processor receives an unexpected */
/* interrupt. This simply enters an infinite loop, preserving the system state */
/* for examination by a debugger. */
static void defaultISR(void)
{
/* Fault trap exempt from ULP advisor */
#pragma diag_push
#pragma CHECK_ULP("-2.1")

/* Enter an infinite loop. */
while(1)
{
}

#pragma diag_pop
}

THE Code I have pased from mspware is Systick interrupt..

  • Hello,

    The problem with your code most likely has to do with your msp432_startup_ccs.c file which does not have your SysTick handler properly defined as your ISR name (systick_isr perhaps) but defaultISR instead. You can view the startup file of your MSPWare Systick example to see what I am talking about and make the appropriate changes to your project. You are not the first person to have run into this issue:

    e2e.ti.com/.../1836273
    e2e.ti.com/.../1545615

    Regards,
    Ryan

**Attention** This is a public forum