Inexpensive JTAG adapter for STM32 / IAR ?

Jun 06, 2011 9 Replies

As subject line says - Can anybody recommend a (cheap) JTAG adapter that works well with IAR EWARM and ST Cortex M3 chips? Trying not to buy another Segger ...



Thanks,


-- Roberto Waltman



[ Please reply to the group. Return address is invalid ]

"Roberto Waltman" skrev i en meddelelse news: snipped-for-privacy@4ax.com...

Hi,

try Olimex, but it it not so advanced as the Segger...

Regards Jens

Because of performance or because of cost? I see a couple of them on eBay, fairly recent versions, for $48.

Cost - Is to have something at home, to avoid carrying too many things from/to the office when doing some remedial work on weekends. (And a few personal projects down the road.)

Thanks for the pointer.

-- Roberto Waltman

[ Please reply to the group. Return address is invalid ]

I thought they didn't have one that works straight out of the box with IAR, but didn't check for a long time. Will take a look, thanks.

-- Roberto Waltman

[ Please reply to the group. Return address is invalid ]

I hear you on that. Mine is an old one, IAR always whines at me that I am "missing out on advanced functionality".

On a related note, I was very pleasantly surprised this weekend. I was given an Atmel SAM3S-EK board, and I did not have to do any futzing with magic macros, custom flashloaders, assorted buggering about with linker and debugger settings, or anything of the kind - I just set the target chip in IAR, hit download and it Just Worked. (Exactly the way I would expect it to work for any device that has all on-chip flash, btw).

Anyway, something has been significantly improved here. Trying to get IAR talking nicely to LPC2103 and Atmel SAM7 chips was an exercise in horror - it seems like the only sane way to do it is to take someone else's working hello world project and strip stuff out.

The SAM-ICE is a cheaper J-Link, Same H/W, Atmel locked firmware. It is blue instead of black or yellow, (I happen to have a golden one).

Best Regards Ulf Samuelsson These are my own personal opinions, which may or may not be shared by my employer Atmel Nordic AB

ST-LINK/2 $25

formatting link

Regards, N=E9stor

Thanks for that! I'm ordering one. (I didn't notice this post till today...)

Since this thread started I also found that Segger is offering a Jlink "educational version" for $60.

From their web site:

"The offer includes free use of Flash Breakpoints. The only limitation is that it may not be used to develop a product. ... It is not sold to companies. ... Even if you are a professional programmer you are welcome to use J-Link edu for personal interests at home"

-- Roberto Waltman

[ Please reply to the group. Return address is invalid ]

You can beat that price by ordering an STM32-Discovery kit for about $12.60. That kit includes an ST-Link MPU that you can disconnect from the onboard STM32 and connect to your board with 3 wires for the SWD (Serial WIre Debug) interface. There are jumpers on the Discovery board to disconnect the onboard MPU. It works. I used it for a while until I invested in a ST-Link kit. It worked fine with IAR after I set up C-Spy to use serial wire debug.

I'm getting to be a fan of the STM32 series. Good hardware, good support tools, a wide range of chips and a pretty good firmware library. I've started with a lot less on other systems in the past.

Mark Borgerson

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required