Author Topic: Help on ARM Cortex-M3 Development Tools / IDE  (Read 21305 times)

0 Members and 1 Guest are viewing this topic.

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Help on ARM Cortex-M3 Development Tools / IDE
« on: June 30, 2011, 04:12:31 am »
it seems i got stuck while searching for Altera CPLD Programmer. ARM Dev Kit came across my eye, very hard to get rid. so i'm asking the "best" programmer, dev kit and IDE. while googling/ebaying i've found this, is it ok or not? hope to hear some suggestions.

1) KEIL Ulink2 Debug Adapter ARM emulator compatible USB JTAG
2) ST-LINK STM8 STM32 MCU debugger programmer

3) ARM Workbench IDE
4) KEIL MDK-ARM Microcontroller Development Kit

5) Mini STM32 Board STM32F103VCT6+3.2 LCD+Touch Panel JTAG
6) 1G Nand Flash Mini2440 Arm9 S3C2440 + 3.5" touch screen

which to choose? (1 or 2) & (3 or 4) & (5 or 6). and again dont miss it, i'm asking suggestions for the "best" in your opinion, the "best"! :P
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #1 on: June 30, 2011, 04:35:58 am »
there's another programmer called jlink. i'm not sure how many type/brand are out there. the seller i asked who sell arm kit said he sell jlink programmer and ulink2 but not sure why not in his listing. he said jlink can be used by many IDE, but ulink2 only be used by keil IDE, is it true? how varied are they from brand to brand (jlink)? i only found segger brand jlink http://www.segger.com/cms/jlink.html but not sure if this is the seller talking about. he quoted Jlink: $28.5, Ulink2: $42.5
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline eliocor

  • Supporter
  • ****
  • Posts: 519
  • Country: it
    • rhodiatoce
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #2 on: June 30, 2011, 06:37:48 am »
J-Link is a really good/fast JTAG programmer but I think you are referring to a cloned one! To my knowledge its price is a BIT higher!!!
 

Offline Neganur

  • Supporter
  • ****
  • Posts: 1138
  • Country: fi
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #3 on: June 30, 2011, 09:06:03 am »
While I cannot help you decide, I'd like to mention the ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32.
There's an official distributor who sells it for 25$ (ships with FedEx, I paid like 8$).
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #4 on: June 30, 2011, 10:38:47 am »
J-Link is a really good/fast JTAG programmer but I think you are referring to a cloned one! To my knowledge its price is a BIT higher!!!
yes ther seller confirmed this. the original will cost thousand according to him.

While I cannot help you decide, I'd like to mention the ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32.
There's an official distributor who sells it for 25$ (ships with FedEx, I paid like 8$).
now which is better? st-link? or jlink? assuming its original, or the cloned that behaved like the original.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline PsI-On

  • Contributor
  • Posts: 26
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #5 on: June 30, 2011, 11:05:58 am »
The Segger J-Link is better; it will work with most of the ARM compilers/IDEs like Keil, IAR etc...

I have a $10 clone from china and it works just fine  :P

-PsI
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #6 on: June 30, 2011, 11:29:01 am »
ok thanx guys. i think i'll get the jlink clone, decide which ide later, and cheaper #5 dev kit to learn.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Neganur

  • Supporter
  • ****
  • Posts: 1138
  • Country: fi
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #7 on: June 30, 2011, 12:53:04 pm »
Consider the genuine Segger J-Link EDU. It costs 49,98 EUR for non-commercial use (instead of buying a clone).
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #8 on: June 30, 2011, 03:05:11 pm »
thanx for the link. maybe good for the next buyer who will come across here. but i've made the order. with EDU tag, i'm skeptic the will be limitation?
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Neganur

  • Supporter
  • ****
  • Posts: 1138
  • Country: fi
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #9 on: June 30, 2011, 08:12:19 pm »
As far as I understand, the only limitation is that it may not be used to develop a product.
This version is meant to fight off the cloning.

Quote from their website:

Quote
You may use the J-Link EDU for non profit educational purposes only. Non-profit educational purposes means that you may not use  the J-Link EDU and its J-Link software

    * direct or indirect in or for a profit organization or business purposes or other undertaking intended for profit
    * direct or indirect in any other commercial environment (e.g. office)
    * to develop, debug, program or manufacturer a commercial product (or parts thereof)
    * to use it to either earn money or reasonably anticipate the receipt of monetary gain from it.
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #10 on: June 30, 2011, 11:59:06 pm »
As far as I understand, the only limitation is that it may not be used to develop a product.
This version is meant to fight off the cloning.
Quote
Quote from their website:
You may use the J-Link EDU for non profit educational purposes only. Non-profit educational purposes means that you may not use  the J-Link EDU and its J-Link software
    * direct or indirect in or for a profit organization or business purposes or other undertaking intended for profit
    * direct or indirect in any other commercial environment (e.g. office)
    * to develop, debug, program or manufacturer a commercial product (or parts thereof)
    * to use it to either earn money or reasonably anticipate the receipt of monetary gain from it.
what the hell?! we pay more (pro version) just to be able to sell our product? fucking imf style!
with clone i'm not bounded with this shitty.
« Last Edit: July 01, 2011, 12:02:17 am by Mechatrommer »
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline TheDirty

  • Frequent Contributor
  • **
  • Posts: 440
  • Country: ca
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #11 on: July 02, 2011, 12:12:42 am »
The benefit of the J-Link is it supports both JTAG and SWD.

Let me know how the clone works out.
Mark Higgins
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #12 on: July 02, 2011, 04:30:10 am »
ok boss. still waiting from seller for tracking number. maybe weekend catch them, so have to wait next monday. and then later when the things arrived, i have to struggle with the learning curve.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline TheDirty

  • Frequent Contributor
  • **
  • Posts: 440
  • Country: ca
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #13 on: July 02, 2011, 03:28:56 pm »
Did you decide on an IDE/Compiler?  The only non-limitation free one is Eclipse/GCC/OpenOCD.  You're going to have a tough time getting that thing going.  I gave up on it and paid $150 for the non-commercial version of Rowley Crossworks.
Mark Higgins
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #14 on: July 02, 2011, 05:44:31 pm »
Did you decide on an IDE/Compiler?  The only non-limitation free one is Eclipse/GCC/OpenOCD.  You're going to have a tough time getting that thing going.  I gave up on it and paid $150 for the non-commercial version of Rowley Crossworks.
no not yet. deciding right now is like searching in the dark without having anything to program, debug and upload. its still open and i will appreciate and will try any suggestions when my programmer arrived. thanks.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #15 on: July 03, 2011, 11:35:55 am »
There's an interesting list of ARM JTAG interfaces here: http://www.sharebrained.com/2011/07/01/open-jtag-interfaces/
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #16 on: July 11, 2011, 06:44:25 pm »
Let me know how the clone works out.
i just got my jlink prorammer and usb blaster. took pictures below, installed the segger software, it seems to detect this clone. ask to upgrade the firmware should i proceed? i'm afraid it will crash? havent program anything yet, need to learn first. :P even the segger name on pcb is cloned
i'll come back to this thread to study later. thanks everybody for input so far. i'll update when i got something programmed.
« Last Edit: July 11, 2011, 06:51:05 pm by Mechatrommer »
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline PsI-On

  • Contributor
  • Posts: 26
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #17 on: July 11, 2011, 09:34:02 pm »
My jlink clone updated the firmware from v7 to v8 with no problems...

PsI
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #18 on: July 01, 2012, 03:38:09 pm »
ok resurrecting my old thread... now i got this CooCox CoIDE suggested by andyg in another thread. downloaded the devProKit for ARM toolchain earlier. set it in CoIDE and it seemed to just work without much hassle. but it only just the beginning since i only create Hello Project, it automated creating this arm boot startup code, CooCox OS, C library etc, i dont have any idea. anyway, but cool!... but anyway, i'm asking you arm developers guys... what do you use to develop your ARM software? please suggest both the IDE and toochain. thanks..

fyi: i downloaded few "clusters" of the sdk/toolchain etc, but i'm having a hard time putting them together with netbean, eclipse and programmers notepad.
for eg, library that came with my dev board kit... HY-MiniSTM32V 2011.1.5.zip

F:\HY-MiniSTM32V 2011.1.5\RTC+USART
F:\HY-MiniSTM32V 2011.1.5\SysTick
F:\HY-MiniSTM32V 2011.1.5\Temp
F:\HY-MiniSTM32V 2011.1.5\TIM
F:\HY-MiniSTM32V 2011.1.5\TouchPanel
F:\HY-MiniSTM32V 2011.1.5\uCOSII2.91
F:\HY-MiniSTM32V 2011.1.5\uCOSII2.91+UCGUI3.90A(FSMC)
F:\HY-MiniSTM32V 2011.1.5\USART
F:\HY-MiniSTM32V 2011.1.5\USB-Mass_Storage-SD Card
F:\HY-MiniSTM32V 2011.1.5\WWDG
F:\HY-MiniSTM32V 2011.1.5\EXTI+USART
F:\HY-MiniSTM32V 2011.1.5\FATFS V0.08A-SD Card
F:\HY-MiniSTM32V 2011.1.5\Flash
F:\HY-MiniSTM32V 2011.1.5\FreeRTOSV6.1.0
F:\HY-MiniSTM32V 2011.1.5\GLCD
F:\HY-MiniSTM32V 2011.1.5\GPIO
F:\HY-MiniSTM32V 2011.1.5\ID
F:\HY-MiniSTM32V 2011.1.5\IWDG
F:\HY-MiniSTM32V 2011.1.5\PWR
(no idea where to start)

devprokit(arm)
nuttx-6.18 rtos

please advice and guide on ARM programming. thanks.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1570
  • Country: de
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #19 on: July 01, 2012, 06:17:34 pm »
I'm using CooCox (1.4.2) with the official Arm GCC 4.6 toolchain (arm-none-eabi-gcc-4_6-20111208) for development with an NXP LPC1768. In earlier versions there were bugs which made it hard to impossible to debug with J-Link and I therefore used other toolchains, but currently it works pretty well.
I don't use CoOs since I don't need it and it's said to not work for any optimization level other than -O0. Anyway, a time based scheduler with some priority wrapping is good enough for me. Talking of code optimization, the created code is pretty bad even at higher optimization levels, yet with higher levels, debugging becomes more or less a pain in the @ss.
The CooCox libraries are a good base to start, but they don't seem to have a common architecture and generally I prefer interfaces as lean as possible. So write my own mini libraries which tend to sacrifice abstraction for performance.
As a side note, I also used the Keil uVision to fix issues in the USB bootloader. Especially the debugger is quite a bit better than that of CooCox, but the code limit makes it unusable for even medium projects.
Trying is the first step towards failure - Homer J. Simpson
 

Offline calin

  • Regular Contributor
  • *
  • Posts: 238
  • Country: us
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #20 on: July 04, 2012, 03:34:14 am »
I probably have the same  JLink clone .. works like a charm, upgraded firmware .. and using it under Linux.

BTW, if you want an STLink 2 cheap0 grap one of the STM32 Discovery boards from ST. They even gave them away for free (in US and Canada true) but they also sell them for something like 7$ a piece. Look here: http://www.st.com/internet/evalboard/product/253215.jsp 

You get also a basic DEV board with an Cortex M0 (STM32F0xxx) or you can go "bad" and get an Cortex M4 board

http://www.st.com/internet/evalboard/product/252419.jsp .. but that is like 14$.

From what I know StLink works only with ST chips and knows only SWD. JLink works a treat with ST mcus

 

Offline quint

  • Contributor
  • Posts: 33
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #21 on: July 04, 2012, 05:40:24 am »

The ATM discovery boards actually work with other cortex m3 chips.  At least I've gotten them to work as programmer/debugger for lpc1343 cortex m3.  The latest builds of openOCD (v.6) support stlink v2 protocol so you can use, for example, the stm32f0 discovery board as a cheap programmer right out of the box.  See this post for info:
https://github.com/mossmann/hackrf/wiki/LPC43xx-Debugging
 

Offline calin

  • Regular Contributor
  • *
  • Posts: 238
  • Country: us
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #22 on: July 05, 2012, 05:03:21 am »
Nice .. actually it does make sense to work the STLink uses SWD which is standard  (not JTAG). Just that the STLink USB protocol was not known. I had no idea stlink was added in OpenOCD ... I knew only about this project  https://github.com/texane/stlink. I got this one working with an STM32F discovery board (cortex M4) .. able to program and debug. But OpenOCD is much better .. nice find.

Still JLink is a really nice tool to have around if you work with ARM stuff. I love it, fast, so far reliable. The thing works a treat under linux .. coupled with Linaro-s GCC toolchain builds for arm you get a pretty decent "development environment" right there.
« Last Edit: July 05, 2012, 05:07:48 am by calin »
 

Offline electroguy

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #23 on: July 05, 2012, 05:12:11 am »
has anyone tried Atollic?
http://www.atollic.com/index.php/targets/armtargetsupport

just wondering how it compares to coocox?

unfortunately the free version has a 32kb limitation i think?
There are 10 types of people that understand binary, those that do and those that don't!
 

Online MechatrommerTopic starter

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Help on ARM Cortex-M3 Development Tools / IDE
« Reply #24 on: July 05, 2012, 04:47:05 pm »
has anyone tried Atollic?
$2595? you must be kidding a person like me. now i got a rough picture of what the keil arm tool cost like, as i havent got a quotation from them, keep asking bullshit questions and countless of broken download from their site. thanks for the advice anyway, i'll give it a try... downloading...
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf