EmbDev.net

Forum: ARM programming with GCC/GNU tools Cirrus E9301


von knath (Guest)


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

Thanks

von Martin Thomas (Guest)


Rate this post
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_projects/WinARM-20060321__.zip
. 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

von Dominic R. (dominic)


Rate this post
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

von kanak (Guest)


Rate this post
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

von Dairo Ortiz (Guest)


Rate this post
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.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.