Problem Downloading to Javelin
tboneson
Posts: 2
I am having trouble programming my Javelin. While I was downloading a program using the IDE I noticed an error in my code so I pressed the cancel button, intending to fix the error and download it again. When I tried to download the corrected program, or any other program such as the Hello World example I now get the following error:
[noparse][[/noparse]Error IDE-0024] Unknown bytecode in the JEM file (ldc2_w).
The Javelin is still seen correctly in the Identify window.
Using the Test Connection command I get:
[noparse][[/noparse]Debug] Found connected Javelin Stamp, now testing for power
[noparse][[/noparse]Debug] Resetting
[noparse][[/noparse]Debug] TSXComm::QueryStatus
[noparse][[/noparse]Debug] TSXComm::SendCommand(1)
[noparse][[/noparse]Debug] Received data on serial port
[noparse][[/noparse]Debug] TSXComm::Got kComEndLoad
[noparse][[/noparse]Debug] Received data on serial port
[noparse][[/noparse]Debug] TSXComm::QueryStatus
[noparse][[/noparse]Debug] TSXComm::SendCommand(1)
[noparse][[/noparse]Error IDE-0024] Unknown bytecode in the JEM file (ldc2_w).
I have tried a fresh 9V battery with the same results.
I am guessing the problem is on the Javelin itself because this happens for different programs. Is there some way to reset the Javelin so it will accept downloads again?
Thanks,
-Ben
[noparse][[/noparse]Error IDE-0024] Unknown bytecode in the JEM file (ldc2_w).
The Javelin is still seen correctly in the Identify window.
Using the Test Connection command I get:
[noparse][[/noparse]Debug] Found connected Javelin Stamp, now testing for power
[noparse][[/noparse]Debug] Resetting
[noparse][[/noparse]Debug] TSXComm::QueryStatus
[noparse][[/noparse]Debug] TSXComm::SendCommand(1)
[noparse][[/noparse]Debug] Received data on serial port
[noparse][[/noparse]Debug] TSXComm::Got kComEndLoad
[noparse][[/noparse]Debug] Received data on serial port
[noparse][[/noparse]Debug] TSXComm::QueryStatus
[noparse][[/noparse]Debug] TSXComm::SendCommand(1)
[noparse][[/noparse]Error IDE-0024] Unknown bytecode in the JEM file (ldc2_w).
I have tried a fresh 9V battery with the same results.
I am guessing the problem is on the Javelin itself because this happens for different programs. Is there some way to reset the Javelin so it will accept downloads again?
Thanks,
-Ben
Comments
Dave··
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
www.parallax.com
·
After putting a working HelloWorld test on the Javelin, the computer with the adapter was able to program the stamp just fine. That is until I downloaded a program that took longer to run then the serial time-out value. In this case I would get a serial time-out error when trying to download a program because the IDE was waiting for the current program on the Javelin to finish before downloading a new one.
It appears that though my adapter was able to program the Javelin in some cases, I will need to use a real serial port for consistent operation.
Thanks,
-Ben
·· This is most likely one of two issues that you could be having with the USB Adapter.· The most likely is a latency setting.· This could also be true if it's the FTDI Adapter we sell being used on a laptop.· In any event, open your Device Manager (Control Panel/System/Hardware) and go to Ports.· Find the USB Adapter in the ports section and double click it's icon.· In the properties sheet, select Port Settings, then Advanced.
·· If you have an option for FIFO Buffers, uncheck it.· If you have an option for Latency Settings, usually under BM Options, set the value to 1.· You will probably have to restart your computer for the settings to take effect.· If this doesn't work, let me know.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com