Shop OBEX P1 Docs P2 Docs Learn Events
Unknown bytecode — Parallax Forums

Unknown bytecode

jmspaggijmspaggi Posts: 629
edited 2008-05-21 20:37 in General Discussion
Hi,

I'm often getting the IDE-0025 error message "Unknown bytecode in the JEM file (dup_x2)". What does it mean? I'm compiling my java source code with the IDE, and upload it with the same tool. Also, this issue append between 2 System.out.println lines.

System.out.println ("Succesful");
System.out.println ("Next available byte " + memoryAddr);

I know that the "+" is not a good idea with the string, but it's only to load data on the MC24LC256, so this will run only one time, and then been replac with another programm.

So how can I know what is the issue with the bytecode, and how can I avoir that? It's not the first time I get the issue, but this time, I'm not able to get ride of it.

Thanks,

Jean-Marc

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-05-21 20:16
    If you use a usb board like the Board of Education, these kind of errors can
    result from the usb connection. See this thread for a possible solution:
    http://forums.parallax.com/showthread.php?p=656527

    If you use a serial based board like the Javelin Demoboard it usually
    means the compiler generated a bytecode not supported by the
    javelin firmware. This could be due to some specific program construct.
    Please post the code that generates these errors.

    regards peter
  • jmspaggijmspaggi Posts: 629
    edited 2008-05-21 20:37
    Hi Peter,

    I'm using a serial connection. I have update the code and it's now working, so I can't send you an sampe with the error, but I will send you something as soon as I get this error again.

    Regards,

    JM
Sign In or Register to comment.