[En-Nut-Discussion] Using NutOS without external SRAM?
Marc Wetzel
mwse at gmx.de
Sun May 16 12:37:34 CEST 2004
Hi Lars,
as far as I know, nothing has to be taken "extra-care" of, if you are using
a supported platform.
My minimal configuration was a STK500/501 with an atmega128 installed (no
external sram) only using some portpins and the uarts.
Normally I develop the other way around. Using "big" hardware to develop and
after finishing the release I determine how big the hardware must be.
This time I did it the other way around, because it had to be done because
of the size and price of the target application.
I suppose you should give it a try, carefully inspect the used
register-names in the atmega256 header-file. They must not only match by
name, but the meaning must be the same :)
It should be no more difficult as the transition from atmega103 to the
atmega128 :o).
Is the atmega256 commercially available?
Best wishes,
/Marc
> -----Original Message-----
> From: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of
> Lars Andersson
> Sent: Saturday, May 15, 2004 11:29 AM
> To: Ethernut User Chat (English)
> Subject: RE: [En-Nut-Discussion] Using NutOS without external SRAM?
>
>
> Marc,
>
> Is there any special considerations one has to take into
> account for the minimal HW configuration you are using ? Any
> experience with the mega256?
>
> Regards,
> Lars A Andersson
>
> -----Original Message-----
> From: Marc Wetzel [mailto:mwse at gmx.de]
> Sent: den 9 maj 2004 12:49
> To: en-nut-discussion at egnite.de
> Subject: [En-Nut-Discussion] Using NutOS without external SRAM?
>
>
>
> Hi,
>
> I'm not really a newbie concerning Nut/OS but it seems I'm
> running against a wall here...
>
> I have the problem that a minimal system (atmega128,8MHz)
> with only one running task (not counting the idle-task and
> main) goes booboo everytime it tries to execute fprintf right
> after registering one uart-device.
>
> I'm using the latest NutOS - but I dont think this is a
> problem with the code but with too much RAM consumed at the
> wrong places.
>
> So, my question is: How much RAM is minimum, if I want to use
> 2 buffered uarts and 2 tasks?
>
> How much memory should each task have? I already tried to
> tweak nutinit.c in a project-local copy, because ~1500byte
> heap is allocated to the main-task and I tried to reduce this
> step by step.
>
> TIA
> /Marc
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list