LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Specific to the NXC (Not eXactly C) programming language. Is it possible to access the memory registers on the ARM AT91SAM7S256 processor? I'm trying to investigate the use of Timer Interrupts to schedule a sampling routine.

I do know it's possible with nxt-gcc, but I don't know enough about NXC to understand if it would work. Would it not be possible to run with interrupts since the firmware uses the blocking I2C to communicate with sensors?

share|improve this question
up vote 3 down vote accepted

NXC creates bytecode for the standard (or NXC upgraded) NXT virtual machine. The idea of this virtual machine is to create an abstraction layer to prevent malicious low level calls such as accessing memory registers on the processor.

So, without a low level compiler, such access would not be possible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.