08/12/2017 1:05pm
RT @farscopecdt: @farscopecdt gives you the best possible start on your Robotics and Autonomous Systems research and innovation career, PhD…
29/11/2017 2:28pm
RT @DrARichards: How @farscopecdt student Katie got totally hooked on robotics [LINK]
28/11/2017 1:12pm
A quick overview of our Information-Cost-Reward framework - see how #robot #swarm #foraging performance can be disa… [LINK]
24/11/2017 5:11pm
RT @BristolRobotLab: APPLY NOW: Opportunity to join the FARSCOPE 4 year PhD programme in 2018, based here at the BRL [LINK]

[Setting up NXC Development on a Mac]

Date: Jan 2012
Tags: robotics :: Mindstorms

This tutorial provides a step-by-step guide for setting up your Mac or Linux machine and your NXT Mindstorms brick for development with NXC. We will use the enhanced NXC firmware in order to enable extended functions for development.

1. Download the compiler

Download the latest NXC compiler from the NXC website. Pick the latest possible version if the very latest one is not yet available for your system. The download should contain a single file 'nbc'. Put the file somewhere on your disk, for example to /Developer/SDKs/nxt.

2. Download the NeXT Tools

The NeXT tools are necessary for downloading firmware onto the brick and are useful for managing files on the brick, as well for program testing.

3. Download the latest firmware

In order to use advanced NXC functions and some math functions, the enhanced firmware needs to be downloaded onto the intelligent brick. According to Ford Perfect's blog, the latest version can always be downloaded from here. Unzip the file and start up the NeXT tools.

Reinstalling the firmware will erase all your files on the brick so it is a good idea to use the NeXT Explorer and upload all the files to your computer first.

NeXT Explorer

When you are ready, press the Download firmware button and find your firmware file. NXT will restart after the firmware download is finished.

There will be no sounds that you are normally used to but don't panic! Just use the NeXT Explorer and download the backed-up sounds like Startup.rso and Click.rso back into the brick.

You can always revert to the original firmware by getting it from the official Lego support page.

You are now ready to write and compile your first program!



Sorry no idea, never happened to me.. take it to be repaired I guess..
Rohan V
No I meant that after I tried to download one of my programs my NXT wouldn't turn on I replaced the batteries and it still did't work. Also it keeps on making a ticking sound like a clock.

Which code editor is that? You mean you can't edit stuff?
Rohan V
My code editor is greyed out how do I fix that?

{Please enable JavaScript in order to post comments}


Robot swarms in action

Watch e-puck robots collect resources and bring them back to base. While the previous simulation work helped us to learn a lot about the...

[read full]

How to compile code for e-puck robots on your computer

Compiling code natively on e-puck robots or cross-compiling on your computer can be very tedious. Luckily, there is a third option:...

[read full]

Coding for tomorrow: Why is good code important?

"Why should I care about how my code is written, as long as it works?" I will argue here that well-structured and well-written code not...

[read full]

How Coding in Python Might Be Bad For You

7 reasons why coding in Python is like writing a really bad essay and getting away with it

[read full]