EmbDev.net

Forum: ARM programming with GCC/GNU tools Cirrus E9301


Author: knath (Guest)
Posted on:

Rate this post
0 useful
not useful
Has anyone used with winarm/GCC tools and/or OpenOCD for debuuging for
Cirrus EP93xx processor.

Thanks

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
knath wrote:
> Has anyone used with winarm/GCC tools and/or OpenOCD for debuuging for
> Cirrus EP93xx processor.

The gcc supports this processors. There is even an extra cpu-type
-mcpu=ep9312 (see gcc manual). I don't know much about the Cirrus
controllers but there is a "multilib"-option to enable a special set of
libs for this family. IRC there is something about a unusual combination
of ARM-core and floating-point-handling and special instructions with
them. In WinARM-20060606 this multilib-option is NOT enabled. I have
once made a Toolchain with this option enabled which you might be used
for a test:
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm...
. If there is public demand I can include the multilib-option when
building for the next package. I'd like to avoid this since this will
increase the package size by serveral MBytes. I can also create a
special binaries-collection with for you. If you are interested send an
e-mail to mthomas (at) rhrk (dot) uni-kl (dot) de. If you plan to build
your own binaries see the file t-arm-elf in the gcc-sources.

Martin Thomas

Author: Dominic R. (dominic)
Posted on:

Rate this post
0 useful
not useful
Hi,

Martin Thomas wrote:
> knath wrote:
>> Has anyone used with winarm/GCC tools and/or OpenOCD for debuuging for
>> Cirrus EP93xx processor.
>
Yes, I've successfully used the OpenOCD with a CS-EP9301 board from
Olimex. Access to the MaverickCrunch register is not supported.

> The gcc supports this processors. There is even an extra cpu-type
> -mcpu=ep9312 (see gcc manual). I don't know much about the Cirrus
> controllers but there is a "multilib"-option to enable a special set of
> libs for this family. IRC there is something about a unusual combination
> of ARM-core and floating-point-handling and special instructions with
> them.

The EP93xx controllers (except for the EP9301) contain a floating point
coprocessor called MaverickCrunch. It isn't compatible to the ARM VFP
and has its own (coprocessor)-opcodes. The cpu-type 'ep9312' has to be
selected if a workaround for a bug in the Maverick unit found on these
chips should be enabled. You'll have to consult the erratasheet of your
particular uC and revision to see if you're affected.

Regards,

Dominic

Author: kanak (Guest)
Posted on:

Rate this post
0 useful
not useful
Dominic Rath wrote:
> Hi,
>
> Martin Thomas wrote:
>> knath wrote:
>>> Has anyone used with winarm/GCC tools and/or OpenOCD for debuuging for
>>> Cirrus EP93xx processor.
>>
> Yes, I've successfully used the OpenOCD with a CS-EP9301 board from
> Olimex. Access to the MaverickCrunch register is not supported.
>
>> The gcc supports this processors. There is even an extra cpu-type
>> -mcpu=ep9312 (see gcc manual). I don't know much about the Cirrus
>> controllers but there is a "multilib"-option to enable a special set of
>> libs for this family. IRC there is something about a unusual combination
>> of ARM-core and floating-point-handling and special instructions with
>> them.
>
> The EP93xx controllers (except for the EP9301) contain a floating point
> coprocessor called MaverickCrunch. It isn't compatible to the ARM VFP
> and has its own (coprocessor)-opcodes. The cpu-type 'ep9312' has to be
> selected if a workaround for a bug in the Maverick unit found on these
> chips should be enabled. You'll have to consult the erratasheet of your
> particular uC and revision to see if you're affected.
>

Thanks to you both gentlemen for your replies and suggestions. My next
step is to get the board.

--Kanak

Author: Dairo Ortiz (Guest)
Posted on:

Rate this post
0 useful
not useful
Hi,
I'm just beginning to work with the CS - E9301 from Olimex, but that's
making me crazy because I don't know where to begin, and I have a big
problem because I don't know nothing about Linux or GNU tools.

I'm gonna receive the board in some days, but I have too many
doubts...I have read some pdf about ARM and GCC, and I have installed
cygwin in my PC, but I need get some to begin, for example:

* How this board is programmed? I mean, what I need to program it?
* this has be programmed in Asssembler, or in C++?

There are more doubts but I think I have to solve this first.

I would really thank if anyone could help me.

Thanks.

Ing. Dairo Ortiz.
Bogotá, Colombia.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.