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.

MSP430F249-EP: Boot and Startup Problem, mcu stuck in ROM bootloader issue

Part Number: MSP430F249-EP
Other Parts Discussed in Thread: MSP430F249, MSP-FET, ALP

Hi, We have a custom in house board with MSP430F249 controller. The System occasionally halts in the boot/startup process. I can connect to target and load symbols to find out where the system halts.  the PC stuck at 0xE8C and 0xE90,anding contents of Port_1_2_P2IN with 4 . Manually chaning PC to the next line results in various other controls of the pin and system can not boot. This halt error occurs in random in some of the cards.

I tried watchdog halting in _system_pre_init but IMHO the code stucks before pre init sequence.

Does anyone have similar experience regarding MSP430 boot issues or can someone with ROM bootloader experience point out relevant resources to examine and tackle the issue?

Thanks in advance.

  • Hi 

    What's the BSL version on your device?

    Recommend to upgrading the BSL functionality, sometimes it is suitable to load a higher version of BSL into the RAM of a device and apply the latest innovations.

    Best regards

    Gary

  • Hi Gary,

    Our project is inherited from a subcontractor, and involved "grace_3_10_00_82" libraries. Since the project has a long history, I prefer finding root cause and dealing with minor changes if possible.

    Can you help me find c bootloader for 0xe90 pc problem?

    Thanks

  • Hi 

    Not very clear about your problem. Do you mean when you power up the device but  it hang up and don' t work and then you use MSP-FET or eZ-FET to connect the device by JTAG and found the device's PC stuck at 0xE8C and 0xE90, right? 

    By the way, when a card have this issue, will it happen every time when power it up with same card? Or it is happen just some times with same card?

    Best regards

    Gary

  • Hi Gray,

    Correct. Note that if my debug settings  involve load program, it jumps to main but if i set load symbols, it stuck at these assembly lines.

    It is an occasional problem in some cards, meaninth faulty Cards work mostly fine except 0.05 % boot problems.

    Any idea where to look, Thanks in advance.

  • Hi Alp

    Sorry for the late response.

    What's the clock source for your MCLK?

**Attention** This is a public forum