• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

What program should I use to program an ARM processors

Sashvat

Member
Hi guys, I would like to know what are some software/IDE to program an ARM processor. How can I program it, what software is required to put code onto the processor etc. Please explain me everything needed. Also, please tell me some tutorials where I can learn these. I know 2 like coocox IDE and Keil u vision, but coocox website is not working.

Thank you
 

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
https://www.st.com/en/development-tools/coide.html .. working for me..

I have also been playing with ARM, but I have been using the Arduino IDE... It make it very easy to get started..

The Teensy 3.6 works brilliantly in this environment, and I know most ST32 processors are covered..
 

Sashvat

Member
https://www.st.com/en/development-tools/coide.html .. working for me..

I have also been playing with ARM, but I have been using the Arduino IDE... It make it very easy to get started..

The Teensy 3.6 works brilliantly in this environment, and I know most ST32 processors are covered..
yeah, but I want to program it with just the bare chip. By using the ST Link V2 as the programmer to upload code. Basically, I want to do something like this guy -

But since coocox IDE doesn't work, I need another alternative which is Keil u vision. But I dont find any videos about it.

Also, would like to know, my Arduino IDE is not uploading code to my STM32 blue pill. I am using a Mac. Can you please help me with this too?
 
Last edited:

dknguyen

Well-Known Member
Most Helpful Member
Segger IDE (a repackaged version of Rowley Crossworks) is free for hobbiests. You will need an Segger J-Link EDU or J-Link EDUT Mini though (or any J-Link, but EDU is extra cheap for hobbiests and the EDU mini is even cheaper). I'm surprised you got ST Link V2 to work...it never did work for me. The J-Link worked just fine though.
 

Sashvat

Member
Segger IDE (a repackaged version of Rowley Crossworks) is free for hobbiests. You will need an Segger J-Link EDU or J-Link EDUT Mini though (or any J-Link, but EDU is extra cheap for hobbiests and the EDU mini is even cheaper). I'm surprised you got ST Link V2 to work...it never did work for me. The J-Link worked just fine though.
Actually, I haven't used my ST Link V2 at all. I only bought it thinking it would be useful. But does the ST Link V2 work with segger IDE?
 

dknguyen

Well-Known Member
Most Helpful Member
The free IDE seems to require the J-link to compile. You can just download the IDE and try to compile some code.

But if you can compile you just use the separate ST link software to upload if the IDE won't do it directly. The ST Link also has a J-Link reflash on the ST website, but I dont know if that unlocks the compiler. It might
 

Sashvat

Member
The free IDE seems to require the J-link to compile. You can just download the IDE and try to compile some code.

But if you can compile you just use the separate ST link software to upload if the IDE won't do it directly. The ST Link also has a J-Link reflash on the ST website, but I dont know if that unlocks the compiler. It might
Is there any restriction of the size of the code? I feel my code is going to be huge. And is the IDE the same kind like in the video I shared? Is the way to code the same? is it C/C++ ?
 

dknguyen

Well-Known Member
Most Helpful Member
No, because each compiler will have different setup files, register access methods, and interrupt handler accesses. You will have to make changes here.
 
Last edited:

Sashvat

Member
Are there tutorials on using this Segger IDE

is this a good one?-

this is getting complicated, is it as easy as how I would use it in Keil MDK-ARM and a STM Link V2? Just plug and play?
 

dknguyen

Well-Known Member
Most Helpful Member
I don't know about tutorials because I never needed them. I just found the options myself or just read the manual and looked at the setup files whenever I needed something. I just manual upload using the debugger's own software rather than trying to figure out how to set it up in the IDE if it's not plug and play.
 
Last edited:

Sashvat

Member
No, because each compiler will have different setup files, register access methods, and interrupt handler accesses. You will have to make changes here.
ok, so in segger IDE, It says
  • Professional IDE solution for embedded C/C++ programming
does that mean I can write my code in C/C++ instructions?
 

Sashvat

Member
I don't know about tutorials because I never needed them. I just found the options myself or just read the manual and looked at the setup files whenever I needed something. I just manual upload using the debugger's own software rather than trying to figure out how to set it up in the IDE if it's not plug and play.
Could you tell me where are those manuals? in the website?
 

Latest threads

EE World Online Articles

Loading

 
Top