dimanche 19 avril 2015

Eclipse and OpenOCD works only, if I program the mcu on discovery board

(sorry for my English I am not native English)


I'd like to program and debug an STM32F030 MCU with Eclipse, OpenOCD and ST-link. I have an STM32F4 Discovery board that includes an ST-link debugger.


My problem is: Programming the STM32F4 MCU on the discovery board works very well. I use Eclipse, OpenOCD and the ST-link (ST-link is actually on the board). With this configuration of the IDE I believe I should be able to program other stm microcontrollers that are on a different PCBs. (Of course after I connected them eachother and turned off 2 jumpers)


I'd like to program an STM32F030 MCU. When I connect this MCU to the ST-link, "STM32 ST-link Utility" says that the connection is fine, so I guess, I should be able to program it. But when I try to program it, Eclipse always shows the same error message: "Quit (Expected signal SIGINT when the program is resumed) - Exception condition detected on fd 0 - error detected on stdin"


Probably the problem is with the settings of my IDE, but I have no idea what could it be. How is it possible, that I can program the mcu of the discovery board but I can't do the same thing with another mcu?


Do you have any idea?


Thank you for your help in advance!


Aucun commentaire:

Enregistrer un commentaire