Search found 223 matches

by DeusExMachina
Fri Sep 02, 2016 12:53 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

I made transfer rate measurements in Windows with FS/HS and results are the same:
WR: 230 KByte/s
RD: 960KByte/s
So, there is no merit to use High Speed PHY with this driver
by DeusExMachina
Wed Aug 31, 2016 7:51 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

Well, I have collected some data. It works in Linux, but it is very unstable (problems with big data transfers). Still has no changes with Mac OS El Capitan. Here are a dmesg logs for both systems <<Ubuntu Linux>> [ 3124.967584] usb 2-2.2: new full-speed USB device number 15 using uhci_hcd [ 3125.08...
by DeusExMachina
Wed Aug 31, 2016 3:12 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

Haha, changing the SD card solved the problem. It works pretty fast now!
by DeusExMachina
Tue Aug 30, 2016 2:52 pm
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

Well, I have no USB3300 PHY at home, so I had to port my code to USB FS. There are some bad news: For Windows this code works EXTREMELY SLOW (just opening the drive F: takes several minutes). Linux and Mac OS does not work at all. Enumeration works well, but something is wrong after that. I think th...
by DeusExMachina
Thu Aug 25, 2016 7:02 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

jayalfredprufrock I'd definitely be grateful to see your latest code for MSC functionality. I'd need it to work reliably on both windows and OSX so if it already works well on windows and older macs, I'd be willing to put some time into getting it to work on El Capitan. I'm really busy now, but nex...
by DeusExMachina
Wed Aug 17, 2016 7:46 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

The maximum speed of HS USB file transfers which I have got so far is just 800KB/s.
Another issue was revealed today - MSD device does not work in iOS El-Capitan.
I really should find some time to put out my code on github...
by DeusExMachina
Thu Jul 21, 2016 3:05 am
Forum: ChibiOS/RT
Topic: Thread registry data
Replies: 2
Views: 2275

Re: Thread registry data

Thank you, it works now!
by DeusExMachina
Wed Jul 20, 2016 8:26 am
Forum: ChibiOS/RT
Topic: Thread registry data
Replies: 2
Views: 2275

Thread registry data

Hello. I used this code to measure the CPU usage and it worked for me, until the last update from the git 16.1.5 tp = chRegFirstThread(); uint32_t idle_time = 0; uint32_t busy_time = 0; do { uint32_t tmp = (tp->p_stats.cumulative/tp->p_stats.n); if (tp->p_prio == 1) /* idle task */ { idle_time = tmp...
by DeusExMachina
Fri Jul 15, 2016 8:10 am
Forum: User Projects
Topic: chibios + elua
Replies: 10
Views: 11513

Re: chibios + elua

IMO it is a really cool thing. I have a project which has to support a different types of equipment. It should support our company's products which still do not exist. Using SD card + USB MSD and console it is possible to add new lua-based device descriptors or even add additional functionality (dat...
by DeusExMachina
Wed Jul 06, 2016 4:52 am
Forum: Development and Feedback
Topic: USB Mass Storage Device
Replies: 112
Views: 66579

Re: USB Mass Storage Device

I guess that Chibios desperately needs a standard USB mass storage driver to be added to official repository. At the same time, it is a little bit embarrassing situation to have an official USB Host driver (it is a rare demand for the embedded device). But what driver is the best?

Go to advanced search