Re: SV: [fpc-devel] fpc on AVR32

2012-09-14 Thread Michael Schnell

On 09/14/2012 05:23 AM, Michel Catudal wrote:



I have written code for a cluster with a Micronas (ARM7TDMI) and 
AVR32UC3C 144 pins and found a major reduction in code size and code 
is a lot faster.


Did you use the Thumb ISA for the ARM ? Same is said to be more compact 
than ARM32. With a slow memory interface (regarding CPU speed) Thumb 
might be faster, too.


-Michael
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


SV: [fpc-devel] fpc on AVR32

2012-09-13 Thread Jeppe Græsdal Johansen
I have made a preliminary backend and RTL stub in branches/laksen/avr32new/

Some of the large problems is that the load instructions allow non-aligned 
loads in the ld.w forms. This proves to introduce many strange problems, and I 
don't have any debug equipment.

Regards, Jeppe

Fra: fpc-devel-boun...@lists.freepascal.org 
[fpc-devel-boun...@lists.freepascal.org] p#229; vegne af Florian Klämpfl 
[flor...@freepascal.org]
Sendt: 13. september 2012 19:08
Til: FPC developers' list
Emne: Re: [fpc-devel] fpc on AVR32

Am 13.09.2012 02:26, schrieb Michel Catudal:
 I would like to port fpc to the AVR32 uc3c devices. I need more details
 on the functions that need to be implemented.

Take a look at one of the other architectures like arm, fpc/compiler/arm
contains the arm specific compiler files.

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: SV: [fpc-devel] fpc on AVR32

2012-09-13 Thread Florian Klämpfl
Am 13.09.2012 21:38, schrieb Jeppe Græsdal Johansen:
 I have made a preliminary backend and RTL stub in
 branches/laksen/avr32new/
 
 Some of the large problems is that the load instructions allow
 non-aligned loads in the ld.w forms. 
 This proves to introduce many
 strange problems,

Why is this a problem?
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: SV: [fpc-devel] fpc on AVR32

2012-09-13 Thread Michel Catudal

Le 13/09/2012 15:38, Jeppe Græsdal Johansen a écrit :

I have made a preliminary backend and RTL stub in branches/laksen/avr32new/

Some of the large problems is that the load instructions allow non-aligned 
loads in the ld.w forms. This proves to introduce many strange problems, and I 
don't have any debug equipment.

Regards, Jeppe



I bought JTAGICE mkII, it works nicely with Scientific Linux 6.2. The binaries 
from Fedora 12 and 13 work with Scientifc Linux.
I will have no problem with debugging AVR32 code. What I find with AVR32 is 
that it makes nice compact code.

I have written code for a cluster with a Micronas (ARM7TDMI) and AVR32UC3C 144 
pins and found a major reduction in code size and code is a lot faster.
That is running at the same speed. I run both at 48Mhz.

I will look at your code, nice to know that I don't have to start from scratch. 
I don't really like eclipse, do you know if anyone is working on a plugin for 
codeblocks?
I will have to learn the AVR32 assembler. I have coded automotive applications with the 100 pins and 144 pins devices AVR32UC3C but only in C with IAR. I have a very good knowledge of the processors. I wrote a lot of assembler with the AVR8 but never with 
the AVR32.

At home I use gcc with eclipse since it is the only thing right now.

Just so you know, I started with microprocessors in the early 70s, thus not a 
newbie with microprocessors.

I will keep you posted of my progress.

Michel

--
For OS/2 and Linux Software visit
http://home.comcast.net/~mcatudal

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: SV: [fpc-devel] fpc on AVR32

2012-09-13 Thread Martin Schreiber
On Friday 14 September 2012 05:23:50 Michel Catudal wrote:

 I bought JTAGICE mkII, it works nicely with Scientific Linux 6.2. The
 binaries from Fedora 12 and 13 work with Scientifc Linux. I will have no
 problem with debugging AVR32 code. What I find with AVR32 is that it makes
 nice compact code.

 I have written code for a cluster with a Micronas (ARM7TDMI) and AVR32UC3C
 144 pins and found a major reduction in code size and code is a lot faster.
 That is running at the same speed. I run both at 48Mhz.

Agreed, it is a very good processor.
MSEide can be used to debug AVR32 programs with gdb and the ATMEL gdb server. 
I use it in combination with the AVR ONE! debug interface and the gnu tool 
chain.
http://sourceforge.net/projects/mseide-msegui/

Martin
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel