Jump to content
Sign in to follow this  
asantos

Using Energia with MSP432 custom boards

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

1210894964_DiscoveringtheEnergiaEcosystem.thumb.jpg.03fcb94776507f176c666b49c3356386.jpg

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×