error message while programming

x0x0x0x0x0x

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
Locked
User avatar
intellijel
 
Posts: 48
Joined: Mon Aug 15, 2005 6:14 pm

error message while programming

Post by intellijel »

I tried bootloading the x0xb0x and it said there was"an exception in thread..."
The command prompt hung like that and I have no idea if the firmware loaded.

When I loaded Javrprog.jar again and verified the firmware I got the following message on my command prompt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Dan>cd\

C:\>cd program riles\java\javrprog
The system cannot find the path specified.

C:\>cd program files\java\javrprog

C:\Program Files\Java\JAvrProg>java -jar javrprog.jar
trying to open port COM1 at 19200bps
trying to open port COM2 at 19200bps
trying to open port COM4 at 19200bps
Found x0xb0x1
supported: ATmega162
Failed: Can only read whole flash pages
trying to open port COM1 at 19200bps
trying to open port COM2 at 19200bps
trying to open port COM4 at 19200bps
Found x0xb0x1
supported: ATmega162
Bootloader is at addr 15872
Exception in thread "Thread-9" java.lang.NullPointerExceptio
at java.lang.System.arraycopy(Native Method)
at JAvrProg$3.construct(JAvrProg.java:683)
at SwingWorker$2.run(SwingWorker.java:106)
at java.lang.Thread.run(Unknown Source)

xonox
 
Posts: 9
Joined: Wed Jun 08, 2005 5:53 pm

Post by xonox »

which java version are you using ?

User avatar
intellijel
 
Posts: 48
Joined: Mon Aug 15, 2005 6:14 pm

Post by intellijel »

I am using the latest JRE from www.java.com

jre-1_5_0_04


I know that the ladyada.net site makes refference to jre-1_5_0_02 (older version)

This error only happened when trying to upload the .hex from the sourceforge (x0xb0x 1.2)

When I downloaded the source files and compiled them myself I was able to upload (as far as I can tell)

Locked
Please be positive and constructive with your questions and comments.

Return to “General x0xing”