Bootloader PC tool with windows 10

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am using AVR2054 Bootloader PC tool on windows 10. On embedded side i have custom board made using ATXmega192C3 controller. I am using serial port for communication between PC tool and custom board. When PC tool is started it sends handshake request (0xB2 0xA5 0x65 0x4B) on serial port which is well received by custom board and it does reply with handshake response (0x69 0xD3 0x0D 0x26). But as soon as reply is sent, PC tool close down automatically without giving any error message. After visiting discussions around this topic on forum i found that handshake response should be (0x69 0xD3 0xD2 0x26). I tried this too but PC tool still close down automatically. Can anybody please comment on this issue?

The source code for PC tool is in Java and unfortunately i don't understand Java. I am using Java 8 update 311 (64bit).

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

if it's command line tool on a windows box, I write a batch file to launch the CMD window and put a pause in it so that it doesn't close immediately after completion. 

Not sure if that's your issue. If the GUI is shutting down this won't help.

E.G. :

rem batch E.G. for AVRDude
avrdude.exe -c usbtiny -p m328p  -U flash:w:LCD_2021_15.hex
ECHO Batch Ready to Exit
pause

IIRC the pause requires a keypress to close the CMD window. This gives you a chance to see error or success messages if any.

I reserve my right to assemble!
Brawndo's got what plants crave... It's got electrolytes!