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.

CCS/MSP430I2040: Single Phase Energy Meter - Program flash Problem

Part Number: MSP430I2040
Other Parts Discussed in Thread: MSP430I2041, EVM430-I2040S, MSP-EM-DESIGN-CENTER

Tool/software: Code Composer Studio

Hello,

I have single phase energy meter board based around MSP430I2040 , http://www.ti.com/tool/TIDM-SERVER-PWR-MON  .

 I am not able to flash the reference code provided by TI on it . http://www.ti.com/lit/zip/tidc596 .

I have generated code from Energy Measurement Design Center (example project with MSP430I2041) just to flash code on MSP430I2040.

I imported code in CCS and changed the target from MSP430I2041 to MSP430I2040.  But while building the code i am getting the errors.

How to generate code in Energy Measurement Design Center for MSP430I2040  or Is there any way by which we can generate code for this ?

Please share your thoughts and experiences.

Thank you.

  • Hi Fakruddin,

    Thanks for your detailed post. I'm very excited that you're using the Energy Measurement Design Center (EMDC) and the EVM430-i2040S!

    It looks like your issue is related to RAM limitations on the MSP430i2040. The EMDC-generated code may require more than the i2040's 1KB RAM, which is why the i20x1 devices are recommended due their 2KB RAM. Now, the EVM430-i2040S should come with the i2041 populated even though the i2040 is used in the EVM's part number unless you've swapped devices.

    Can you please try changing the CCS project settings back to the MSP430i2041 device and re-compile? The issue should go away. You can always use one of the pre-compiled, pre-calibrated binary images to program the EVM430-i2040S as well. Have you had a chance to reference the Energy Measurement Technology Guide linked on the MSP-EM-DESIGN-CENTER page?

    Regards,

    James
  • Due to the upcoming US holidays, I'll be out of office from now until January 2nd. Unfortunately, responses will be delayed, so we appreciate your patience.

    Regards,

    James

**Attention** This is a public forum