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-FET: IAR 7.12 with MSP-FET

Part Number: MSP-FET
Other Parts Discussed in Thread: MSP430F2619, , UNIFLASH

My setup -

Win7/32bit , IAR7.122, MSP430f2619

MSP-FET /blackbox/ s/n 180300AF5 

====

Board is working, uC programming is fine -  when using older IAR EW with Olimex JTAG.

====

MSP-FET was "updated" and recovered , while i tryed it with older version of IAR.

Uniflash and CCS8 program uC without issues.

IAR 7.12.2 can read memory of uC via MSP-FET. 

====

Problem :

  - if Debuuging is started without erase/program - IAR enters into chip, shows(reads) memory correctly, but "step" causes loss of connection and session teminates; 

 - when Debugging is started with erase/program -Debugger tryes to write uC , green and red lights are on  , red is flashing (short off) with 2-3 sec period. After 10-30 sec session terminates with debug log:

Wed Nov 28, 2018 10:26:53: IAR Embedded Workbench 7.12.2 (C:\Program Files\IAR Systems\Embedded Workbench 8.0\430\bin\430proc.dll)
Wed Nov 28, 2018 10:26:53: Using license:
Wed Nov 28, 2018 10:26:56: Firmware version 3.12.0.0
Wed Nov 28, 2018 10:26:56: Interface dll version 3.13.0.1
Wed Nov 28, 2018 10:26:56: Device : MSP430F2619
Wed Nov 28, 2018 10:26:56: External voltage : 3.5 V
Wed Nov 28, 2018 10:26:56: VCC voltage : 3.5 V
Wed Nov 28, 2018 10:27:09: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:13: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:18: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:22: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:26: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:30: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:38: Could not write device memory : (WriteMemory) , address=0x2120, buffer=#<0@B@@, count=0x153, WRITE
Wed Nov 28, 2018 10:27:38: Trying to initialize target failed
Wed Nov 28, 2018 10:27:39: Fatal error: Closing debug session Session aborted!
Wed Nov 28, 2018 10:27:39: Failed to load debugee: D:\ssoft\pcwei5_20feb\wei\Debug\Exe\n2419.d43
Wed Nov 28, 2018 10:27:40: IAR Embedded Workbench 7.12.2 (C:\Program Files\IAR Systems\Embedded Workbench 8.0\430\bin\430proc.dll)

What i should  do?

  • Hello Stefan,

    When trying the MSP-FET with the older version of IAR you state it was "updated". One possible reason for issue when using the newest version of IAR is that the MSP-FET is no longer up to date with the latest FW due to being "updated" with the older version of IAR. the newer version of IAR should see the FW mismatch and prompt you to update as well. If it does not, try connecting to CCS Cloud to update the FW and them move back to the newest version of IAR.

    CCS Cloud can be found at http://dev.ti.com
  • Hello, Jace,
    Thank You. Just tryed, simple empty project from cloud, but no there is no change with IAR.
  • Hello Stefan,

    To clarify, where you able to program the device form the CCS Cloud? Or just try to update the MSP-FET?
  • On Cloud CCS i created new project, (allmost empty) , then i loaded into uC, everything was normal.

    I have a doubt that something is wrong with my 0x2120 address, but specifiyng address 0x2120 on Cloud CSS seems ...too hard for me..

    Basicly- i have some bytes (fixed from many months )on 0x2100 , and next portion starts from 0x2120.

    Debugger reports error on 0x2120...probably real problem is lack of erasing.

    I did not see options for MSP-FET "update/recovery" on Cloud CSS.

  • Hello Stefan,

    What is the connection between the MSP-FET and the MSP430? Is it Full 4-wire JTAG or 2-Wire JTAG (SBW) ?

    Can you try loading a simple example program such as the standard Blinky into the chip and see if the error persists?
  • MSP430f2619  is connected via 4w-JTAG (i think this uC dosnt have 2w-SWD).

    "Uniflash" transfers 120KB app via MSPFET.-with no problems. App starts normaly.

    I was out of office today and  has no time to check "blink- led" via CCS.

  • CCS8 successfully loads and debugs simple "sound" (no easy led :-) program through MSP-FET.
  • Hello stefan,

    Good to know CCS8 is working fine. This tells me there is no issue with the chip or its connection to your PC. Can you try a new workspace/project within IAR with a simple example? If that works, then I would suggest using a new workspace and copy over your project to it.
  • Hello,Jace,

    And many thanks!

    This works, its very strange- what is reason? - imported project from older EW version doesnt work? 

    ................

    .....anyway, small new project works on IAR712 with MSP-FET..

    i'm  such fool....  

**Attention** This is a public forum