asantos 0 Posted June 25, 2019 Share Posted June 25, 2019 Hi, Does energia IDE support programming a MSP432 microcontroller on a custom board (by JTAG, SWD or UART) ? If not, what are the hardware modifications needed to support it? In the Energia website I can only see that the launchpads are supported https://energia.nu/guide/install/macos/ Regards and thank you Quote Link to post Share on other sites
Rei Vilo 695 Posted June 25, 2019 Share Posted June 25, 2019 You can use the programmer of the MSP432P401R LaunchPad to program your custom board through the 2x5 0.05" connector or the 10 0.1" pins, featuring JTAG and/or SWD signals. Please refer to the data-sheet of the MSP432P401R LaunchPad. Quote Link to post Share on other sites
asantos 0 Posted June 27, 2019 Author Share Posted June 27, 2019 Hi, Thanks for your reply I already have the Hercules _RM42x Launchpad and the MSP430 launchpad, also a Segger Jlink. Can I use any of those to program the MSP432 with energia IDE, or do I need to buy the MSP432P401R LaunchPad? Regards Quote Link to post Share on other sites
Rei Vilo 695 Posted June 27, 2019 Share Posted June 27, 2019 The Segger J-Link would be fine. Find some useful tips at https://embeddedcomputing.weebly.com/segger-j-link-with-launchpad-msp432.html and https://embeddedcomputing.weebly.com/segger-j-link-with-launchpad-msp432.html Quote Link to post Share on other sites
asantos 0 Posted July 8, 2019 Author Share Posted July 8, 2019 Hi, Those examples both use the CCS IDE, I can already do that no problem. However, I meant if I am able to program our custom board with JLink in Energia IDE, as our board is targeted to Arduino users. I am not sure what board I should select, as the only options are the Launchpads, or what programmer to select (the only ones that show up are "mspdebug" and "dslite") Thanks for your help Quote Link to post Share on other sites
Rei Vilo 695 Posted July 8, 2019 Share Posted July 8, 2019 In that case, you would need to read how to Add a New Board to Energia Quote Link to post Share on other sites
asantos 0 Posted August 27, 2019 Author Share Posted August 27, 2019 Hi Rei, I got some time to keep working on this project finally. Thanks, I just had a look at that post but I still have some doubts. I have been reseraching around the forum and have not found any post with information on programming MSP432 with JTAG. It's still not very clear to me how to add a new programmer to Energia, the skeleton package shared on that post only contains code for adding a new board. Can the board be programmed with JLink using one of the two default programmers for Energia (mspdebug, dslite)? Or do I need to create a new programmer? Thank you Quote Link to post Share on other sites
Rei Vilo 695 Posted August 28, 2019 Share Posted August 28, 2019 DSLite seems to be tailored for the XDC110 programmer/debugger of the MSP432P401R LaunchPad. It also works with the standalone USB XDS110 JTAG Debug Probe. Now, the MSP432P401R can be programmed/debugged with JLink, like the JLink Edu mini. See Segger J-Link EDU mini Programmer-Debugger and Segger J-Link with LaunchPad MSP432. So the question is how to define this programmer for Energia. As Energia is based on Arduino for the IDE, the question is how to define this programmer for Arduino. See for example Arduino IDE 1.5 3rd party Hardware specification and Add a Custom Programmer on Arduino IDE, among 5 010 000 other answers thrown by googling arduino custom programmer. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.