Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2016, 01:20:11 01:20


Login with username, password and session length


Pages: [1]
Print
Author Topic: Keil MDK + ST-Link v2 + Non-ST chips/boards?  (Read 2606 times)
0 Members and 1 Guest are viewing this topic.
dcsmrgun
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 13
-Receive: 11


« on: February 09, 2013, 07:11:52 19:11 »

A lot, if not all, of the STM32 Discovery boards have on-board ST-Link interfaces with optional jumpers to allow you to debug/program external circuits.

Does anyone know if they can be used to debug boards or chips that aren't produced by ST? I'm specifically wondering about using Keil MDK-ARM with its ST-Link feature.

If this is something that is doable, I'm thinking about just putting my STM32F3Discovery in a project-box and using it as a SWD/JTAG programmer for future ARM Cortex projects. I am using the STM32F3Discovery because it seems to be supported in Keil (and I'm just migrating my workflow to Keil today so hopefully that's correct), but I also have a few TI-Stellaris and LPCXpresso boards that I'd like to be able to program, not to mention a few bare LPC1768 chips.

I could spend the money on a JLink clone or an Olimex JTAG programmer, but if the STM board I have no works then there's really no reason to put out extra dollars.

Any advice/suggestions/thoughts?

Thanks!
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #1 on: February 10, 2013, 11:19:30 11:19 »

Never tried that, but i think it wont work - logically it will read the target chip signature first and no reason to support competitors.

Let us know if you try this.

-ichan
Logged

There is Gray, not only Black or White.
Mega32
Active Member
***
Offline Offline

Posts: 175

Thank You
-Given: 71
-Receive: 38


« Reply #2 on: February 10, 2013, 01:40:24 13:40 »

Someone says he has debugged a LPC1768 with a stlink.
It seems that most Cortexes shares the same TAP ID , and thats seems to be whats checkked

Mega32
Logged
dcsmrgun
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 13
-Receive: 11


« Reply #3 on: February 12, 2013, 06:04:34 06:04 »

Hmm, interesting. I will try to run some tests this week if time permits.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC