Problem with stlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 3:08 AM
Hi,
I'm trying to programhttp://andybrown.me.uk/wk/wp-content/images//awreflow/schematic.pdf
with a stm32f0308-disco st-link but it only works if I power the board with the 3v from the disco board if I power the board from an external 3.3V it gives this error:ze@ze-VGN-CS11S-W:~/Development/openocd-code$ openocd -f tcl/interface/stlink-v2.cfg -f tcl/target/stm32f0x_stlink.cfg
Open On-Chip Debugger 0.9.0-dev-00093-g518ce9e (2014-07-09-16:15)
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 v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.909697
Error: init mode failed
in procedure 'init'
in procedure 'ocd_bouncer'
in procedure 'transport'
in procedure 'init'
How can I identify w
- Labels:
-
ST-Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 5:30 AM
And what pins are you connecting? GND, SWDIO, SWCLK and NRST?
All the jumpers and solder-bridges set appropriately? ST-LINK Utilities reports what?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 5:40 AM
1 - See the attached file please
2 - Remove the jumpers, and the sb19 and sb 3 - Stlink just say it can't connect. ________________ Attachments : path3947-2.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0u8&d=%2Fa%2F0X0000000bhe%2FiJCiMTQfSMHhh9FypJ8mxxQlyA5E3r1vmsb.kdfRuSQ&asPdf=false- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 6:15 AM
Do NOT connect VDD_TARGET
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 6:23 AM
Without VDD_Target:
ze@ze-VGN-CS11S-W:~/Development/openocd-code$ openocd -f tcl/interface/stlink-v2.cfg -f tcl/target/stm32f0x_stlink.cfg
Open On-Chip Debugger 0.9.0-dev-00093-g518ce9e (2014-07-09-16:15)
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 v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.916022
Error: init mode failed
in procedure 'init'
in procedure 'ocd_bouncer'
in procedure 'transport'
in procedure 'init'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 7:05 AM
Then you'll need to review your board design, especially the Vin path, and how this is powering the rest of your board.
The Vin of the board schematic you supplied is the in bound side of a 3.3V regulator, doesn't that have a voltage dropout? Wouldn't you inject 3.3V on the Vout side? Or at the supply jumper?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-24 4:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-25 3:13 AM
Hi,
This is the circuit: http://andybrown.me.uk/wk/wp-content/images//awreflow/schematic.pdf I can't find the problem :s With the multimeter it looks like the reset line has 50mV dropout but it should be normal because the pullup resistor, right? PS: after program it the board works ok with sourcing the power from the ams1117