This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432 unable to plot the processing sketch

Other Parts Discussed in Thread: ENERGIA

hi ,  i am using a amped pulse sensor for PPG signla  So I have the pulse sensor processing sketch , I used energia analog read code , when i am trying to plot the sketch in processing   it was showing the error 

COM5 COM6
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

  • Hi,

    Were you able to program your MSP432P401R through the XDS110-ET? If not then you might need to reset your MSP432 device to its factory settings, instructions on how to do so are covered in Section 8 of the CCS 6.1 for MSP432 User's Guide (SLAU575) or FAQ of the MSP‑EXP432P401R Development Kit User's Guide (SLAU597):

    www.ti.com.cn/.../slau575c.pdf
    www.ti.com/.../slau597a.pdf

    You will want to make sure that the JTAG switch on your LaunchPad is set to XDS-ET. Also be advised that the Arduino code provided for the SEN-11574 is not likely to have been tested on or be compatible with the MSP432P401R, therefore it will not be able to properly communicate with the Processing sketch program.

    Regards,
    Ryan

  • well I have tested the MSP432 with pulse sensor , the values at my port COM5 showing around 540 in energia code analog read which means MSP432 can read the pulse sensor values , still i couldn't able to resolve the problem !
  • If you can read the MSP432 analog values and display them on the Serial Monitor then there is nothing wrong with the MSP-EXP432P401R. You will need to debug communication protocol with the Processing sketch, which once again is probably expecting an Arduino board instead of a LaunchPad.

    Regards,
    Ryan

**Attention** This is a public forum