cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0 quits it's service

jgnoss
Associate III
Posted on January 07, 2013 at 23:29

Hello,

strange thing happened.

I setup a development environment

Linux - gcc - eclipse- openocd st-Link V2  STM32F0 and F4 Dicovery boards.

And I started to port a lot of my libs to STM32

Every thing runs fine until an hour ago.

I changed the eclipse workspace while openocd is still running and a telnet connection waiting for a command.

eclipse complained the running tool but closed it (no other option there) and started the other workspace. Generally I'm not doing this, but occasional it happens. It was not the first time.

In the new workspace I tried to openocd - connect to the board but the board doesnt answer.

here the error from openocd

Debug: 171 7 stlink_usb.c:1152 stlink_usb_open(): stlink_usb_open

Debug: 172 7 stlink_usb.c:1167 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748

Debug: 173 12 stlink_usb.c:422 stlink_usb_version(): STLINK v2 JTAG v14 API v2 SWIM v0 VID 0x0483 PID 0x3748

Debug: 174 16 stlink_usb.c:564 stlink_usb_init_mode(): MODE: 0x02

Debug: 175 22 stlink_usb.c:596 stlink_usb_init_mode(): MODE: 0x01

Debug: 176 26 stlink_usb.c:375 stlink_usb_error_check(): status error: 11 ('unknown')

Error: 177 26 stlink_usb.c:1248 stlink_usb_open(): init mode failed

Debug: 178 26 stlink_layout.c:50 stlink_layout_open(): failed

Debug: 179 26 command.c:631 run_command(): Command failed with error code -4

User : 180 27 command.c:669 command_run_line(): in procedure 'transport'

Debug: 181 27 command.c:631 run_command(): Command failed with error code -4

User : 182 27 command.c:669 command_run_line(): in procedure 'init'

Debug: 183 27 stlink_interface.c:99 stlink_interface_quit(): stlink_interface_quit

Debug: 171 7 stlink_usb.c:1152 stlink_usb_open(): stlink_usb_open

Debug: 172 7 stlink_usb.c:1167 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748

Debug: 173 12 stlink_usb.c:422 stlink_usb_version(): STLINK v2 JTAG v14 API v2 SWIM v0 VID 0x0483 PID 0x3748

Debug: 174 16 stlink_usb.c:564 stlink_usb_init_mode(): MODE: 0x02

Debug: 175 22 stlink_usb.c:596 stlink_usb_init_mode(): MODE: 0x01

Debug: 176 26 stlink_usb.c:375 stlink_usb_error_check(): status error: 11 ('unknown')

Error: 177 26 stlink_usb.c:1248 stlink_usb_open(): init mode failed

Debug: 178 26 stlink_layout.c:50 stlink_layout_open(): failed

Debug: 179 26 command.c:631 run_command(): Command failed with error code -4

User : 180 27 command.c:669 command_run_line(): in procedure 'transport'

Debug: 181 27 command.c:631 run_command(): Command failed with error code -4

User : 182 27 command.c:669 command_run_line(): in procedure 'init'

Debug: 183 27 stlink_interface.c:99 stlink_interface_quit(): stlink_interface_quit

The problem is definitive on the STM32F0discovery

I have another STM32F0Discovery working fine with same configuration.

Any ideas?

Thanks

 

 

#stm32f0discovery
0 REPLIES 0