Notes

Powered by The LE Company

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.


Thursday, December 30, 2010

Top 10 algorithms of the 20th century

1. Top 10 algorithms of the 20th century - 10 Thuật Toán Quan Trọng Nhất Thế Kỉ 20

Thursday, December 16, 2010

How The Kernel Manages Your Memory

Friday, November 26, 2010

ARM Assembly quick reference

( From: http://www.coranac.com/tonc/text/asm.htm#sec-intro ,
http://nocash.emubase.de/gbatek.htm#arminstructionset )

Wednesday, November 10, 2010

"synchronized" - How Java Supports Synchronization

(from: http://www.herongyang.com/Java/Synchronization-Support-in-Java-synchronized.html)

This section describes the 'synchronized' keyword and how Java supports synchronization in 3 different ways - synchronized class methods, synchronized instance methods, synchronized statement blocks.

Monday, October 18, 2010

Improving Software Quality

(from: http://www.robelle.com/library/papers/quality/#ref )

[Cover page: Steps to Software Quality]

by Robert Green

Robelle Solutions Technology Inc.

I am founder of a small software company that makes tools for the Hewlett-Packard 3000 computers. I also spent seven years working in the HP factory and three years in an end-user MIS department. I have been involved in the development of applications, operating systems, and tools, some of high quality and some of low.

Wednesday, October 13, 2010

Monday, October 11, 2010

UML Language

UML - The Class Diagram.

Java Delegate

( from: http://dangtritue.blogspot.com/2008/08/java-delegate.html )


Trong lập trình .NET có kiểu delegate khá thú vị, trên rất nhiều diễn dàn tôi vẫn thường được nghe hỏi về delegate trong java.

Wednesday, October 6, 2010

Multiply Using Booth’s Algorithm

Booth's multiplication algorithm is a multiplication algorithm that multiplies two signed binary numbers in two's complement notation. The algorithm was invented by Andrew Donald Booth in 1951 while doing research on crystallography at Birkbeck College in Bloomsbury, London. Booth used desk calculators that were faster at shifting than adding and created the algorithm to increase their speed. Booth's algorithm is of interest in the study of computer architecture.
(from: http://en.wikipedia.org/wiki/Booth%27s_multiplication_algorithm)

Saturday, September 25, 2010

Core Java Interview Questions & Answers

Core Java Interview Questions & Answers
From: http://www.knowledgebase-script.com/demo/article-911.html


Core Java Interview Questions - Here you can find out a list of questions for core java interview along with the answers. There questions are often asked for core java job interview.

Wednesday, September 15, 2010

GWT Tutorial

This article describes how to develop a Web application with GWT and the Google Plugin for Eclipse. This article assumes basic Eclipse and Java knowledge . The article was developed using JDK 1.6, GWT 2.0 and Eclipse 3.6 (Helios)).

http://www.vogella.de/articles/GWT/article.html

Monday, September 6, 2010

Thursday, September 2, 2010

Sunday, August 29, 2010

Threads and Callbacks in RMI

(from: http://www.cs.swan.ac.uk/~csneal/InternetComputing/ThreadCallBack.html)

7.1. Background

So far, all the RMI examples you have seen have been very straightforward - the client needs to invoke some service on a server, and is prepared to wait until the service has finished before proceeding. But what if the service will take some time, and the client wishes to get on with something else while it waits? Or if the activities of the server are to some degree independent of main function of the client? The first situation is often the case when dealing with GUI code - it is not considered good practice to freeze up a GUI while it performs some slow operation.
Also, suppose there are multiple clients - what happens if more than one tries to access the service at the same time? We will deal with this issue first, as it is the simplest.

Tuesday, November 24, 2009

Xử lý các sự kiện Trong Java

From: http://www.vn4000.com
http://www.vn4000.com/content/view/4670/35/
Java SE Architecture, source: http://www.oracle.com/technetwork/java/javase/tech/index.html

Thursday, November 12, 2009

Getting started IAR Embedded Workbench for ARM with AT91SAM7S256

Le Trung Thang 2011


Prepare tools:
- Software: IAR Embedded Workbench for ARM (www.iar.com).
- Hardware: AT91SAM7S EVALUATION BOARD and Jlink 7 (http://www.segger.com) debug board (see schematic at below).
Other alternation can be considered in case of you don’t have AT91SAM7S Evaluation Board could be OLIMEX SAM7-P256 Development Board (www.olimex.com).
I have not tested with Olimex board yet, but strong belive that it's able to work well with this demonstration project.
- Source code: Demo source code of this project can download here: SAM7s256-SourceCode.

  Fig 1. AT91SAM7S EVALUATION BOARD

Fig 2. Modules in Board

Vi Điều Khiển AVR ATmega128 - AVR microcontroller

Một số tài liệu về vi điều khiển AVR và FPGA.
(This is some documents about Atmel AVR microcontroller, FPGA chip in Vietnamese.)

Sunday, October 11, 2009

Study About ARM7TDMI processor and Keil Realview Real-Time OS

Le Trung Thong, 2012

Here is place to post the ARM7 project which is graduated thesis of Thong Le. This page will include design, source code, plans,... Thong Le will take care this page.
Copyright by https://blog.osteele.com/2008/05/my-git-workflow/