To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxt.nxthackingOpen lugnet.robotics.nxt.nxthacking in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / NXT Firmware Hacking / 102
101  |  103
Subject: 
RE: ARM Assembly Language Programming on NXT?
Newsgroups: 
lugnet.robotics.nxt.nxthacking
Date: 
Mon, 8 Oct 2007 12:49:37 GMT
Reply-To: 
<dickswan@sbcglobal.NOMORESPAMnet>
Viewed: 
19581 times
  
Do a Google on "LEJOS OSEK". I believe this is a solution that has taken the
base "OS" from the NXJ JAVA byte code interpreter as the basis for
programming the NXT using GCC C++. I assume if you can use the GCC C/C++
tools with the NXT then you would also have access to the GCC assembler.

I put "OS" in quotes because the base NXT firmware does not have a
conventional multi-tasking RTOS. It uses a single stack / single thread
approach and all the software modules must be written as state-machines that
only take a very short time slice before they return to the caller.

If your objective is to teach ARM assembly language, then you're likely to
find better hardware platforms than the NXT. For example, look into the
boards from Olimex. One of their US distributors is Spark Fun Electronics
who has a nice site. In particular the SAM7-EX256 board
http://www.sparkfun.com/commerce/product_info.php?products_id=8244 might be
a great platform.

The IAR tool chain has a free evaluation download of their ARM tools that is
code size limited to 32K. I don't think there is a time limit on the trial.
I'm very impressed with their C compiler. 32K should give you lots of room
for assembly language. I think it is Windows only.

No Zigbee for the NXT. It has Bluetooth built-in.



Message has 2 Replies:
  Re: ARM Assembly Language Programming on NXT?
 
(...) Thanks Dick for intruducing LEJOS OSEK, When we develolped LEJOS OSEK, Prof. Mizuno wrote several GCC assembly code to port TOPPERS OSEK (an open source OSEK OS) to NXT. Whole assembly code(*.S) is stored in lejos_osek\toppers_o...1sam7s-gnu (...) (17 years ago, 9-Oct-07, to lugnet.robotics.nxt.nxthacking)
  Re: ARM Assembly Language Programming on NXT?
 
(...) Thanks for the tip. I glanced at (URL) previously but I must've missed it thinking it's Java based. (...) Are you referring to the default NXT firmware or the LEJOS NXJ/OSEK firmware? (...) You're right, I've come across several ARM-based SBC (...) (17 years ago, 9-Oct-07, to lugnet.robotics.nxt.nxthacking)

Message is in Reply To:
  ARM Assembly Language Programming on NXT?
 
Hi, I just stumbled on this newsgroup/website while searching for kits for teaching Assembly Language programming to undergraduate students in Comp. Science in an interesting (interactive) manner. I'm primarily interested in the ARM instruction set. (...) (17 years ago, 8-Oct-07, to lugnet.robotics.nxt.nxthacking)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR