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.

VCC Erratic when connected to MSP-FET430UIF and questions about Debug session

Other Parts Discussed in Thread: MSP430FR5739

I am using the MSP-FET430UIF to program my MSP430FR5739 via 2-wire interface.

But I am facing some weird and erratic results, I have a battery with a 3.3V regulator powering my components because the current needed is higher than what the debug interface can provide.

Therefore I set the target voltage of the debug to 3300mV as well so that there wouldn't be any conflict, so I'd hope.

But when I start a debug session it works only after 2 or 3 trials, otherwise my onboards components are not powered (due to a too low voltage).

Though this is never the case when the board is not connected to the debug interface...

So I've checked again versus the schematic for the JTAG 2wire interface and here's what I have :

The dotted lines are the one I haven't ...

This above maybe the solution, then shame on me =) but I'd still like to know if anyone has some other useful remarks concerning a system where you have an onboard power supply and you want to program it with a SPY-Bi-Wire interface.

Also I don't fully understand how a debug session works, 

When I click on the debug button, the code is built then the memory is re-initialized and then my code transferred to the chip? and it seems that at the end the chip is reseted ? Is that why we need the VCC Tool ?

  • Fredoo.net said:

    But I am facing some weird and erratic results, I have a battery with a 3.3V regulator powering my components because the current needed is higher than what the debug interface can provide.

    If you are powering the Target device using the on board/local power supply then you should use the connection to Pin 4 on the JTAG  connector and leave Pin 2 unconnected!

    Fredoo.net said:
    Therefore I set the target voltage of the debug to 3300mV as well so that there wouldn't be any conflict, so I'd hope.

    You shouldn't set the voltage manually if you are using the local power supply. In this case the debugger will sense the voltage on pin 4. 

    Fredoo.net said:
    The dotted lines are the one I haven't ...

    Actually this is the connection you should have in your application! Do you also have the 47k pullup and the 2.2nF pulldown cap in your design?

    Regards,

    Mo.

  • Ok I'll try it that way....

    No I have'nt got the pull-up on SBWTDIO, nor the 2.2nF pulldown cap... I always overlooked this things because of ignorance ... =(

**Attention** This is a public forum