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.

关于STM32F开发板的调试问题



我的问题已经以附件的形式传上,求大侠们光顾!!就是下载不了程序,不知道是板的问题还是程序的问题?

 

 

调试STM32F.doc
  • 使用JLINK仿真器调试STM32F,下载程序前的设置如下

     

     


     

    在连接开发板和下载程序的过程中出现这段文字:

    Connecting ...

     - Connecting via USB to J-Link device 0

     - J-Link firmware: V1.20 (J-Link ARM V8 compiled Jun 19 2012 11:29:30)

     - JTAG speed: 2000 kHz (Auto)

     - Initializing CPU core (Init sequence) ...

        - Initialized successfully

     - JTAG speed: 2000 kHz (Auto)

     - Connected successfully

    Auto programming target (63796 bytes, 1 range) ...

     - Unsecure chip ...

        - ERROR: Failed to unsecure chip

     - Erasing affected sectors ...

        - ERROR: Could not erase sectors, not connected

     - ERROR: Failed to auto program target

    现在就是下载不了程序到STM32F上,望有专人指导,感激不尽!!

    另外有人在网上发表了类似的情况,http://zhidao.baidu.com/question/495161464.html                  调试stm32f051discovery中的集成ST-LINK,能够连接上,不能擦除也不能下载