You are viewing a static version of the site. Enable JavaScript to benefit from the
full functionality of this site and enable such things as forum posting.
programming Olimex board stk500
Anthony:
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
matt:
You have replaced the default Pinguino bootloader with the chipKIT one?
Anthony:
No, I have always used them straight out of the box...
Anthony:
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
matt:
Yes, the Olimex boards use their own HID bootloader. The UECIDE plugin should be using it by default. I'll check it out.
matt:
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.
matt:
You do have the right board selected, don't you?
Anthony:
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..
matt:
What version of UECIDE are you running?
You can try changing the upload.protocol
to uhb
and adding:
bootloader.vid=04d8
bootloader.pid=003c
Anthony:
• 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
Anthony:
I am using uecide 0.10.5
I have attached the board.txt file I am using
thank you
matt:
Which programmer do you have selected?
matt:
upload.protocol=stk500v2
That's wrong.
What version of the olimex-pinguino32-otg
package do you have installed?
Anthony:
Package name: olimex-pinguino32-otg
Available: 1.1.2
Installed: 1.1.2
Depends: chipkit
matt:
That is correct, but the content of your board.txt file is incorrect. I suggest uninstalling and reinstalling that package.
Anthony:
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
matt:
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.