1 year, 9 months ago
Children from the Mailgun company presented new cross-platform debagger for Go which uses the original technology radically differing from standard approaches. Running beforehand? by means of Gopherjs this debagger works even in the browser.
1 year, 9 months agoIn last article we managed to receive sound, but it very expensively to us was given. First, we have accelerated the controler to maximum speed. And secondly, except generation of sound the controler can do nothing as the most part of processor time is occupied with continuous updating of value of DAC-and. Not well it. Right now the question of use of DMA is particularly acute.
DMA, or Direct Memory Access? technology of direct memory access, passing the central processor.
In the previous article we have talked about setup of clock frequency of the microcontroller. Now I would like to consider work options with sound: its generation and reproduction. At first I wanted to write one big article in which everything would be considered. From generation of square pulses before reproduction of FLAC with card microSD. But article it has turned out simply huge. So I have decided to break it on some article less. In each of which I sort on one peripheral module.
In last article we have learned to create stable delays with the help of the simple timer SysTick, and have also a little plunged into the mechanism of work of interruptions. Then we accepted as postulate what clocking the timer from HCLK source? we receive 8 MHz. Now time has come to understand, from where these digits.
In the previous article we pomigat LED, but have made it not absolutely correctly. The matter is that as delay we used empty cycle which under each time slot should be selected. Such way also does not approach when we need exact time slots. For solution of this problem in our microcontroller there are at once three full-fledged timers and one system. For a start we will put small subtask. We need to receive blinking LED with interval of one second. The task very simple and for this purpose quite will be enough for us the system timer. Because of the ease it is ideally suited for such tasks. Let's consider it on in more detail.
1 year, 9 months ago
This article is continuation of the previous, input article in which it was talked of motivation and history of creation of the terminal / sniffera IO Ninja, and has been a little told about the built-in opportunities of our product. Let's continue the story what is available? from box?, but with more practical bias.
IO Ninja initially reflected as the utility of type? in total - in - one?, and large number of the built-in plug-ins for work with vserazlichny transports in the different modes is included in the package of delivery. However instead of dry transfer of the list of plug-ins and their opportunities I have decided to show small selection of tasks of life which in our company IO Ninja faced in practice and with which well-known terminals and monitors cope worse, than (and more often do not consult in general).
In last article I have shared personal impressions about the set received by me and have programmed the controler the demonstratsonny project with the help of MT-LINK (has also been provided). Now, when we have in details considered all set, time has come to start it mastering. For the impatient? result.
In anticipation of new year I, as well as many Russians, actively monitored status of foreign currency. But it is not simple because of own interest and because at that time finished the device which was required to be shown at school and regional conference. As in the name of work there was such word as? the budget?, it was necessary to specify in presentation the cost of each component, up to resistors and jumpers. Initially, when the dollar cost about 30 rubles, the device indeed was budget. Both at house assembly, and at the pipeline. But when the price of dollar has passed for 100 rubles, I have solved, it is necessary to look for alternative to foreign components.
By this moment already as some months studied operation of STM32F100 and STM32F103 microcontrollers, putting them into practice in the presentation device. From such giants as STM32F429, I had to refuse. As cost in 1800 rubles for the body is transcendental for? the budget? devices which functionality only has started exceeding possibilities of AVR Atmega32.
Articles are devoted to how I cope with support of applications which passed not through one versions, were written at different times and different people. I hope, they will help also other iOS to developers.
We facilitate support of iOS of the application. Part 3 — falling and a log
I shared the experience with difficult reproduced bugs in the first article. In this article I will tell how it is possible to arrive with bugs which are connected with a network or a location. Those whom this subject interests, I ask under kat.
We facilitate support of iOS of application. Part 3 — falling and log
Everything who created iOS application, and it reached at least to opened β-тестирования, most likely, the phrase is familiar: "I was played with application and here here that has turned out...". And here after this phrase you could spend some hours, trying to understand how "it" has turned out.
If this situation is familiar to you, or there is a wish to learn how to rescue themselves from such in the future — I ask under kat.