Skip to main content
estie
Associate III
April 14, 2017
Question

eclipse IDE cannot flash device

  • April 14, 2017
  • 1 reply
  • 1549 views
Posted on April 14, 2017 at 19:26

I have been using the AC6 eclipse IDE on Nucleo F411RE for some time. About every week or two it locks up the system and I have to power cycle to get my computer back

:(

Last time this happened, I has to reinstall the AC6 software from Eclipse to get it functional again ( this also seems to be needed frequesntly ).  I can now build my project OK but it will not flash the board.

I get an exit code 127 and 'terminated'.

There is brief msg before that but the IDE stupidly erases it and just leaves me the error code.

At the moment I have totally useless development system. What can I do to find and fix the problem.

Thanks in advance.

#eclipse
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    April 15, 2017
    Posted on April 15, 2017 at 20:54

    Makes you wonder if there aren't better development systems?

    You might start by looking at how OpenOCD is working, and perhaps try using the ST-LINK Utilities to flash the board and make sure that works, and that you have the latest firmware and drivers.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    estie
    estieAuthor
    Associate III
    April 15, 2017
    Posted on April 15, 2017 at 21:23

    I quite agree. Eclipse is such a mastodon, it takes hours ploughing through the massive range of possibilities, configurations and menus to get anything done and when something goes wrong ( quite often ) it takes even longer to work out what is not working and exactly where, about five menu levels down in some config what needs changing to fix it.

    It is also incredibly slow to step when debugging. Sometimes it can take 5s to step to the next line and update the display.

    I had to configure it to use openOCD and my installed gdb because of ncurses version problems. It seems to have dumped that config  now .

    I did find out that I can flash the chip by right clicking on the project in the project menu and selecting Target | Program chip.

    The toolbar icon still gives the useless error message. The whole thing is pretty unreliable.

    estie
    estieAuthor
    Associate III
    April 19, 2017
    Posted on April 19, 2017 at 11:28

    Having flashed the chip the debugger fails to start:

    Error in final launch sequence

    Failed to execute MI command:

    -exec-run

    Error message from debugger back end:

    Don't know how to run. Try 'help target'.

    Don't know how to run. Try 'help target'.

    This eclipse suite is beyond useless. I'll have to look at command line gdb