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?
Best Answer
See the schematic in the data sheet for the MSP432 Launchpad
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.