Currently browsing category

Embedded

UCsim

uCsim the 8051 simulator for SDCC

uCsim: the 8051 simulator for SDCC uCsim is a microcontroller simulator for SDCC. It is free and opensource under GNU GPL. Currently it supports MCS51 family. AVR core, Z80, HC08 and XA are supported by UNIX version only. For the 8051, the recognized types are: 51, 8051, 8751, C51, 80C51, …

arm_logo

Why am I getting a FLEXlm -15 license error, even though my license server is running?

Answer If you get the following error message on your client when you try to use a licensed feature, even though your license server has definitely been started, then the communication between the server and client has probably been blocked. “<command line>”: Error: A1439E: Cannot obtain license for “<featurename>” with license …

assert

assert_param()

The objective of the above function is to check if critical condition is met. If not it would use a standard function to print out where assertion fail. This is very useful. You can turn the assertion off after thorough testing. 1. Uncomment USE_FULL_ASSERT in stm32f10x_conf.h /* Uncomment the line below …

Understanding Processor Architecture Machine and Assembly Language

Understanding Processor Architecture: Machine and Assembly Language The processor understands only the machine language, whose instructions consist of strings of 1s and 0s. Machine language is closely related to the assembly language. We prefer to use the assembly language rather than the machine language. Programming in the assembly language also …

P89V51 code SVN

P89V51 code SVN I have decided to open my small project on SDCC c code for P89V51. This project is open source. It is distributed under GNU General Public License. How to download? Use this command to anonymously check out the latest project source code svn checkout http://p89v51-sdcc.googlecode.com/svn/trunk/ p89v51-sdcc-read-only Or, …

Build Your Own ARM Cross Compiler Toolchain

Build Your Own ARM Cross Compiler Toolchain GNUARM is a set of open source GNU compiler for ARM microcontroller. The toolchain consists of the GNU binutils, GCC compiler set, Newlib and Insight, the graphical user interface to GNU debugger for Windows and Linux. This article will guide the building process …

8051 mcu von Neumann vs Harvard Architectures

8051 mcu, von Neumann vs Harvard Architectures We can classify computer architectures into two categories: von Neumann architecture: computers has a single, common memory space in which both program instructions and data are stored. There is a single internal data bus that fetches both instructions and data. They can not …

Microcontroller Programmer DIY

Microcontroller Programmer DIY I search about this issue for a while, “Building programmer of our own designs”. I found a few of open source programmer projects so that every body can use and contribute it. Here is an opportunity of learning the microcontroller programmer designs from that open schematics. Here …

Learn Embedded Linux with ARMulator

Learn Embedded Linux with ARMulator uClinux is an excellent way to study the embedded operating systems for an engineer, student, hobbyist, Linux-enthusiast. I am interested in Embedded Linux for ARM microcontroller. Before buying a new mcu evaluation board, there is a smart way to study the Embedded Linux. That is …

Microcontrollers and the GNU Public License GPL

Microcontrollers and the GNU Public License (GPL) Open Source software is released according to the terms of the GNU Public License, GPL. The GPL is intended to guarantee your rights to use, modify and copy the subject software. Along with the rights comes an obligation. If you modify and subsequently …

Linux for Embedded Systems

Linux for Embedded Systems For a microcontroller learner, Embedded System is a challenge. Linux are used as an operating system for the modern embedded devices. I am a one who are trying to study Linux on an embedded microcontroller, i.e., 8051 mcu and ARM. Let’s start together! This is a …

Understanding Processor Architecture RISC versus CISC

Understanding Processor Architecture: RISC versus CISC Popular processor designs can be broadly divided into two categories: Complex Instruction Set Computers (CISC) and Reduced Instruction Set Computers (RISC). The dominant processor in the PC market, Pentium, belongs to the CISC category. However, the recent trend is to use the RISC designs. …

ASEM51 stepbystep Installation on Windows XP

ASEM-51 step-by-step Installation on Windows XP Last time I wrote an installation for ASEM-51, a two-pass macro assembler for the Intel MCS-51 family of microcontrollers, using the batch file INSTALL.BAT. For someone who do not like anything that is running automatically, or things are not quite clear, here is an …

Learning Machine Code with 8bit Microcontrollers

Learning Machine Code with 8-bit Microcontrollers To understand deeply in processor architecture, we have to learn the Machine Code. I decide to select the 8051 microcontroller as a microprocessor model. A microcontroller (or MCU) is a computer-on-a-chip. They integrate many modules on one chip such as RAM, Flash memory, EEPROM, …