Skip to main content
Anuraag P
Associate
Jan 24, 2018 5:51 AM UTC
Question

hello, i have a problem in debugging my stm32F0 series nucleo board. can anyone help me out

Posted on January 24, 2018 at 06:51

When I am trying to flash to controller, I am getting an error 'Internal Command Error' and then it says 'Flashing is failed in Cortex M0'. So, what could be the problem?

    This topic has been closed for replies.

    8 replies

    Tesla DeLorean
    Guru
    Jan 24, 2018 8:47 AM UTC
    Posted on January 24, 2018 at 09:47

    The debugger can talk to the chip or loses connectivty. Check you have the right pins connected and device doesn't power down. On the PC side make sure you have picked the right debugger and flash algorithm. 

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    Jan 24, 2018 9:42 AM UTC
    Posted on January 24, 2018 at 10:42

    Anuraag P wrote:

    I am getting an error 'Internal Command Error'

    Where, exactly, are you getting that error?  What software are you using? What hardware are you using?

    Has it ever worked, or is this a 'new' problem?

    Anuraag P wrote:

    it says 

    What says?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Anuraag P
    Anuraag PAuthor
    Associate
    Jan 24, 2018 11:34 AM UTC
    Posted on January 24, 2018 at 11:34

    I am using Keil software for flashing the code. It is a new problem. When I tried to write some application it started behaving in this way..

    Andrew Neil
    Super User
    Jan 24, 2018 12:02 PM UTC
    Posted on January 24, 2018 at 12:02

    Anuraag P wrote:

    I am using Keil software for flashing the code.

    So what happens if you use the ST-Link Utility?

    ie, is this a fundamental issue, or is it just something to do with Keil...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.