trouble programming
richl
Posts: 3
When using the SX-key to program the SX28 Ubicom chip, programming is successful about 1 in 4 times.· The progress bar hangs at some random amount of completion. To get out of this requires ending the task and restarting the program.
Also, when walking or stepping through the code, the SX-key V2.02 program will hang randomly.
The operating system is win2k
·
Also, when walking or stepping through the code, the SX-key V2.02 program will hang randomly.
The operating system is win2k
·
Comments
I don't have any good news for the problem of the program hanging up during debug. When it does hang up, does the program jump to some random address, or simply stop?
I used to have a problem single stepping where the program would jump to a random address with no instructions, and for some unknown reason I no longer have that problem. The only thing different between when the problem used to happen and now is the date. ??? (all equipment same)
Ken
sometimes, I have the same effects here - the "Programming" progress bar shows up, it "lives" for a while, and then seems to hang. Interestingly, I found out that the device has been correctly programmed though because a subsequent "Run" - "Device" - "Verify" worked fine, and also cleared the progress bar window as a side-effect. So this is my method to close "sticking" progress bar windows .
As I have similar effects with other applications when I run them under WinXP, I don't blame the SX-Key software for now, but my XP installation instead. When running SX-Key under WinMe, I never have such problems.
It also sometimes happens to me that when launching the debugger, not all of the windows show up. When I close the debugger, and hit Ctrl-Alt-D for a restart everything is fine, and all windows are visible.
Maybe, there is some incompatibility between WinXP/Win2K and the SX-Key software. I think Peter will have a look at it.
Greetings from Germany,
G
The most common way of fixing hangups, etc under Win2K/XP is to change the settings on the FIFO buffers of the serial port. Open up the Device manager, double click on "Ports" and then double click on the particular serial port you're using. When the properties page opens, click on the tab that says, "Port Settings," and then click the button labeled "Advanced..." Set your receive and transmit buffers to something low like 2, or 4. See if that helps solve the problem.
Thanks,
PeterM
Setting port FIFO buffers to their minimums improved things.· It still hangs but much less frequently.
- rich