Search found 54 matches

by matejdro
Thu Jun 14, 2012 12:37 pm
Forum: NXJ Software
Topic: RConsole errors
Replies: 4
Views: 1046

Re: RConsole errors

I'm using latest version (0.9.1-3).

It can happen randomly with any RConsole.writeln("something"). There is no much code to add.
by matejdro
Thu Jun 14, 2012 7:02 am
Forum: NXJ Software
Topic: RConsole errors
Replies: 4
Views: 1046

RConsole errors

I'm occasionally getting these errors when using RConsole over bluetooth: The class number 14 refers to: java.lang.NoSuchMethodError (NoSuchMethodError.java) The method number 708 refers to: lejos.nxt.comm.NXTOutputStream.flush()V (NXTOutputStream.java) PC 19 refers to: line 35 in NXTOutputStream.ja...
by matejdro
Mon Jun 11, 2012 10:30 am
Forum: NXJ Software
Topic: Random data aborts
Replies: 6
Views: 1555

Re: Random data aborts

Yup, it appears to be fixed.

Thanks!
by matejdro
Fri Jun 08, 2012 6:27 pm
Forum: NXJ Software
Topic: Random data aborts
Replies: 6
Views: 1555

Re: Random data aborts

Oh yes, I have 0.9.1-2. I will test it tomorrow and report.

Thanks.
by matejdro
Fri Jun 08, 2012 4:00 pm
Forum: NXJ Software
Topic: Random data aborts
Replies: 6
Views: 1555

Re: Random data aborts

I have 0.9.1 beta. Here are some parts of code: this executes first: RConsole.open(); dataFetcher.start(); while (true) Delay.msDelay(10000); //Forever loop because everything else in main thread is not used in this test dataFetcher thread: public void run() { while (!stop) { RConsole.println("...
by matejdro
Fri Jun 08, 2012 2:06 pm
Forum: NXJ Software
Topic: Random data aborts
Replies: 6
Views: 1555

Random data aborts

Hello, me again. I'm getting random data aborts through my program. It appears that they always occur at random spot in my program and at random time. Sometimes it can work for minutes without any problems and sometimes it throws error after a few seconds. Here are some of them: PC 0010547A AASR 006...
by matejdro
Fri May 25, 2012 12:46 pm
Forum: NXJ Software
Topic: JDWP Debugging
Replies: 3
Views: 1484

Re: JDWP Debugging

What address do you have to enter? I have tried name of NXT and its address (i think its bluetooth mac or something), but it will always throw "Failed to connect to remote VM because of unknown host "
by matejdro
Wed May 16, 2012 9:34 am
Forum: NXJ Software
Topic: Unable to flash new firmware
Replies: 6
Views: 1771

Re: Unable to flash new firmware

skoehler wrote:Dont download the bin file only!

Download the complete snapshot directory, and use it as a replacement for leJOS 0.9.1


My bad, it works now.

Thanks!
by matejdro
Tue May 15, 2012 10:27 am
Forum: NXJ Software
Topic: Unable to flash new firmware
Replies: 6
Views: 1771

Re: Unable to flash new firmware

java.io.IOException: array to small at lejos.pc.tools.NXJFlashUpdate.readWholeFile(NXJFlashUpdate.java:106) at lejos.pc.tools.NXJFlashUpdate.createFirmwareImage(NXJFlashUpdate.java :143) at lejos.pc.tools.NXJFlash.run(NXJFlash.java:138) at lejos.pc.tools.NXJFlash.start(NXJFlash.java:200) at sun.ref...
by matejdro
Tue May 15, 2012 9:25 am
Forum: NXJ Software
Topic: Unable to flash new firmware
Replies: 6
Views: 1771

Unable to flash new firmware

I have downloaded new snapshot from here because I want to test out new debugging feature. But I cannot flash it. When I press flash button, I get "array to small" error.

Image
by matejdro
Mon May 14, 2012 5:51 am
Forum: NXJ Projects
Topic: Video Player
Replies: 21
Views: 4513

Re: Video Player

When I init both DataInputStream and DataOutput stream: PC: DataOutputStream output = new DataOutputStream(new BufferedOutputStream(connector.getOutputStream(), 5000)); DataInputStream input = new DataInputStream(connector.getInputStream()); NXT: DataInputStream input = new DataInputStream(new Buffe...
by matejdro
Wed May 09, 2012 8:25 pm
Forum: NXJ Software
Topic: What is eating my memory?
Replies: 2
Views: 1105

Re: What is eating my memory?

Yeah, I have replaced bitset and enum with two bytes and improvement is huge. I don't remember how much each class uses (and I don't have NXT near me currently), but after whole array was full, there was around 24kb of RAM left, which is plenty (while before it threw out out of memory error). It's s...
by matejdro
Sat May 05, 2012 11:29 am
Forum: NXJ Projects
Topic: Video Player
Replies: 21
Views: 4513

Re: Video Player

I hit very weird issue: As long as PC only have output stream and NXT only have input stream, communication works. But If I create input stream on PC or output stream on NXT, communication will not work (NXT will freeze on .readByte() and PC will freeze on .flush(). This prevents me from NXT signali...
by matejdro
Sat May 05, 2012 8:10 am
Forum: NXJ Projects
Topic: Video Player
Replies: 21
Views: 4513

Re: Video Player

Currently it is not handled yet (just simple if statement , that prints out something if its less than 255. I will try to handle it now.
by matejdro
Fri May 04, 2012 10:52 pm
Forum: NXJ Projects
Topic: Video Player
Replies: 21
Views: 4513

Re: Video Player

As I said, if I send bytes faster, audio will start to play faster than it should.

Go to advanced search