- 博客(65)
- 收藏
- 关注
原创 A RTSP Server Based on Qt Framework and LIVE555
※ The code corresponding to this post ishere, the "Server" folder. Recent years, the streaming technologies have been more and more widely used : the drone remote control, the live broadcasting and the video conference.. and so forth. There are sever...
2020-06-19 04:11:33
725
原创 Cross-Compile the Qt Libraries for Nvidia® Jetson TX2 and Set the QtCreator Environment
For some high-end use cases, like car self-driving, medical devices,telemetry equipments and so forth, the specification are usually peculiar, for the goal of the devices are very special....
2019-08-27 14:51:11
984
原创 Optimize Separable Convolution for the Specified Size on NVIDIA® CUDA®
※The code corresponding to this blog inhere. Continue thispost, in here I will show how to optimize the CUDA code of separable convolution for a specified size. Due to the size is specified, t...
2019-03-16 13:38:30
193
原创 Exploit SSE/AVX Instructions to Speed up the Computation of Separable Convolution
※The full code of this post is available inhere. In my previous posts,this oneandthis one, I discussed various SSE/AVX optimization for efficient general 2D convolution. In this post we ...
2019-03-10 20:51:45
362
原创 Tiling Separable Convolution in CUDA
※ The code of this post is available in here.When we are doing image processing on a GPU, one of the key idea is 'Tiling'. Tiling cuts the image into small rectangles, and tackle those rectangles on...
2019-02-23 08:51:21
653
原创 Use NVIDIA® CUDA® to Improve the Performance of Computing Separable Convolution
※The code corresponding to this blog inhere.This post is focused on the generic separate convolution. If you are interested in how to optimize for a specified size, you ※could readmy next post....
2019-02-19 17:19:25
267
原创 Use SSE/AVX to Improve 2D Convolution performance for the Specified Kernel Size
※The full code of this post could be downloaded inhere. This post is the continuationofmy previous post, which demonstrates how to use the SSE/AVX instructions to improve the performa...
2019-02-02 02:54:30
465
原创 Use the CPU Vectorization Instructions to Improve the Performance :: 2D Convolution Example
※The full code of this post could be downloaded inhere.The x86 hasStreaming SIMD Extensions(SSE)instruction sets. By processing 4 data items in parallel, theoretically SSE can improve performance...
2019-01-25 01:39:25
418
原创 Use STM8 to Control nRF24L01
※The complete code is available inhere.Inmy previous post, I used nRF24LE1, which is an 8051 microcontroller(MCU)integratednRF24L01 function, to operate Enhanced Shockburst™ (ESB) transceiving....
2019-01-13 19:13:34
465
原创 nRF51/nRF52 Runs BLE Peripheral and ESB Protocol Concurrently
The code for this post ishere. Continue myprevious postabout Nordic's Enhanced Shockburst™(ESB) reliable transceiving, In this post I would like to discuss how to combine ESB with Bluetooth l...
2018-12-06 00:38:02
608
原创 Make Nordic Enhanced ShockBurst™ (ESB) Transceivers as Multiceiver and Reliable
※This post focuses on nRF24LE1, if you are interested in how to use an independent microcontroller to control NRF24L01, please refer tomy another post. ※ The multi-sending and multi-receivin...
2018-11-21 03:18:05
490
原创 Exploit Scapy to Generate WIFI Probe Request Packets on x86 Linux Distribution and OpenWRT
Thought there are discussing threads and posts about how to use scapy library to generate probe request packets, but based on my searching, all of those are not organized and detail. This post w...
2018-08-04 09:41:09
634
原创 ESP8266 RTOS : Device Firmware Update Over the Air (DFU-OTA) via the Private Server
ESP8266 is a very popular micro-controller featuring WIFI with its bargaining price. There are some product based on ESP8266/ESP8285 (ESP8285 = ESP8266 embedded 1 MB flash) for home IoT using. T...
2018-05-05 14:39:32
798
原创 C8051 USB Device : Enable 2 Endpoint Pair as 2 Different Devices
※ The full code I have modified you could download inhere. There is 8 USB endpoints in Silicon Labs's C8051F3X0, but there is few post or discussion about how to enable multi-pair end...
2018-01-18 03:34:56
336
原创 C8051 USB Device : Modify the MouseExample Code as UART-Input Mouse.
I found the example code of silicon labs's MouseExample is not explicit: the input signal is from analog to digital converter (ADC) pin: it blurs the key-point for it is an USB exa...
2018-01-18 03:21:37
347
原创 USB HID Host on Linux : Based on SiLab C8051 Example Firmware, USBHIDtoUART
This post implementation the Linux host of SiLab 's C8051 firmwar example code : USBHIDtoUART, to complementary my previous post, the same stuff on Windows. The code be :#include <linux/limits...
2018-01-08 02:25:09
346
原创 USB HID Host on Windows : Based on SiLab C8051 Example Firmware, USBHIDtoUART (Replace SLABHIDDEVIC
C8051 (F34X/F32X and F38X) series released by Silicon Labs is very famous and popular microcontroller for its bargain price and multipurpose for the applications : the chips are based on 8...
2018-01-08 02:20:22
759
原创 Embedded Linux as USB Device : Implemention of Keyboard and Mouse Combo
Embedded Linux could be the USB device, if the kernel support the USB gadget. But the USB-HID(human-interface device) report descriptor does not exist in kernel code, developer needs to fill it by him
2017-10-27 11:47:43
532
原创 Manipulating I2C Peripheral Directly in Linux User Space
I2C (I Squared C) is a very common interface for controlling peripheral chip, lots sensor are based on this interface. Theoretically, it is necessary to write a driver for communicating with pe...
2017-09-24 00:49:45
630
原创 Read DS18B20 Temperature via Mapping Memory Method in Linux
In the website, there are lots code to demonstrate how to set and fetch the temperature data measured by ds18b20, but Most are drive-based, some are UART-base; there are only a few code fetchi...
2017-08-28 16:54:44
504
原创 Linux GPIO Manipulation via Accessing Mapped Physical Memory
Form my previous post, I have demonstrated how to manipulate GPIO via sysfs and I have pointed out the insufficiency of this manipulation for sysfs speed is very slow. Sysfs accessing speed is ...
2017-08-20 03:36:38
517
原创 Linux GPIO Manipulation via System File System, sysfs
To access GPIO, the most intuitive way is to write a driver for this purpose. This approach is most generic, but the Linux driver model is complicated, It is requisite to spend time to learn that. Be
2017-08-18 21:53:30
705
原创 Build Microsoft Azure SDK For OpenWrt System
Cloud for organizing and analyzing big data is a trend, Microsoft introduces Azure Cloud for IoT purpose. it has been announced cross-platform (even microchip) and easy to be ported. The...
2017-07-15 15:11:15
1555
原创 Build Tiny C Compiler by VC in Visual Studio
Tiny C compiler (TCC) is a profound contribution by Fabrice Bellard. Originally, the predecessor of TCC was for International Obfuscated C Code Contest. Now it has become an authentic C compiler prest
2017-07-15 14:32:36
999
原创 nRF51/52 ROM Protection : Prevent Someone Else From Dumping the Hex File
To avoid piracy is very important for software and firmware development. Of course, you should protect your source code would not be spread out. But from firmware prospect, it is a way to piracy your
2017-04-20 15:38:05
1158
原创 nRF51/52 : Disable Unused GPIOs
By this forum thread, for unused GPIOs in nRF51822/nRF52832, programmer should set those as input pin, and set those in disconnection (from input buffer).Following the rule, the code be://
2017-04-04 23:44:43
668
原创 BLE Gatt Date Time Service Implimentation in nRF51/52
There are current time client library(components\ble\ble_services\ble_cts_c) and example code(examples\ble_peripheral\ble_app_cts_c) in the nRF SDK : the nRF device would adjust its real timer while t
2017-02-09 09:13:50
1061
原创 nRF51/52 : Pstorage (Flash , Non-volatile Memory) Operation
It is very requisite for internet of thing (IoT) application to have a non-volatile memory, it could keep the status when the battery runs out. In nRF51/52 series, the flash is called as "Persiste
2017-01-04 14:29:27
1521
原创 nRF51 : Make the Printf to Work Well
You may encounter a problem that when you follow the standard UART(Universal Asynchronous Receiver/Transmitter) step, but the printf would not work well. the Standard UART code in Nordic example be (
2017-01-04 14:20:28
383
原创 STM8L Power Saving : How to Implement Auto Wake-Up Mode in STM8L101xx
In this document (4.2.1):The STM8L101xx devices feature the following main low power modes:Wait mode: CPU stopped and peripherals kept running - Wait RTC (peripheral module) i
2016-11-07 01:23:10
796
原创 How to build Qt 4.8 Libraries for Macintosh : a Rough Note
I have done the work for a long time, this is a rough note for the purpose: build Qt libraries on/for Mac. 零. You need to download the Old mac SDK. however, the download location in Apple's we
2016-08-29 16:21:31
444
原创 Use Bonjour SDK for mDNS Discovering in Windows
How to use Bonjour SDK for mDNS is rut, but I found that in the website, there is no simple example WITHOUT window to demonstrate how exploit this library. In the post, I would fill the gap. 零
2016-08-29 16:20:37
2762
原创 Calling C# Methods From C++
In the previous article, I have demonstrated how to call C/C++ libraries from C#. In this post, I want to deal with the inverse action : call C# method from C++. Be constrained
2016-05-09 22:59:43
873
原创 Calling C/C++ functions from C#
Dot net framework is profound for coding, features the integrated API with service. However, some people would not be satisfied at its performance for large scale numerical computing. ...
2016-04-29 15:11:13
896
原创 Exploit FFmpeg Libraries to Decode Raw H264 File in Windows, Which Supports Multithread-Decoding
My previous article has demonstrate how to build to ffmpeg libraries in windows. In here, I continue the work, to use the built libraries for decoding a raw h264 file.I use ffmpeg version 2.4.12
2016-02-23 01:55:47
826
原创 A Calculator Supports Parentheses Written in C
The flow chart Read Input -> Get Tokens -> Infix To Postfix -> Evaluate -> Output ResultGetToken : Check if there is syntax know or not.Infix To Postfix: Check if there perenthesis be
2016-02-13 04:24:36
390
原创 Build ffmpeg Libraries in Windows via MinGW
It is trite, but I nmot how to build the ffmpeg in this article.零 Set up your MinGW environment, you could download 32/64 bit installation file fromhere you could select which compi
2016-01-23 19:24:53
487
原创 Utilize Avahi Libraries in Android for mDNS Discovering
零. Continue my previous avahi article, here, i would port the same example code to Android platform.Download and unravel Android NDKfor me, the untarred NDK root locates in ~/Android/A
2015-12-15 04:09:46
1066
原创 Use Avahi as a library for Discovering mDNS Service
Avahi(http://www.avahi.org/) is an implement ofmulticast Domain Name System (mDNS) in Linux/Android. mDNS is a (local) network service broadcasting/discovering mechanism: for example, the IP printe
2015-12-06 03:17:43
1597
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人