-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USBaspHIDUART static linking #24
Comments
Hi, which hidapi version do you have ? Isn't possible to upgrade to a newer version ? 0.9.0 is too old ... regards, |
not now for the update of my opensuse. As USBaspHIDUART may run on strange linux systems, maybe not a bad idea to eliminate a potential problem with embedding libs ? |
Hi, The UART HID protocol is very simple . It's very Anyway, I'll take a look but is a low priority . PS: You can always write a C/C++ USBaspHIDUART utility and contribute it to the project . After all, this is an Open Source / Free Software project ... regards, |
For Linux, usually it is better that the user should build from source, if the provided binary does not work. Take note for avrdude project, we only provide Windows MSVC binary. There is an enhancement request but nobody is working on it. Rather we refer the users to build from source or get static linking binary from Arduino-packing project. |
BTW, for Linux and macOS, usually the preferred way is to use dynamic linking. |
Turbo Pascal 5 was my first language. So nothing strange to me when I read for example the bootloader you are contributing to. Even if I don't see the purpose of it (another boot loader). Some years ago I dived a little in the the USB protocol (bulk, interrupt, endpoint etc etc). Most of it vanished. @mcuee So, for me this lib is/was a perfect candidate to be 'included' (eg eliminated) ;) |
Hi, FYI, If you want to change the serial number you could edit the eeprom.eep.hex ...
The serial 0000 is stored as ASCII ( 0 -> 30 ) So if you want to change it to 1234 then edit it to look like these :
regards, |
Hi,
Why not ? It's an opportunity to learn, to advance the fpc avr part and it's fun !!!
A quick search shows that Lazarus/FPC exists for openSuse . Just install it, recompile the USBaspHIDUART on your system and remove it to free up space .... regards, |
I don't have have need to change it. I wanted to test only. What is puzzling me is low speed usb unable to expose as a serial port (/dev/acm). Or not able to transfer payload of more than 8 bytes. I have to re-read all this USB stuff if I want to do something in the usbasp code ! |
Hi,
It's simple, USB specs . No bulk or isochronous transfers, only control and interrupt and max 8 byte payload. regards, |
USB 2.0 spec is actually a good read (The Original USB 2.0 specification released on April 27, 2000). It can be downloaded from here. As for a quick read, I think USB Made Simple is good. |
The serial is not updated on my installation.
Perhaps 'hiblib' too old ?
Can you build the USBaspHIDUART with this lib in your code ?
https://github.com/libusb/hidapi/blob/master/BUILD.md#embedding-hidapi-directly-into-your-source-tree
The text was updated successfully, but these errors were encountered: