[En-Nut-Discussion] FW: AVR32 / ARM support

uprinz2 at netscape.net uprinz2 at netscape.net
Mon Oct 25 17:21:57 CEST 2010


Hi Pedro!


I got some code for different architectures. I had to switch priorities a bit as I had to use CortexM3 for work and private.
So the other chips had to wait a bit. I never lost an email since 199x so I am sure I still have yours :)


I'd like to port LPC1xxx and LPC2xxx as it is in the Betty Remote what I like to use for Home Automation. 
So it will come but I didn't start. STM32 / CortexM3 was a bit mor work as it is an ARM but it is much mor a new architecture.


So, sorry for the delay.


I got some ports for CortexM3 the same way you sent me the LPC implementation. I used it for reference and picked some code per cut'n'paste. But most of them I had to rewrite. Unfortunately the chips get more and more complex so some in depth extension of Nut/OS itself are in discussion now. But as we all are open for good an new ideas, implementation will go forward. 


For the error on my mail account, I have no idea, as it works fine for me and I got mail today. But you can send anything to the mailinglist, so I don't have to repeat it here if it is interesting for the other people too.


Best regards
Ulrich


-----Original Message-----
From: Pedro Duarte <PDuarte at milenio3.pt>
To: Ethernut User Chat (English) <en-nut-discussion at egnite.de>
Sent: Mon, Oct 25, 2010 10:58 am
Subject: Re: [En-Nut-Discussion] FW: AVR32 / ARM support


Hi Ulrich

I have read you posts about sporting the LPC2xxx and I remembered that around 
March 2010 I have send you some schematics and code with my port of Nut OS to an 
LPC2468.
Have you received them?
The code that I send you may not follow all the Nut Os standards but is working 
perfectly.
If you lost it and you need a copy, send me a mail and I will be glad to send it 
again.
But I'm having problems sending e-mails directly to you. I get "#550 4.4.7 
QUEUE.Expired; message expired ##".

Best Regards
Pedro

-----Mensagem original-----
De: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-bounces at egnite.de] 
Em nome de Ulrich Prinz
Enviada: sábado, 9 de Outubro de 2010 19:29
Para: Ethernut User Chat (English)
Assunto: Re: [En-Nut-Discussion] FW: AVR32 / ARM support

Hi Johan,

Am 09.10.2010 16:55, schrieb Johan van der Stoel:
> Dear repliers,
>
> Either through the forum or privately.
>
> I think it's good to summarize some things, but also to post some additional
> questions. Please comment if you have any additional suggestions!
>
> 1. CPU
> To me it looks like SAM7/9&  AVR32 are quite well supported, and Cortex M3
> is coming.

Cortex is coming definitely :) And I plan LPC2xxx as well as STM8. But 
there are some other CPUs that are interesting too. How about Nut/OS on 
the new Z80 derivatives like Z80Acclaim?
>
> 2. Nut/OS or Linux?
> Not many people have commented on this topic, but what I have heard and read
> I think:
> - minimum footprint for embedded Linux is 4 Mbyte. So when you decide to use
> embedded Linux, always an external flash memory device is needed.
Yes, that's right.

> - If you want to use IPv6 today, use Linux; the chance is low it will be
> available in Nut/OS within 1 year - or very limited. I would be very
> interested to hear some more opinions about this topic. I guess everybody
> will face this problem within a few years from now!

I don't agree! IPv6 is something our company is very interested in. But 
realtime tasking is not needed. As most operating systems that support 
the one, support the other too but also cost a lot of money, Nut/OS will 
get IPv6. The problem is, that no one seems to really start the task.
What I learned with projects in the internet is, that lot of people 
discuss how they really need this and that and how they think it could 
be done, but really going into actions is another thing.
But, if you start it and keep it going, some of them come back and 
really support you.
IPv6 is the same as the different wireless stacks or integrating a more 
or less different architecture: It looks to be very difficult and 
complicated and it is combined with 3200 pages of documentation you need 
to read.
But to be honest, if you start it you run into it and you get familiar 
with it and the how easy it can be. I had some respects too as I thought 
about integration of CortexM3. But then I got some ports from other guys 
of the list and I crawled the code. Now, it was based on old versions of 
Nut/OS and I just took the code to see how others did it before. But 
then I threw most of it away and did it different, hopefully better or 
more compliant with existing structures.

So, I cannot add CorteX, LPC, display drivers and so on alone. May be if 
I could write a driver for a physics flag, that stops time, I might 
be... But if one starts a project and keeps it going, we support and 
contribute.

I really see that IPv6 is needed and I know that Harald is of the same 
opinion. But if I had to write the stack alone it must wait until after 
CeBit next year.
>
> 3. Ethernet controller/switch
> I think the RTL8305 is a great device for our application. Nice to hear it
> is already supported!

Afaik only DM9000 is supported as external ethernet chip. But if you get 
me a demo board with an RTL8xxx on it, I will combine the work of 
writing the driver for STM32 internal EMAC and the RTL. I was looking 
for a discrete EMAC too, as STM only provides chips with large FLASH and 
external memory interface or with EMAC. I'd prefer a combination. On the 
other hand, our products will feature Ethernet as a plugin, so we could 
live with an external EMAC pretty fine.

It always helps to aks in the list, may be there is someone who forgot 
that he already wrote the driver and forgot to contribute it.

Hey, looked at your website. That's my favourite playground. The crown 
of my Cortex port will be Elektor Internet Radio running on the 
STM3210C-EVAL kit.

Best regards,
Ulrich
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

 



More information about the En-Nut-Discussion mailing list