Search found 24 matches

by Al B
Tue Aug 23, 2016 10:02 pm
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 24404

Re: USB Mass Storage Device

Hi Giovanni, Thanks for the reference, I'll look at it more closely when I have time. The usbcfg.c file looks to be much better done than most others I have seen elsewhere. However using IAD's was one of the approaches I did try. The issue with Composite devices seems to be that the Host needs multi...
by Al B
Tue Aug 23, 2016 7:53 pm
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 24404

Re: USB Mass Storage Device

Hi again, Thought I would provide an update. I got ST's USB implementations for both MSC and CDC working on STM32F407 and STM32L476. MSC was reasonably straight forward, since I am quite familiar with STs driver issues on uSD and eMMC (quite a number of bugs unfortunately). They have 2 (well actuall...
by Al B
Wed Aug 10, 2016 5:24 pm
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 24404

Re: USB Mass Storage Device

Hi, I am no longer working on this right now, but thought the heritage of the various Device MSCs initiatives and some other observations might help someone else. There seem to be 2 main code sources that all the MSC prototypes that I uncovered stemmed from: 1) mabl (= Giovanni?) - released Mar 2011...
by Al B
Wed Aug 03, 2016 5:08 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 24404

Re: USB Mass Storage Device

Hi Russian, I have also been trying to get this working, however with very little success so far. I looked through your code, but I can't quite tell which version of usb_msd.c/.h you are using. The ones in your git are from chibios 2.6.8 which are a few years old and quite different from the ones on...
by Al B
Fri Jul 29, 2016 9:16 pm
Forum: ChibiOS/HAL
Topic: Using ST's USB middleware on Chibios
Replies: 3
Views: 974

Re: Using ST's USB middleware on Chibios

Hi Giovanni, In terms of using ST's HAL entirely and only Chibios OS/RT, that is NOT what I was considering, but if you look at ST's interfaces for FreeRTOS. It is a pretty thin interface, so likely would not be a huge effort. However in my opinion, the value of Chibios is in its HAL plus RT, so I w...
by Al B
Thu Jul 28, 2016 10:56 pm
Forum: ChibiOS/HAL
Topic: Using ST's USB middleware on Chibios
Replies: 3
Views: 974

Using ST's USB middleware on Chibios

Hi, ST has an extensive set of USB Host and Device Classes implemented, and they appear to be working and well done (although I have not verified this). Has anyone ported or considered porting this library to Chibios? I couldn't find much in my searching of this forum, hence my post. In looking at i...
by Al B
Wed Jul 27, 2016 3:22 am
Forum: ChibiOS/HAL
Topic: IAR project for Olimex E407 LWIP FATFS USB
Replies: 1
Views: 711

IAR project for Olimex E407 LWIP FATFS USB

Here is a full set of IAR and project files with all corresponding changes to make work in both trunk and latest 16.1.x. It has been tested on the olimex board to verify FatFS, USB CDC, shell, OS test execution and general behavior. The web server also appears to be working, but I did not test it. O...
by Al B
Wed Jul 27, 2016 1:17 am
Forum: Bug Reports
Topic: chThdCreateStatic hangs Topic is solved
Replies: 1
Views: 915

chThdCreateStatic hangs Topic is solved

Hi, In testing LwIP, had an issue with chThdCreateStatic hanging, if CH_CFG_NO_IDLE_THREAD = TRUE. In the lwip_bindings/lwipthread.c lwipInit code: /* Creating the lwIP thread (it changes priority internally).*/ chThdCreateStatic(wa_lwip_thread, sizeof (wa_lwip_thread), chThdGetPriorityX() - 1, lwip...
by Al B
Wed Jul 20, 2016 8:50 pm
Forum: ChibiOS/HAL
Topic: HAL versions
Replies: 8
Views: 1704

Re: HAL versions

Hi, OK, now that you mention it I do see note.txt files in ADC and DMA but no others. And wrt to the SDIO vs SDMMC, that is unfortunate, since the code seems almost identical other than the naming and clearly defined ifdef code paths. I guess I'll find out pretty soon if the SDC abstraction works ac...
by Al B
Wed Jul 20, 2016 8:01 pm
Forum: ChibiOS/HAL
Topic: HAL versions
Replies: 8
Views: 1704

Re: HAL versions

Hi, Some related questions to this. Other than the platform.mk for each processor family, which describes which LLD peripheral version to use for that processor, is there any documentation on what the different are between the versions other than doing diff's on the code? For example, I have made fi...

Go to advanced search