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.

MSP430G2744: Cannot flash/debug custom target board

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

Ubunutu 20.04

CCS 11 / Uniflash 7.2

MSP-FET, Tag-Connect SBW connection to custom board.

I cannot flash or debug my custom target board based on the MSP430G2744 using the MSP-FET. These are the steps I have followed:-

Uniflash

  • target board powered - no device detected (manual detection)
  • external power removed from target board - manual detect reports MSP430F2272_G2744. Press Start and it just sits there showing the spinner / working icon and nevers moves any further
  • external power removed from target board - manually select the MSP430F2272 and try to lash the board and it reports ERROR] MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x414: Could not write device memory

CCS 11

  • target board powered - F11 reports MSP430: Error connecting to the target: Unknown device
  • external power removed from target board - F11 reports MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x418: Could not erase device memory

I am running out of things to try. Does anybody have any other suggestions?

  • Hi Chris,

    Do you have access to a launchpad or another MSP430 device? Based on your description it sounds like a hardware problem, but it would still be nice to eliminate software as a potential problem. 

    If the problem is HW related I would recommend reviewing the Hardware Tools User's Guide specifically figure 2-3.

    • If you have extra capacitance on the RST that can cause problems. 2.2nF is the upper limit
    • If the cables are longer than 8in that can be a problem
    • How is the device getting powered? The FET can support tool and target power, but make sure the connections are setup correctly for this.

    Regards,

    Evan

  • Hi Evan,

    Thanks for the reply. Unfortunately I don't have another board with correct Tag-Connect footprint. 

    I think the connections are correct for powering it from the target but it confused me by detecting the device when there was no target power but not detecting it when there was target power. 

    I started to investigate the signals with a 'scope and that made things better so I suspect it is hardware (figure 2.2 in that document). I am going to investigate the value of C1

    Regards,

    Chris

  • Chris,

    Also make sure that you have the MSP FET connection correct if you are using target power. Its is different between tool vs. target power. Figure 2-3 has a diagram of this.

    Evan

**Attention** This is a public forum