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.

MSP430F6736A: EVM430F6736

Part Number: MSP430F6736A
Other Parts Discussed in Thread: MSP-FET, MSP430F6736

Hi all,

I have been using the EVM430-F6736

Now, i pretend using only the msp430f6736A's microcontroller whith the academic objective (i am a Master's student) of programming the micro for doing a a system similar to the e-meter but much more simply. I pretend only doing measures of current, voltage, active power, reactive power and energies, power factor and frequency for a single phase. Not much more at first. I have the idea of my program, with similar files of the slaa517's files (www.ti.com/lit/zip/slaa517). The next step is reprogramming the EVM430F6736 (www.ti.com/.../slaa517e.pdf) with IAR software.

Some weeks ago i read there are some problems with new versions of IAR software (i read this post https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/587616?tisearch=e2e-sitesearch&keymatch=emeter-setup.c) . I thought using IAR 5.60 and my plans were programm the MSP430F6736 with that version. The problem is that when i bought the MSP-FET Flash Emulation Tool (www.ti.com/.../MSP-FET) for programming the MSP430F6736A i discovered that i have to use a new IAR version because it doesnt admite IAR 5.60 (i discovered here https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/614826 ). First it says you to download an old version of IAR and then a new one, which is contradictory i think, but that's what it says ...

I downloaded the IAR 7.11.3 and i rebuilded the projects (as it says at page 18/32 www.ti.com/.../slaa517e.pdf ). When i do that i have problems (when i rebuild emeter-toolkit-6736.ewp i have a lot of mistakes that i hadn't with IAR 5.60 and when i rebuild emeter-6736.ewp the program closes). How can i solve my problem?

The problem with emeter-6736.ewp is this: 

Building configuration: emeter-toolkit-6733 - Debug
Updating build tree...

54 file(s) deleted.
Updating build tree...
accum48.s43
bin2bcd16.s43
bin2bcd32.s43
dc_filter16.s43
dc_filter24.s43
imul16.s43
isqrt16.s43
mul48_32_16.s43
mul48u_32_16.s43
q1_15_mul.s43
q1_15_mulq.s43
q1_15_mulr.s43
shift48.s43
sqac48_16.s43
sqac64_24.s43
debounce.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
dds.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
div48.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
div_sh48.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_replace16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_memcpy.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_replace32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_clr.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_write_int16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_secure.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_write_int8.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
flash_write_int32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_dec32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
hex2ASCII.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_dec16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_char.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_hex32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_hex16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_decu32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_decu16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
isqrt32i.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
host_str.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
isqrt32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
iiceeprom.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
isqrt64i.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
isqrt64.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCD-module.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCD-internal.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCD-sim.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCDdec16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCDdec32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCDdecu16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
mul48.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
LCDdecu32.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
rand16.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
rtc.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
setdco.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler
rtc_data.c
Fatal Error[Pe035]: #error directive: Compiler not recognised. C:\Users\Miguel\Desktop\slaa517_nuevo\slaa517\Source\emeter-toolkit\isr_compat.h 82
Error while running C/C++ Compiler

Total number of errors: 38
Total number of warnings: 20

Thanks in advance!

  • Hello,

    To resolve this compiler error, you'll need to change the upper version limit to be greater than the version you're using. For example, if you're using v7.x.y, you'll need to change the value (highlighted below in yellow) from 700 (or whatever is there by default) to 800.

    Also, we'll be releasing the new Energy Measurement Design Center and Library shortly, which features CCS support.

    Regards,

    James

    MSP Customer Applications

  • Hi James,

    You have resolved my first problem, thanks a lot!

    But i am having the other problem too... When i charge emeter-6733.ewp (from emeter-ng) the IAR programm closes. It doesnt say what error it is, only appears this at the end:

    I try to charge the file and rebuild again and again and the result is the same, do you know why?

    Thanks in advance!

  • This seems to be an issue with the newest version of IAR. For now, you may want to go back to an older version until IAR fixes this issue. The user in the following thread seems to be having the same issue.

    e2e.ti.com/.../2487251

    Regards,

    James

    MSP Customer Applications
  • Hi James,

    At first i have solved some of my problems, but there are any more now (Thanks by solve them).

    Now i have downloaded the IAR 6.50.1 and my problem now is this when i rebuild the emeter-6733.ewp (no problem now with emeter-toolkit-6736.ewp, only warnings):

    Building configuration: emeter-6733 - Debug
    Updating build tree...
    Failed to delete C:\Users\Miguel\Desktop\slaa517_nuevooo\SLAA517\Source\emeter-ng\Debug\Obj\emeter-background.pbi

    43 file(s) deleted.
    Updating build tree...
    emeter-basic-display.c
    emeter-dlt645.c
    emeter-communication.c
    emeter-background.c
    emeter-main.c
    emeter-iiceeprom.c
    emeter-foreground.c
    emeter-fir-table.c
    emeter-phase-corrections.c
    emeter-multirate.c
    emeter-setup.c
    emeter-rtc.c
    Warning[Pe550]: variable "i" was set but never used C:\Users\Miguel\Desktop\slaa517_nuevooo\SLAA517\Source\emeter-ng\emeter-rtc.c 97
    hal_pmm.c
    hal_UCS.c
    Linking
    Fatal Error[e89]: Too much object code produced (more than 0x2000 bytes) for this package
    Error while running Linker

    Total number of errors: 1
    Total number of warnings: 1

    I have probed with both free licenses' number ( Restrictions to the 30-day time-limited evaluation and Restrictions to the Kickstart, size-limited evaluation). I don't know why this issue appears in both cases, do you know?

     

    Thanks in advance

**Attention** This is a public forum