Control of RGB LEDs via the UDB unit of PSoC microcontrollers from Cypress

 3r33895. 3r3-31. Control of RGB LEDs via the UDB unit of PSoC microcontrollers from Cypress 3r33879. 3r33882.  3r33895. So. There was a problem to dynamically control a long line of R28 LEDs WS2812B. Classical approaches to this case are known. You can take the banal Arduino, but there the output goes programmatically, so while the data is being output - everything else is idle, otherwise the time diagrams will fail. You can take STM32 and output data either through DMA to PWM or through DMA to SPI. Techniques are known. I even, at one time, personally through SPI already ruled a line of sixteen diodes. But the overhead is great. One bit of data in the LEDs takes 8 bits in memory ...
+ 0 -

UHCI, or the very first USB

UHCI, or the very first USB
3r33333.  3r301501. 3r33232. What is UHCI? 3r33300. 3r33333.  3r301501. I think that once again not to be sprayed on what and why, just leave a link to my previous article on EHCI. Tyr here 3r33333.  3r301501. UHCI - Universal Host Controller Interface, works as a PCI device, but, unlike EHCI, it uses ports instead of MMIO (Memory-Mapped-IO). 3r33333.  3r301501. 3r33333.  3r301501.
USB Driver (USBD) -
USB driver itself.  3r301501.
HC (Host Controller) - the host controller, or simply our UHCI 3r-3285.  3r301501.
Host Controller Driver (HCD) is a driver that binds hardware and USBD 3r-3285.  3r301501.
The USB Device is the
USB device itself.  3r301501.
3r33333.  3r301501. 3r33333.  3r301501. 3r33232. Types of data transmission
3r33333.  3r301501. Isochronous — an isosynchronous transfer that has a given data transfer rate. It can be used, for example, for USB microphones, etc. 3r33333.  3r301501. Interrupt - Small, spontaneous data transfers from the device. The interrupt transfer type supports devices that ...
+ 0 -

Porting Quake3

 3r3778. 3r3-31. Porting Quake3 3r33737.  3r3778. 3r33766. In the operating system 3r3338. Embox
(of which I am a developer) OpenGL support appeared some time ago, but there was no sensible performance check, only drawing scenes with several graphic primitives. 3r33767. 3r33737.  3r3778. 3r33766. I have never been particularly interested in game devs, although, of course, I like the games, and decided that this is a good way to have fun, but at the same time check OpenGL and see how the games interact with the OS. 3r33767. 3r33737.  3r3778. 3r33766. In this article I will talk about how to build and run Quake3 on Embox. 3r33767...
+ 0 -

Linux kernel boot. Part 1

+ 0 -

System.IO.Pipelines: high performance IO in .NET

3r3757. System.IO.Pipelines
Is a new library that simplifies code organization in .NET. It is difficult to ensure high performance and accuracy if you have to deal with complex code. The task of System.IO.Pipelines is to simplify the code. More under the cut! 3r33767.  3r3774. 3r33767.  3r3774. System.IO.Pipelines: high performance IO in .NET The fastest webservers in the industry
. It was originally conceived as part of the Kestrel implementation, but evolved into a reusable API, available in version 2.1 as the first class BCL API (System.IO.Pipelines). 3r33767.  3r3774. 3r33767.  3r3774. 3r3753. What problems does she solve? 3r3754. 3r33767.  3r3774...
+ 0 -

The Windows problem is not in the frequency of updates, but in the

The Windows problem is not in the frequency of updates, but in thedevelopment process. 3r31616. 3r3-31. Glitch updates point to a deeper problem. 3r3404.  3r31616. 3r3404.  3r31616. Windows 10 at a presentation in Tokyo, July 201?3r33336. 3r3404.  3r31616. 3r3404.  3r31616. Obviously, the Windows update of October 1? 2018 was not the most successful. quickly appeared. file loss reports on computers, and Microsoft has suspended the distribution of updates. Since bug fixed , Now there is a testing of a new update before its re-release. 3r3404.  3r31616. 3r3404.  3r31616. This is not the first Windows update to encounter problems - in previous updates we have seen ...
+ 0 -

Writing OS: Multitasking

 3r3152. 3r3-31. Writing OS: Multitasking 3r33140.  3r3152. Good day, dear reader, most likely, you saw my previous article that you can write a working OS yourself in a relatively short period of time. Well, today we will talk about the implementation of multitasking in my OS.
3r33140.  3r3152. 3r33140.  3r3152. Well, you probably can't imagine a single-task OS in 201? that's why I decided to talk about the implementation of multitasking in my OS. And so, first - you need to decide on the type of multitasking, I chose preemptive. 3r33140.  3r3152. What is she like? Preemptive multitasking is a system for distributing the processing ...
+ 0 -

Writing your own workable OS for half a year

 3r3178. 3r3-31. Writing your own workable OS for half a year 3r3398.  3r3178. 3r3398.  3r3178. 3r33939. Prehistory
3r3398.  3r3178. Hello! I strongly welcome everyone, today I would like to tell you about my experience in writing a workable OS for the x86 architecture. 3r3398.  3r3178. One spring night I had a brilliant idea - try yourself in writing your own OS, which can allow you to run programs, work with devices, and generally squeeze all the power out of Intel's architecture in your needs: for example, for your factory or something else. My goal was and is to write such an OS that could allow maximum performance for some specific tasks without ...
+ 0 -

Download configuration in FPGA via USB

3r3-31. Download configuration in FPGA via USB 3r31298.  
3r31290. In the life of each pleisovod there comes a time when you need to write your own configuration file loader in the FPGA. I had to participate in the development of an educational stand for the department of a technical university. The stand is designed to study digital signal processing, although in this article it does not really matter. And what matters is that the stand is based on the FPGA (Altera Cyclone IV), on which, according to the idea of ​​the stand's author, students assemble all kinds of DSP schemes. The stand is connected to the computer via USB. Required to download ...
+ 0 -

News Rust # 1 (September 2018)

News Rust # 1 (September 2018)
My comment to the news about Rust ??? with a review of rusty events for a month went well, so that's holding
very subjective
a section of rusty news for the past month.
In this collection: Rust 1.2? records from Rustconf 201? gfx-rs, Rust201? Flatbuffers port, new versions of ripgrep and Alacritty.
Rust ???r3r3751.
Rust came out ???. The main innovations are available immediately from rustup 'a cargo fix and cargo clippy ...
+ 0 -