Search found 176 matches

by dflogeras
Tue May 14, 2019 2:53 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

Re: USB on STM32F103 blue pill

Giovanni wrote:It should be an interrupt endpoint, I think it is part of the standard but it is not used in demos.


Yep, but shouldn't I be able to write to it? It may mess up the host end, but I would expect it to transmit the bytes)?
by dflogeras
Tue May 14, 2019 2:45 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

Re: USB on STM32F103 blue pill

Could you try adding the interrupt EP on top of the demo? in general, you could try to re-introduce your changes gradually, board and driver appear to work. I got back to this finally. I added another interface to the CDC demo, with my (to my knowledge) working HID descriptors. I have verified that...
by dflogeras
Tue May 14, 2019 2:41 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

Re: USB on STM32F103 blue pill

Thanks for the offer Nico, however I have a working CDC example, it's my HID I cannot get working.
by dflogeras
Fri May 03, 2019 8:59 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

Re: USB on STM32F103 blue pill

I took testhal/STM32/STM32F1xx/USB_CDC I changed it to use STM32F103C8_MINIMAL board, and STM32F103x8.ld linker script to match my hardware. I also just dragged the D+ pin low for a second in main in lieu of usbDisconnect/usbConnect since the board.h doesn't support those. All appears normal in the ...
by dflogeras
Fri May 03, 2019 3:50 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

Re: USB on STM32F103 blue pill

OK, I revisited my baseline ChibiOS project, which is just a STM32F1 hal demo, with the added USB_RAW bits. I initially said it was working, but it seems to only receive. When I tried making it transmit, the same thing happens where it enters usbTransmit() and never wakes up again. Is it possible th...
by dflogeras
Fri May 03, 2019 12:56 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

Re: USB on STM32F103 blue pill

I'm not sure. I started with working descriptors taken from a project that used libopencm3. Originally based on this: https://github.com/paulfertser/stm32-tx-hid I had changed the HID report to match my hardware, and I can verify that those descriptors/endpoints work fine. The only modifications I d...
by dflogeras
Fri May 03, 2019 11:54 am
Forum: General Support
Topic: Sourceforge website
Replies: 1
Views: 141

Sourceforge website

I'm guessing you know this, but I've noticed over the last several days/weeks that accessing the chibios.sourceforge.net pages (for documentation) often is getting errors. I'm seeing things like this when clicking links from google: An error has been encountered in accessing this page. 1. Server: ch...
by dflogeras
Fri May 03, 2019 11:47 am
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 12
Views: 278

USB on STM32F103 blue pill

Hi, For fun, I've got one of those $3 F103 boards from ebay that needs a job to do. My end goal is to make a USB HID device that reads an original NES controller. I've run into an issue setting up the USB driver. I have successfully set up the descriptors and strings, and have verified with Wireshar...
by dflogeras
Tue Feb 05, 2019 5:02 pm
Forum: General Support
Topic: External dependencies for Makefile
Replies: 2
Views: 231

Re: External dependencies for Makefile

So the nice folks in #gnu IRC channel pointed me in the right direction. In case anyone else needs, you can easily make the project elf target depend on an arbitrary file's time. The trick is making sure you put it _after_ the include rules.mk which defines the elf target. ... RULESPATH = $(CHIBIOS)...
by dflogeras
Mon Feb 04, 2019 6:11 pm
Forum: General Support
Topic: External dependencies for Makefile
Replies: 2
Views: 231

External dependencies for Makefile

Hi all, I frequently set up my Chibi projects to depend on my own common libraries for sharing code between different projects. They are built separately and installed into a dir where I point the Chibi build system. So I typically have something like this in my Makefile: ULIBDIR = some/path/where/i...

Go to advanced search