[En-Nut-Discussion] Propox MMNet01 and Nut/OS

Ernst Stippl ernst at stippl.org
Thu May 17 11:53:26 CEST 2007


Hi!

I just stumbled across this paragraph on microcontroller.net:

"The ATmega128 has the Meag102-kompatibility fuse set when it is delivered.
To be able to use all extensions, thi fuse must be disabled. In addition,
this fuse maps SRAM into anothr address area. This is why C-Programs work
only until they first call a function."

german original text:
Beim ATmega128 ist ab Werk die Mega103-Kompatibilitäts-fuse gesetzt. Um alle
Erweiterungen des Mega128 gegenüber dem Mega103 zu nutzen muss diese
deaktivert werden. Diese Fuse sorgt außerdem dafür, dass das SRAM in einem
anderen Adressbereich liegt. Dadurch funktionieren C-Programme nur bis zum
ersten Funktionsaufruf. Siehe auch AVR Checkliste: Besonderheiten bei
ATmega64 / ATmega128  

Have you checked the status of this fuse bit?

regards
ernst

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Nicke
Gesendet: Mittwoch, 16. Mai 2007 07:39
An: en-nut-discussion at egnite.de
Betreff: Re: [En-Nut-Discussion] Propox MMNet01 and Nut/OS


Finally I got a new conf file from Propox.

PLATFORM = "ETHERNUT1"
AVR_GCC = ""
MCU_ATMEGA128 = ""
RTL_BASE_ADDR = "0xFF00"
NUTMEM_START = "0x100"
NUTMEM_RESERVED = "64"
NUTXMEM_SIZE = "60928"
NUTXMEM_START = "0x1100"
NUT_CPU_FREQ = "16000000"

Will test it later when I got time.

/Niklas




Nicke wrote:
> 
> Thanks for your help, but I still can't get it going.
> 
> The "01" module has 64kB of externtal RAM and the "02" has 128kB. The "01"
> has a very simple memory controller, up to 0xFEFF are the RAM and from 
> 0xFF00 is the RTL8019AS ethernet controller.
> 
> Do you think I'm doing something wrong when I build the app and 
> compile it?, I set the path's in settings, then "Build Nut/Os" and 
> finally "Create sample directrory".
> In nutapp dir I run "make clean" and "make all" in the uart sample 
> folder and burn the hex to the uC, I don't see where I can do anything 
> wrong but what do I know...
> 
> regards
> Niklas
> 
> 
> Ernst Stippl wrote:
>> 
>> Hi Nicklas!
>> 
>>>From a quick glance at the Propox web pages, I can see that the "01"
module
>> has no extenal memory controller, but the "02" has one. 
>> Have a look at the schematics of the "01" to see into which address 
>> the ext.
>> memory is wired.
>> 
>> As a start, try if this stripped-down conf file helps:
>> 
>> PLATFORM="MMNET01"
>> AVR_GCC = ""
>> MCU_ATMEGA128 = ""
>> NUTMEM_START = "0x100"
>> NUTMEM_RESERVED = "64"
>> NUTXMEM_SIZE = "28416"
>> NUTXMEM_START = "0x1100"
>> 
>> the entries for the ethernet controller and the banked memory are 
>> removed, but as a simplistic start, it may work.
>> 
>> regards
>> ernst
>> 
>> 
>> 
> 
> 

--
View this message in context:
http://www.nabble.com/Propox-MMNet01-and-Nut-OS-tf3707958.html#a10635929
Sent from the MicroControllers - Ethernut mailing list archive at
Nabble.com.

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



--
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 15.05.2007
10:47





More information about the En-Nut-Discussion mailing list