Saturday, December 31, 2011

Telnet in Java

  Le Trung Thang, end of 2011 

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communications facility using a virtual terminal connection. User data is interspersed in-band with Telnet control information in an 8-bit byte oriented data connection over the Transmission Control Protocol (TCP) (soure: http://en.wikipedia.org/wiki/Telnet).

Sunday, September 4, 2011

FreeRTOS and Implementation of FAT file system FatFs on SD card

Le Trung Thang 2011

After building successful the application “Building an Application for AT91SAM7S withFreeRTOS RTOS and IAR”, in this article we will combine FatFs, a FAT file system module, with FreeRTOS to make an application with functions more diverse than
 FatFs is a generic FAT file system module for small embedded systems that can be ported to any underlying hardware. It has been architected with separate layers for hardware accesses. FatFS is compatible with Windows FAT12/16/32 file system (Figure 1).
Fig 1. Application model with RTOS

Friday, August 19, 2011

Where the printf() Rubber Meets the Road

(from: http://hostilefork.com/2010/03/14/where-the-printf-rubber-meets-the-road/)

Sunday, July 24, 2011

Building an Application for AT91SAM7S with FreeRTOS RTOS and IAR

 Le Trung Thang 2011 

After ported success the FreeRTOS kernel to AT91SAM7S board, see: “Porting Real Time OS "FreeRTOS" to AT91SAM7S256 Evaluation board”. Now, we can start to create an application using FreeRTOS. The preparation tools, you can see at above article.

The first, you need download the demo project at here. Unzip downloaded file and go to folder Atmel\at91sam7s-ek\FreeRTOS-getting-started  and open file FreeRTOS- this getting-started.eww to start IAR Embedded Workbench for ARM IDE.
From demo project, you can edit the project hierarchy as your requirement.

Tuesday, July 19, 2011

Porting Real Time OS "FreeRTOS" to AT91SAM7S256 Evaluation board

Le Trung Thang 2011 
Preparation.
Hardware:  
AT91SAM7S Evaluation Board or OLIMEX SAM7-P256 Development Board (www.olimex.com).
-  Segger J-link emulator (www.segger.com).
Software:
-  IAR Embedded workbench for ARM (www.iar.com).
-  FreeRTOS  RTOS (www.freertos.org).
To get FreeRTOS , you can either download from www.freertos.org directly or  download the demo project which included FreeRTOS v7.01. Thank to Mr. Richard Barry, author of FreeRTOS.

Tuesday, April 12, 2011

Runtime Library in C/C++

Le Trung Thang 2011

Static link vs Dynamic link

Saturday, January 22, 2011

Những lời khuyên của Bill Gates


Những lời khuyên của Bill Gates
( from: http://nghoangvan137.blogspot.com/2010/03/nhung-loi-khuyen-cua-bill-gates.html ) 



Monday, January 17, 2011

C/C++ Input Output Stream

Le Trung Thang 2011

I/O Stream hierarchical in C++ standard

Wednesday, January 5, 2011

Người Việt ở Mỹ là ai ?

Trống Đồng Việt Nam

Nguồn: http://vnexpress.net/GL/The-gioi/Nguoi-Viet-5-chau/2011/01/3BA25076/?p=2#aComment

Tôi xin được nêu rõ một vài khác biệt trong số những người được gọi là Việt kiều để cho những bạn trong nước có thể hiểu một cách tương đối chính xác và có được cái nhìn đa diện về cuộc sống ở xứ người hơn.