ROBOTC.net forums
http://www.robotc.net/forums/

Can't Download Programs to NXT Brick
http://www.robotc.net/forums/viewtopic.php?f=52&t=998
Page 1 of 1

Author:  demon824 [ Thu Dec 04, 2008 5:11 pm ]
Post subject:  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.

Author:  grajalese [ Thu Dec 04, 2008 5:47 pm ]
Post subject:  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

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/