programming Olimex board stk500

Hello I was able to program the boards but I think windows 10 has changed something.. I plug in an Olimex Pinguino OTG board and UECIDE and windows finds the board...chipKit usb serial com7 However when I put the board in bootloader mode and try to program it the error "COM7 cannot open" " target not found"

The chipKit usb serial shows up in windows device manager as com7 but disappears in bootloader mode.. Any suggestions would be great, thank you

UECIDE 0.10.5 Windows 10 64 bit

Comments

In bootloader mode the board

In bootloader mode the board shows up as a HID in windows device manager Device HID\VID_04D8&PID_003C\6&2a5d391&2&0000 was configured.

Driver Name: input.inf Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA} Driver Date: 06/21/2006 Driver Version: 10.0.17134.1 Driver Provider: Microsoft Driver Section: HID_Raw_Inst.NT Driver Rank: 0xFF1004 Matching Device Id: HID_DEVICE_UPR:FF00-FFFF Outranked Drivers: input.inf:HID_DEVICE:00FF1005 Device Updated: false Parent Device: USB\VID_04D8&PID_003C\5&293a402a&0&2

Yes, the Olimex boards use

Yes, the Olimex boards use their own HID bootloader. The UECIDE plugin should be using it by default. I'll check it out.

If I recall correctly it uses

If I recall correctly it uses the "UHB" protocol, but I'm not sure. At the moment the board specification is set to just use "HID" (it shouldn't be asking for a COM port at all). I can change it to UHB to see if that helps.

Yes, I have the right board

Yes, I have the right board and board.txt has HID.. as the programer I get the following error org.uecide.UsbHidDevice cannot be cast to java.lang.Comparable I am not sure what this means..

What version of UECIDE are

What version of UECIDE are you running?

You can try changing the upload.protocol to uhb and adding:

bootloader.vid=04d8
bootloader.pid=003c

• Memory size: 3,232 bytes

• Memory size: 3,232 bytes • Compilation took 4.052 seconds. Uploading firmware... • Uploading with STK500v2 protocol ‣ Resetting board ‣ Uploading firmware Copyright: (C) 2011-2015 Serge Vakulenko 2016-2017 Majenko Technologies Programmer for Microchip PIC32 microcontrollers, Version 2.1.46 \.\COM3: Cannot open

No target found.

Thank you for your help

upload.protocol=stk500v2

upload.protocol=stk500v2

That's wrong.

What version of the olimex-pinguino32-otg package do you have installed?

That is correct, but the

That is correct, but the content of your board.txt file is incorrect. I suggest uninstalling and reinstalling that package.

Hello,

Hello, Thank you, I have fixed the board file from another working system, but windows 10 refuses to recognise the olimex board in device manager... It is not a uecide problem regards

The thing with these kind of

The thing with these kind of boards is that they won't show anything at all on the PC unless either:

  • It is currently in bootloader mode, or
  • It has been programmed specifically with code that presents a USB device to the computer.