View unanswered posts | View active topics It is currently Thu Oct 23, 2014 4:13 pm






Reply to topic  [ 2 posts ] 
Can't Download Programs to NXT Brick 
Author Message
Rookie

Joined: Thu Dec 04, 2008 5:00 pm
Posts: 2
Post Can't Download Programs to NXT Brick
I am getting frustrated with the RobotC Programming Software. All I have tried to do so far was to get a Dual Joystick Control test program onto the NXT brick.

Quote:
#pragma config(Hubs, S1, HTMotor, HTServo, none, none)
#pragma config(Motor, mtr_S1_C1_1, motorD, tmotorNormal, PIDControl)
#pragma config(Motor, mtr_S1_C1_2, motorE, tmotorNormal, PIDControl)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//

#include "JoystickDriver.c"

task main()
{
while (true)
{
getJoystickSettings(joystick);
motor[motorD] = joystick.joy1_y1;
motor[motorE] = joystick.joy1_y2;
}
}


It compiles correctly, until I try to download it. It gives me this message

"Usb link to NXT brick has failed. Brick may have automatically powered off.
Close this window. Simply powering brick back on should recover. Re-open the window."

The brick is on.


Thu Dec 04, 2008 5:11 pm
Profile
Rookie

Joined: Thu Jul 10, 2008 12:30 pm
Posts: 14
Post Re: Can't Download Programs to NXT Brick
Quote:
1. Verify that you have downloaded the latest RobotC firmware to the brick.
2. Can you connect to the NXT via the Robot->NXT->Link menu dialog.
3. Are you connecting via the USB or Bluetooth connection?
if you are connecting via the USB port, make sure your cable is firmly
connected to your laptop and the USB port on the NXT.
if you are connecting via Bluetooth are you using a Dell Laptop, there
are issues with Dell's Bluetooth software, use the Bluetooth dongle
provided in the kit.



Hope this helps.

Eric Grajales
Exploding Bacon
FTC Team 1902 Coach

_________________
Eric Grajales


Thu Dec 04, 2008 5:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.