Search found 10 matches

by icastell
Tue Dec 11, 2018 3:47 pm
Forum: ChibiOS/HAL
Topic: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x
Replies: 7
Views: 260

Re: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x

Ok, I finally replaced completely the EXT by the PAL module in my project. This is the current situation: #define LINE_SENSOR_X PAL_LINE(GPIOA, 2U) #define LINE_SENSOR_Y PAL_LINE(GPIOA, 3U) #define LINE_BUTTON_X PAL_LINE(GPIOB, 6U) #define LINE_BUTTON_Y PAL_LINE(GPIOB, 7U) /* Enable events on fallin...
by icastell
Mon Dec 10, 2018 5:10 pm
Forum: ChibiOS/HAL
Topic: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x
Replies: 7
Views: 260

Re: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x

I fixed the compilation issues. To do that: 1) Moved hal_usb_hid.c and hal_usb_hid.h from Chibios-Contrib/ to Chibios/ 2) Modified hal.mk properly 3) Set HAL_USE_COMMUNITY to FALSE After that the project with PAL and HID compiles fine. I am still working in the migration of PAL related stuff. I will...
by icastell
Mon Dec 10, 2018 11:59 am
Forum: ChibiOS/HAL
Topic: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x
Replies: 7
Views: 260

Re: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x

Hello again. I am having compiler/linker issues with the migration of ChibiOS project from 16.1.0 to 18.2.x The main 18.2.x Makefile includes this set of .mk files: include $(CHIBIOS)/os/license/license.mk include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f0xx.mk include $(CH...
by icastell
Wed Dec 05, 2018 11:34 am
Forum: ChibiOS/HAL
Topic: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x
Replies: 7
Views: 260

Re: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x

The idea is quite simple: the hardware of our sensor emits an interrupt each time it has new data available. That interrupt is connected with an interrupt handler (HIDSensorIntHookI) using the EXT Driver. That interrupt handlers emits a data_ready_event. A thread registed to that data_ready_event, r...
by icastell
Wed Dec 05, 2018 10:30 am
Forum: ChibiOS/HAL
Topic: EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x
Replies: 7
Views: 260

EXTDriver compilation problem migrating from Chibios 16.1.0 to 18.2.x

Hello forum. I am working porting a Chibios project from 16.1.0 to 18.2.x for a STM32 microcontroller. Read this migration guide: http://chibios.org/dokuwiki/doku.php?id=chibios:articles:update_chibios And followed this steps: Checked out this Chibios and Chibios-Contrib branches (git repo): * Chibi...
by icastell
Mon Dec 03, 2018 2:02 pm
Forum: ChibiOS/HAL
Topic: USB-HID working with IIO but now with hidraw subsystem
Replies: 5
Views: 369

Re: USB-HID working with IIO but now with hidraw subsystem

Sniffing USB traffic with tcpdump we captured an INTERRUPT SUBMIT packet from host to uC device when we execute: # cat /dev/hidrawX The capture was done with this command: # tcpdump -XX -v -i 10 08:41:00.765323 INTERRUPT SUBMIT from 3:21:5 0x0000: 0071 51ee 0000 0000 5301 8515 0300 2d3c .qQ.....S......
by icastell
Thu Jun 09, 2016 8:24 am
Forum: General Support
Topic: thread blocked by chprintf Topic is solved
Replies: 8
Views: 834

Re: thread blocked by chprintf Topic is solved

Yes, that fixes my issue.
Thank you very much for the fast support and congratulations for the fantastic work you are doing for the Chibios community, Mr. Giovanni.
by icastell
Wed Jun 08, 2016 3:38 pm
Forum: General Support
Topic: thread blocked by chprintf Topic is solved
Replies: 8
Views: 834

Re: thread blocked by chprintf Topic is solved

My usbcfg.c file has the same md5sum as the file I took as example to start writing my project:

2b2187c33fc8f8cef726be72f0b5fcdf usbcfg.c
2b2187c33fc8f8cef726be72f0b5fcdf ../ChibiOS/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c
by icastell
Wed Jun 08, 2016 3:20 pm
Forum: General Support
Topic: thread blocked by chprintf Topic is solved
Replies: 8
Views: 834

Re: thread blocked by chprintf Topic is solved

I'm using the "stable_16.1.x" branch.

Yes, the same thread is reading from sensor and writing to the console. I will try suggested solution.

Thanks a lot for your fast answer.
by icastell
Wed Jun 08, 2016 12:33 pm
Forum: General Support
Topic: thread blocked by chprintf Topic is solved
Replies: 8
Views: 834

thread blocked by chprintf Topic is solved

Hello forum. This is my first post to this forum, hope this questions will be useful to someone else... My STM32F0 board has a magnetometer/accelerometer sensor connected. I'm using a Chibios static thread to read sensor information every 20ms and write it to a Linux host, using the USB-CDC serial d...

Go to advanced search