J
J
jadzouh2014-12-14 18:38:49
Microcontrollers
jadzouh, 2014-12-14 18:38:49

How to check the health of the microcontroller?

I have an MSP430 Launchpad. It already had a program for blinking the LED on it and it worked fine. After that, I tried to sew another program there, but for some reason it did not work, although in IAR all register bits were set as they should. I tried to apply a unit to all the pins and checked the voltage with a multimeter, on some it was normal, but on most of the pins there were none, and sometimes the non-working ones started working, the LED lit up. Does this mean that the microcontroller is out of order?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2014-12-14
@gbg

You need to check if the firmware is now in the controller.
If the firmware matches the one written, it is worth checking the flash memory by writing random data to the controller for the entire size of the memory, and then reading it.
After that, it is worth checking all the pins of the controller by applying 1 and 0 to them in arbitrary combinations.
The controller may be partially serviceable, so if there is suspicion, it is easier to replace it.

O
Ocelot, 2014-12-15
@Ocelot

Is the program known to work? On the other same crystal everything is ok?
It is possible that some of the pins are simply incorrectly configured - not as GPIOs, but as inputs/outputs of built-in peripherals: timers, USARTs, etc. It is this menagerie that you observe on the conclusions instead of your ones. At the same time, IAR will honestly show that everything is fine in the registers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question