I got a MSP432P401R LaunchPad and wrote/ran some applications with it.

What if I want to use it in a real life application. How can program the MCU when I design my own circuit and place it on the pcb. My guess I need to connect programming pins of the mcu to some pin headers and connect an external programmer to those pins, when the code is uploaded the pcb will be ready to work.

My question; what is the minimum connection I need to do between the programmer and the MSP432P401R, which pins are the programming pins and what kind of external programmer I would need?

  • 1
    \$\begingroup\$ Not a full answer, but read this and this for a start. There are multiple ways to program an MSP430. \$\endgroup\$
    – uint128_t
    Jan 29 '16 at 6:42
  • 2
    \$\begingroup\$ @uint128_t 432 not 430. Get with the times man :P \$\endgroup\$
    – Passerby
    Jan 29 '16 at 6:54
  • \$\begingroup\$ @Passerby Oh man, that's what I get for posting at 1am. OP, here's the Bootstrap Loader guide for the MSP432, which might be helpful if you want to go that route. \$\endgroup\$
    – uint128_t
    Jan 29 '16 at 7:06

See the schematic in the data sheet for the MSP432 Launchpad

enter image description here

And Section 2.3.4. Jumper Header J103 (unpopulated, on the left hand side) is used for external targets. Set the S101 switch to external, remove the Isolation Block jumpers. Only SWD is used, so the debugger needs to be set to that. Since the UART is only required for user defined communication, not debug, all you really need is SWDIO, SWCLK, Reset, and Ground. The 3.3V VCC Target if you want it to power the target otherwise you have to provide your own power to your target board. That's it.

2.3.4 The XDS110-ET emulator on the LaunchPad can interface to most ARM derivative devices, not just the on-board MSP432P401R target device. This is not a common use case, but for users who want this functionality, there is a way to enable it. Connector J103 was added to expose all the necessary programming and power signals. J103 is a 50 mil spaced 7-pin header. By default it is not populated, so the user will have to populate a connector or directly solder in wires. When using the XDS110-ET with a different target, the jumpers in the isolation block should be removed, and switch S101 moved to the external debug position. This will disconnect the XDS110-ET from the MSP432P401R target and enable debug of an external device. Because only the SWD signals are exposed, the user needs to set the debugger settings to SWD (without SWO) in the IDE. See the IDE specific MSP432 user's guides for more details on this setting. To debug other external devices, there are many options in the ARM debugging ecosystem including the XDS100v2/3 and XDS200 from Texas Instruments. There are many other options including IAR I-jet, Keil ULINK, and Segger J-Link.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.