Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #7953 > unrolled thread

How I start - ARM software programmer

Started byIlias Abrams <iliasabrams@gmail.com>
First post2017-07-29 11:41 -0700
Last post2017-08-01 16:02 +0100
Articles 9 — 5 participants

Back to article view | Back to comp.programming


Contents

  How I start  - ARM software programmer Ilias Abrams <iliasabrams@gmail.com> - 2017-07-29 11:41 -0700
    Re: How I start - ARM software programmer "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2017-07-29 21:29 +0200
    Re: How I start  - ARM software programmer Michael Forsythe <forsythe@example.com> - 2017-07-29 23:10 +0000
    Re: How I start  - ARM software programmer David Brown <david.brown@hesbynett.no> - 2017-07-31 11:12 +0200
      Re: How I start - ARM software programmer Richard Heathfield <rjh@cpax.org.uk> - 2017-07-31 21:06 +0100
        Re: How I start - ARM software programmer David Brown <david.brown@hesbynett.no> - 2017-08-01 10:47 +0200
          Re: How I start - ARM software programmer Richard Heathfield <rjh@cpax.org.uk> - 2017-08-01 12:31 +0100
            Re: How I start - ARM software programmer David Brown <david.brown@hesbynett.no> - 2017-08-01 16:22 +0200
              Re: How I start - ARM software programmer Richard Heathfield <rjh@cpax.org.uk> - 2017-08-01 16:02 +0100

#7953 — How I start - ARM software programmer

FromIlias Abrams <iliasabrams@gmail.com>
Date2017-07-29 11:41 -0700
SubjectHow I start - ARM software programmer
Message-ID<9f776393-0976-417c-81e5-2bb07daabbc4@googlegroups.com>
Hello, 

I am very new on programming field, and I was wondering because I do not have any idea about that, If I want to make a software for ARM platform, is there any simulator/ emulator that can see the results of the platform?  I mean, how the software (programming on C) affect the ARM platform ( CPU registers, memory addresses).

I do not have any idea how this works, I mean, when somebody make a software how tests on a platform to gain the results?

Any advice and help, I would be grateful!

[toc] | [next] | [standalone]


#7954 — Re: How I start - ARM software programmer

From"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Date2017-07-29 21:29 +0200
SubjectRe: How I start - ARM software programmer
Message-ID<olinm3$1t90$1@gioia.aioe.org>
In reply to#7953
On 2017-07-29 20:41, Ilias Abrams wrote:

> I am very new on programming field, and I was wondering because I do
> not have any idea about that, If I want to make a software for ARM
> platform, is there any simulator/ emulator that can see the results of
> the platform? I mean, how the software (programming on C) affect the ARM
> platform ( CPU registers, memory addresses).
> 
> I do not have any idea how this works, I mean, when somebody make a
> software how tests on a platform to gain the results?

I am developing for ARM both professionally and in spare time.

I develop and test everything under Windows. When ready for integration 
tests I compile for ARM. Usually I am using a cross-compiler hosted on 
an x86 machine. ARM emulators are not really suitable for anything 
serious. In other cases I am using a native tool-chain under Debian 
and/or Fedora, instead of cross, but then not on the target ARM, but on 
a more powerful one like ODROID.

Cross GCC tool-chain is quite difficult to get working. Mine is from a 
commercial vendor. So a native one would probably be a better choice to 
begin with. ODROID is inexpensive.

P.S. I write in Ada, so it is 100% portable. With C everything gets much 
more complicated, but for what it is worth...

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

[toc] | [prev] | [next] | [standalone]


#7955

FromMichael Forsythe <forsythe@example.com>
Date2017-07-29 23:10 +0000
Message-ID<olj4lg$c15$1@dont-email.me>
In reply to#7953
Ilias Abrams <iliasabrams@gmail.com> wrote:
> Hello, 
> 
> I am very new on programming field, and I was wondering because I do not have any idea about that, If I want to make a software for ARM platform, is there any simulator/ emulator that can see the results of the platform?  I mean, how the software (programming on C) affect the ARM platform ( CPU registers, memory addresses).
> 
> I do not have any idea how this works, I mean, when somebody make a software how tests on a platform to gain the results?
> 
> Any advice and help, I would be grateful!

QEMU will allow you to run software written for ARM on pretty much
anything you like. If you want to specifically see how registers
change and such, you could use GDB (run from within QEMU). It can
do things like `info all-registers'. If that's not convenient, there
are all sorts of extensions like VisualGDB that will probably give
you real-time updates.

[toc] | [prev] | [next] | [standalone]


#7962

FromDavid Brown <david.brown@hesbynett.no>
Date2017-07-31 11:12 +0200
Message-ID<olms23$d4l$1@dont-email.me>
In reply to#7953
On 29/07/17 20:41, Ilias Abrams wrote:
> Hello,
> 
> I am very new on programming field, and I was wondering because I do
> not have any idea about that, If I want to make a software for ARM
> platform, is there any simulator/ emulator that can see the results
> of the platform?  I mean, how the software (programming on C) affect
> the ARM platform ( CPU registers, memory addresses).
> 
> I do not have any idea how this works, I mean, when somebody make a
> software how tests on a platform to gain the results?
> 
> Any advice and help, I would be grateful!
> 

Are you talking about small embedded systems, such as Cortex-M devices,
or are you talking about ARM processors, typically Linux or Android systems?

If you are talking Cortex-M, find yourself a nice demo or evaluation
board with the selection of hardware you want (sensors, networking,
display, etc.).  Find one with built-in debugger hardware - you will
certainly find such tools directly from microcontroller vendors.  Get
the development tools from the microcontroller vendor's website (they
pretty much all have free tools based on gcc and Eclipse, for Windows
and Linux).  NXP's Kinetis "Freedom" boards are a fine choice, but also
look at TI.

Then get yourself a proper newsreader and a proper Usenet account, quite
Google Groups without looking back, and follow comp.arch.embedded for
more help.  comp.programming is mostly dead, once you have killfilled
Ramine.


If you are talking ARM processors, you basically mean Linux development
for ARM targets.  Get a Raspberry Pi 3 (not an earlier one - they are
too slow for native development) and use it directly.  You /can/ do
cross-target development from an x86 PC, but it is a bit more effort
(especially if you are stuck on Windows).  This is then straightforward
C programming for Linux - you don't need to worry about CPU registers or
memory addresses as such.

[toc] | [prev] | [next] | [standalone]


#7964 — Re: How I start - ARM software programmer

FromRichard Heathfield <rjh@cpax.org.uk>
Date2017-07-31 21:06 +0100
SubjectRe: How I start - ARM software programmer
Message-ID<olo2c2$ef8$3@dont-email.me>
In reply to#7962
On 31/07/17 10:12, David Brown wrote:
> comp.programming is mostly dead

Newsgroups are like economies. Talking them up might do them some good, 
but talking them down will definitely do them some harm.

There are still programmers monitoring comp.programming, as you yourself 
have just proved.

What would you have programmers do - use Web forums? Ick!

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [next] | [standalone]


#7965 — Re: How I start - ARM software programmer

FromDavid Brown <david.brown@hesbynett.no>
Date2017-08-01 10:47 +0200
SubjectRe: How I start - ARM software programmer
Message-ID<olpf06$5r7$1@dont-email.me>
In reply to#7964
On 31/07/17 22:06, Richard Heathfield wrote:
> On 31/07/17 10:12, David Brown wrote:
>> comp.programming is mostly dead
> 
> Newsgroups are like economies. Talking them up might do them some good,
> but talking them down will definitely do them some harm.
> 
> There are still programmers monitoring comp.programming, as you yourself
> have just proved.
> 

True enough.  But I monitor a few "dead" groups like this, mainly so
that I can point newcommers towards more useful groups.

If there were a way to revive this group, that might be good - but is it
possible?

> What would you have programmers do - use Web forums? Ick!
> 

Unfortunately, that is what they seem to do - whether I like it or not.
 Even newcomers often seem to think Usenet is a web forum, thanks to
google groups.

[toc] | [prev] | [next] | [standalone]


#7966 — Re: How I start - ARM software programmer

FromRichard Heathfield <rjh@cpax.org.uk>
Date2017-08-01 12:31 +0100
SubjectRe: How I start - ARM software programmer
Message-ID<olpoj4$43u$2@dont-email.me>
In reply to#7965
On 01/08/17 09:47, David Brown wrote:

<snip>

> If there were a way to revive this group, that might be good - but is it
> possible?

How hard could it be?

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [next] | [standalone]


#7967 — Re: How I start - ARM software programmer

FromDavid Brown <david.brown@hesbynett.no>
Date2017-08-01 16:22 +0200
SubjectRe: How I start - ARM software programmer
Message-ID<olq2ju$5d2$2@dont-email.me>
In reply to#7966
On 01/08/17 13:31, Richard Heathfield wrote:
> On 01/08/17 09:47, David Brown wrote:
> 
> <snip>
> 
>> If there were a way to revive this group, that might be good - but is it
>> possible?
> 
> How hard could it be?
> 

First off, we would need to teach Ramine how to read, then how to
converse.  He makes an impressive number of posts in this group, some of
which are about programming.  If those led to discussions, it could be a
lively place.

[toc] | [prev] | [next] | [standalone]


#7968 — Re: How I start - ARM software programmer

FromRichard Heathfield <rjh@cpax.org.uk>
Date2017-08-01 16:02 +0100
SubjectRe: How I start - ARM software programmer
Message-ID<olq4v2$d7g$2@dont-email.me>
In reply to#7967
On 01/08/17 15:22, David Brown wrote:
> On 01/08/17 13:31, Richard Heathfield wrote:
>> On 01/08/17 09:47, David Brown wrote:
>>
>> <snip>
>>
>>> If there were a way to revive this group, that might be good - but is it
>>> possible?
>>
>> How hard could it be?
>>
>
> First off, we would need to teach Ramine how to read, then how to
> converse.

Thanks for your response. Yes, okay, that does sound pretty hard.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web