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.

MSP432E401Y: Code stuck only when flashed with Ethernet and working fine with debugger

Part Number: MSP432E401Y
Other Parts Discussed in Thread: UNIFLASH,

Tool/software:

Hello Team,

It is getting stuck in a faultisr, even if i add an extra line of code.But this same code works well when flashed with debugger(TM4C). I tried in both CCS and UNIFLASH, it is fine.

I'm using BSL-Scripter Tool and the same bootloader as mentioned in Resource Explorer to flash my MSP432E401Y microcontroller.

Ethernet flashing was working fine before, but it is getting stuck only when extra code or delay is added.

.................................................................................................................................................................................

main()

{

 -> init()

{

       -> peripherals init()

        ->other functionality init()

                    -> print statement./delay added              =>>>>the above functions are executed and it will be stuck here to fault isr.

}

->RTOS task create()

->Start task scheduler()

}

..................................................................................................................................................................................  

Can you please help me further to debug this issue?

Thanks in advance.

  • Hi,

                        -> print statement./delay added              =>>>>the above functions are executed and it will be stuck here to fault isr.

    What type of print function are you using? Are you using the C printf? Can you show the exact code? If you are using printf then you need to increase the heap and stack memories.