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.

MSP-EXP430FR5739: IAR EW error "Could not find MSP-FET430UIF on specified COM port : (Initialize) , port=USB, version=0xffffffff"

Part Number: MSP-EXP430FR5739
Other Parts Discussed in Thread: ENERGIA, MSPDS, MSP-FLASHER

I have been trying to load code on to my MSP-EXP430FR5739 board for a few days now. This issue began after I had been coding for a few hours with no issues and suddenly started one time when I went to debug. (in case it helps, at the time I was using IAR EW ver 6.40.1)

I have tried using 3 different computers (all with the same ver 7.10.3 IAR EW), 3 different MSP-EXP430FR5739 boards, and 3 different usb cables,uninstalling/reinstalling IAR and usb drivers and all have given the same errors. The first and most common error is "Could not find MSP-FET430UIF on specified COM port : (Initialize) , port=USB, version=0xffffffff" but it is not the only error I get. I also get "Interface Communication error : (Initialize) , port=HID0016:COM4, version=0xffffffff", "Trying to initialize target failed", and various others indicating some sort of communication error.

If I go into Project>Options> FET Debugger in the connections section of the window, I can see my board and its COM port. In Device Manager, in the HID section it is labeled as "USB Input Device", in the Ports Section it is "MSP430 Application UART (COM4)", and in the USB Section it is "USB Composite Device."

I have been able to load code on to all 3 boards using Energia and CCS, but I have a .r43 file (IAR specific) that I need, hence why I need to get IAR to work.

Also, and this may be unrelated, after looking around on the internet I think that MSP-FET430UIF is a separate tool that is used for debugging. I'm not sure if the error regarding this is just some sort of default wording but I have never used/owned this tool.

  • This is a rather peculiar issue. It can be programmed through Energia and CCS so the FET hardware still works and all of the proper drivers are installed. But since (I assume) IAR cannot even find the connected FET then this also is not a compatibility problem between MSPDS DLL versions. Yet a specific IAR install does not seem to be at fault since it has been installed on multiple computers and was working at a prior time. Do you have any other MSP EVMs to test? Have you already talked to IAR support?

    Regards,
    Ryan
  • Josh Jones said:

    I have been able to load code on to all 3 boards using Energia and CCS, but I have a .r43 file (IAR specific) that I need, hence why I need to get IAR to work.


    txt (or hex) binary can be generated from r43 file by IAR linker (command line)...

    xlink file.r43 -Fmsp430_txt -o file.txt
    xlink file.r43 -Fintel-standard -o file.hex

    ... and than txt file can be flashed by MSP-Flasher without IAR.

  • I just tried to load some sample code on to a MSP-EXP430G2553 a few times and got the same error. Also I tried to contact IAR tech support but when they contacted me they informed me that because of my license (I should have mentioned that I have the 8k Kickstart version) that I would need to contact my salesperson for help.
  • So I am still pretty amateurish with all this but this command needs to put into the Windows command prompt while I'm in the installation directory>IAR Systems>Embedded Workbench>430>bin correct? When I do this do I already need to have an empty .txt (or .hex) file and the .r43 file in that directory? Because when I run this command without the .r43 file it says it can't open that file and if the premade .txt isn't there then I am told that it can't open that file either.
    But if I put both the r43 and the empty premade .txt (of the same name) then the only thing in the .txt file is a q.
  • "*.r43" is (input file for linker) generated by IAR assembler / compiler. Linker should generate (output) "*.txt" file. If "*.txt" file already exist, erase it. Copy "xlink.exe" together with "*.r43" on dir location that you want and execute it from cmd prompt / line in Win.

**Attention** This is a public forum