Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#14 "Upload & Run" via Bluetooth very slow

general
closed-fixed
John Hansen
BricxCC (17)
5
2007-05-04
2007-05-04
Hans-Juergen
No

NXT is connected to Brixc (3.3.7.16 + latest test_release 04/13) via Bluetooth. Connection is up & fast (e.g. NXTPiano, remote control or NXT Screen work perfect, NXT responds instantly). Compiling a program also works in an instance, being completed in less than a second. However, doing "Upload & Run" takes extremely long (far beyond a minute), making debugging turnarounds very tedious. What could be the reason for this? Other users reported the same in forums. Using the Lego software itself, upload and run is performed in less than 5 seconds via Bluetooth.

Discussion

  • John Hansen
    John Hansen
    2007-05-04

    • status: open --> closed-fixed
     
  • John Hansen
    John Hansen
    2007-05-04

    Logged In: YES
    user_id=661666
    Originator: NO

    Please download the latest BricxCC test release (it's been updated in the last week with a newer version). The new test release implements an internal NBC/NXC compiler which can be enabled via the Preferences dialog (Compiler|NBC/NXC|Use internal compiler). When you use the internal compiler and you are connected via Bluetooth it is not necessary for BricxCC to close the connection with the NXT before launching the external compiler executable (since it uses a built-in compiler instead). That means the very slow "disconnect, connect, disconnect, connect" cycle is not needed if you are using the internal NBC/NXC compiler. As a result downloading programs in BricxCC via bluetooth is extremely fast compared to how it used to be.

     
  • Hans-Juergen
    Hans-Juergen
    2007-05-04

    Logged In: YES
    user_id=1785303
    Originator: YES

    Thanks, that really did the job!

    Do you have any trick like this for the editor? Though I have a pretty fast PC, the editor is extremely slow and unresponsive...

     
  • Hans-Juergen
    Hans-Juergen
    2007-05-04

    • status: closed-fixed --> open-fixed
     
  • Hans-Juergen
    Hans-Juergen
    2007-05-04

    Logged In: YES
    user_id=1785303
    Originator: YES

    Forget my last comment. I just had three NXT Screens hidden somewhere in the background that ate my CPU power polling the NXT. (Couldn't see them under "Windows", though :-( )

     
  • Hans-Juergen
    Hans-Juergen
    2007-05-04

    • status: open-fixed --> closed-fixed