TFTP or Trivial File Transfer Protocol is a transfer protocol notable for its simplicity. TFTP is generally used for automated transfer of configuration or boot files between machines in a local environment, such as routers and PXE (Preboot eXecution Environment) mechanism. Compared to FTP, TFTP is extremely limited, providing no authentication and is rarely used […]
C++ reserves some words for its own use and for use in C++ libraries. Thus, we shouldn’t use a reserved word as an identifier in a declaration. Reserved words comes in two categories: keywords and alternative tokens. This article will list C++ reserved words based on C++11 standard. C++ Keywords Keywords are identifiers that form […]
In this article we will about how to build GCC AVR Toolchain for ARM architecture. The built GCC can be used to compile application into ARM’s machine codes. The toolchain then reside on /usr/local path. For this article, I use: Slackware64 14.0 GCC 4.9.0 GDB 7.7 Binutils 2.24 AVR-libc 1.8 GMP 6.0.0 MPFR 3.1.2 MPC […]
C++ is growing, as per new standard C++11 now it supports threading. C++11 introduce a new thread library. The new standard define utilities for starting and managing threads. It also contains utilities for synchronization like mutexes and other locks, atomic variables, and other utilities. We will get through this so called C++11 threading by series […]
When we are dealing with AVR programming, after create the codes in our development machine we should write the code into the device. For this purpose, we need a tool which we called Downloader or Programmer. This tool will “burn” the code into AVR CPU using spesific port. One popular tool is USBasp (http://www.fischl.de/usbasp/). This […]
AVR or Alf & Vegard RISC, is a single chip microcontroller developed by Atmel. AVR is a modified Harvard architecture 8-bit RISC (Reduced Instruction Set Computer) which is famous microcontroller. AVR microcontrollers has many categories or we will say family. Family basically a group or category based on similiar characteristic and properties. There are six […]
The Open MPI Project is an open source Message Passing Interface (MPI) implementation that is developed and maintained by a consortium of academic, research, and industry partners. Message Passing Interface itself is a system designed by a group of researchers from academica and industry to function on a wide variety in parallel computers.The standard defines […]
This is basic code for VHDL. In this article, we use GHDL (http://ghdl.free.fr), as DHL simulator which run on Windows 8.1 platform. Objective Know the process to simulate VHDL using GHDL. Print some output. Code We will create an empty entity, named “hello_world”. We then create an architecture based on that entity.
entity hello_world is -- test bench (top level like "main")
end entity hello_world;
use IEEE.std_logic_1164.all; -- basic logic types
use STD.textio.all; -- basic I/O
architecture test of hello_world is
signal counter : integer := 1;
m_print : process is -- a process is parallel
variable m_line : line; -- type 'line' comes from textio
write(m_line, string'("Xath say: Hello World")); -- formatting
writeline(output, m_line); -- write to "output"
write(m_line, string'(" counter = "));
end process m_print;
end architecture test;
To simulate […]
Blink LED, like what it should be, we make certain LED blinking. We can define “blinking” as continuous condition switching between ON and OFF condition. This is the simplest project we can do for Raspberry Pi. Make sure you have wiringPi installed on Raspberry Pi already. If not, you can follow this article for guideline. […]
What is Fritzing? Fritzing is an open-source hardware initiative that makes electronics accessible as a creative material for anyone. It offers a software tool, a community website and services in the spirit of Processing and Arduino, fostering a creative ecosystem that allows users to document their prototypes, share them with others, teach electronics in a […]
- Pengantar Pemrograman OpenCV C++ di Linux | Ade Malsasa Akbar: […] http://xathrya.web.id/blog/2013/02/07/in...
- unix socket, nodejs | eonameitimann: […] http://xathrya.web.id/blog/2013/10/21/no...
- Instalación de Freebsd, Modulo de Kernel Hola Mundo e Interfaz grafica FluxBox - elConspirador: […] [http://piedis11.blogspot.com/2008/10/ve...
- add new system call to kernel 3.6: […] for your quick answer I used the followi...
- Win 8 BSOD : BAD_SYSTEM_CONFIG_INFO (Details available)SOS: […] to replace the corrupted BCD with the ba...