MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

Question about olimex adap. for ST-Link (ARM flash) [SOLVED]
MUFF WIGGLER Forum Index -> Music Tech DIY  
Author Question about olimex adap. for ST-Link (ARM flash) [SOLVED]
batchas
Short version:
Anyone used an Olimex adapter with a ST-Link v2 with success?

On mine I realised after 2 days of troubles no being able to flash my Braids that the +3.3v is nowhere on the small pins.
batchas
Looking right now at datasheet of olimex adapter:
https://www.mouser.fr/datasheet/2/306/ARM-JTAG-20-10-schematic-931412. pdf

Okay. Found this for ST-Link/v2:
https://images-na.ssl-images-amazon.com/images/I/41F2am8Pr6L.jpg

I will compare.
forestcaver
Try the olimex manual/ schematic https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/resources/ARM- JTAG-20-10-schematic.pdf
batchas
Obv. pin 1 pin header from Olimex is not getting +3.3V so it does not seemto be made for ST-Link/v2, but also the all header on my Braids is on the wrong side on the PCB. I thought the thing would be plugged from top, not from the side where all components are soldered, incl. pots etc.
Bummer.
batchas
To resume and be clear, my olimex adpater is not ok for the ST-Link/V2.

Pin 19 and 20 from 20-pin header go to pin 1 of 10-pin header.
But 1 and 1 should be connected!


It means I need to turn the big header d'oh!
pld
The 20/10-pin adapters are usually interchangeable, I have a bunch from various sources (they're also easily misplaced smile). Sounds like it's mostly a wild goose chase starting from the header on the wrong side of the board. Your 20pin numbering is mirrored -- 1 is VCC, 2 is optional VCC, then the colors seem to make slightly more sense.
No 3.3V on the 10-pin header when connected to the st-link, but not the powered module would be expected, since - IIRC at least - it's supposed to be the _target_ supply so the programmer can detect it (or optionally switch one on).
batchas
batchas wrote:
It means I need to turn the big header d'oh!

Nope. It's not it very frustrating
If I do this it shorts internally the ST-Link (no +3.3v output at all anymore).


Might be very difficult to follow mw when I write so much instead of waiting for the original answer.
I'll wait for someone who uses ST-Link and Olimex adapter together.

https://www.youtube.com/watch?v=7EORFpdyNDI
batchas
pld wrote:
The 20/10-pin adapters are usually interchangeable, I have a bunch from various sources (they're also easily misplaced smile). Sounds like it's mostly a wild goose chase starting from the header on the wrong side of the board.

Indeed! I lost quite some time on this.

pld wrote:
No 3.3V on the 10-pin header when connected to the st-link, but not the powered module would be expected, since - IIRC at least - it's supposed to be the _target_ supply so the programmer can detect it (or optionally switch one on).

You mean the ARM does not expect the +3.3v?
So it's not like the ATMEGA. My bad...
I was kindof hoping it was "only" a VDD pin issue.

Comparing the 2 datasheets it means then that all pins match.
And mostly the 10pin header was originally on the correct side of my pcb d'oh!
I should never had changed the side, unsolder etc, cause there's no way I can put it back now.
Totally messed up thinking that the pin1 was expecting +3.3v as it is connected to a +3.3v rail in the schematic.
But looking at hte Braids schematic, the +3.3v comes from the LM1117 and goes to the header.


EDIT: okay. ST-Link/v2 can connect now. I replaced LM1117. Not having it on pin 1 made me thought the ST-Link should provide this.
Spending more time looking at the schematics would have save me days of troubleshooting!
MUFF WIGGLER Forum Index -> Music Tech DIY  
Page 1 of 1
Powered by phpBB © phpBB Group