[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: ETRAX 100LX OS-less: help needed



Do you know that Axis already has exactly that product?
http://www.axis.com/products/cam_2490/index.htm

Normally you would link your program to cached RAM to get
performance. Cached RAM starts at 0x40000000. You probably
want to download the code to flash (0x00000000). The
prgoram must then copy itself from flash to RAM during
the startup. The code can be compiled and loaded with
something like this:

gcc-cris -Ttext 0x40000000 -maout -nostdlib -o product product.S product.c  

bin-cris -o product.bin product

etrax100boot --setreg b0000004 00000104 --setreg b0000008 00005611 \
             --file product.bin c0000000 --flash c0000000 0 200000 --jump 0

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
Behalf Of ulf.sjostedt@xxxxxxx.se
Sent: Friday, October 11, 2002 8:50 AM
To: dev-etrax
Subject: ETRAX 100LX OS-less: help needed


Hi everyone!


I'm working on a low-level application, basically an
Ethernet-to-RS422-converter,
which is to run on the ETRAX 100LX without an operating system.
I've linked it and downloaded it, but it won't run.

Questions:
1) To which address should I link the program?
2) To which address should I download it?

Thanks,


/Ulf Sjöstedt
ulf.sjostedt@xxxxxxx.se