P.S. Excuse me but i'm newby
[HELP] iNemo M1 debug
-
renegade82
- Posts: 13
- Joined: Thu Jul 03, 2014 12:21 pm
[HELP] iNemo M1 debug
How to debugging and programming iNemo M1 (+ st-link/2) on Chibistudio, openocd script which needs to be loaded?
P.S. Excuse me but i'm newby
, Excuse me for my bad english i'm italian student 
P.S. Excuse me but i'm newby
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: [HELP] iNemo M1 debug
Hi,
Look for C:\ChibiStudio\tools\openocd\scripts\target\stm32f1x_stlink.cfg
Giovanni
Look for C:\ChibiStudio\tools\openocd\scripts\target\stm32f1x_stlink.cfg
Giovanni
-
renegade82
- Posts: 13
- Joined: Thu Jul 03, 2014 12:21 pm
Re: [HELP] iNemo M1 debug
i have tried to load : OpenOCD st-link v2 -> stm32f1x_stlink.cfg
in output i ve this:
in output i ve this:
Code: Select all
Open On-Chip Debugger 0.8.0 (2014-04-28-08:39)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v17 API v2 SWIM v4 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 0.000000
Error: target voltage may be too low for reliable debugging
Error: init mode failed
in procedure 'transport'
in procedure 'init'
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: [HELP] iNemo M1 debug
The answer is in the error, target voltage is zero, you have to power the board (through USB presumably).
Giovanni
Giovanni
Re: [HELP] iNemo M1 debug
Sorry but I'm not familiar with OpenOCD ... How do I load C:\ChibiStudio\tools\openocd\scripts\target\stm32f4x_stlink.cfg ?
Using command line ? But how do I tell ChibiStudio to use it ?
Thank you for the help.
Using command line ? But how do I tell ChibiStudio to use it ?
Thank you for the help.
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: [HELP] iNemo M1 debug
Hi,
In the toolbar there is a menu that allows to launch external applications, OOCD is there, after launch it will prompt for the script file.
Giovanni
In the toolbar there is a menu that allows to launch external applications, OOCD is there, after launch it will prompt for the script file.
Giovanni