MSP430 "processor reset failed: could not find device (or device not supported)"

Comments

18 comments

  • Avatar
    Michael Johnson

    Was the board powered by the FET430UIF when using CrossStudio 1.0.3?

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    I'm not sure that the previous developer used the FET430UIF. Anyway, the board has its own battery, but in project's settings a 3.3V power is set.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Try setting the vcc target property to be zero and see what happens.

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    Tried it, without any success - the same error appears.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Do you have another board you can try?

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    Unfortunately, no.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Are you using "start debugging"?

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    After connecting, I've tried several options:

    Target -> Attach debugger, reset, download %project%

    Debugger -> Go

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    I'd try

    Target | Connect

    Project | Start Debugging

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    Getting the same error.

    Tried to cancel the Watchdog with the relevant jumper - didn't help.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    I thought the MPS430 watchdog was software thing? Does your board have some external reset logic?

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    It's hardware thing also - the board has a jumper for canceling the watchdog. It also has a jumper for resetting itself. I've tried it of course.

    A parallel question: in the output map file there's no mention for the heap and the stack positions. Neither is it mentioned in the MSP430F449.xml file.

    Where can I find the positions of the stack and the heap?

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Is the reset pin on the JTAG header connected to the reset logic of the board?

    There isn't a stack as such. The startup code sets the stack pointer to the top of RAM.

    Use the symbols browser to see where things are.

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    Update from the field:

    it works again! I've canceled the watchdog with the jumper and clicked Target->download %project%. It finished the downloading and verifying and the program runs on the board.

    But when I try to debug it gets me to the same error: the studio tries to download, gets stuck at the middle and returns "download failed" error. Afterward, the previous error appears.

    I want to do hardware debug (ROM, Flash) without downloading my code to the board. How can I do this? Each debug option that I choose starts the "download" phase.

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    Sorry, didn't mentioned that before downloading the project with canceled watchdog, I've also canceled the 3.3V power supply in the project, so it works from the board's battery only.

    0
    Comment actions Permalink
  • Avatar
    Roy Deabill

    Not sure if this is too obvious to mention, but there is a slightly different connection required for the FET dependant on wether the board is powered from the FET or if it powered from its own supply. I use an arrangement with a jumper to swap the connections, and have seen some strange results if the jumper is in the wrong position

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    The debug toolbar has an "Attach" that should avoid the reset and download.

    0
    Comment actions Permalink
  • Avatar
    Alex Birman

    Well. I've other questions, but they are not related to this thread.

    So I guess the thread can be closed. I've succeeded downloading the software to the board after canceling the watchdog and canceling the power supply through JTAG, leaving the board with its own power supply.

    Thanks for the help!

    0
    Comment actions Permalink

Please sign in to leave a comment.