Wednesday, April 7, 2010

My 2nd Visit to Anzma

About the Visit


My visit, this time, was more focused on uCOS-II. I challenged their students to finish a 4-hours lab based on the example, I developed earlier. The goal was to finish the lab in 4 hours and with maximum 8 questions. They were 5 students. Amazingly, the first finished his work after 2 hours only. It ran successfully from the first time. Other 3 students finished after 3 hours and half while the last finished just before the given time.


It was a great transition for the students and they gain confidence in themselves to code in a multi-task style. They proved the effectiveness and efficiency of Anzma's RTOS courses. In less than 16 hours, students were able to program a real application using uCOS-II.


Figure 1 shows me and the students after finishing the lab.

Figure 1: From the left to the right (Khaled, Ahmed, Me, Islam, Ahmed, and finally the champ Ibrahim)

Saturday, April 3, 2010

Another Gift from Micro4you

About Micro4you

Micro4you studio is an established engineering design house in Thailand. Mirco4you was established in 2005. I had good connections with its CEO. We knew each other through www.edaboard.com; the famous forum for electrical and electronic engineering.

Micro4you sells cheap electronic components that proved to be useful for embedded engineers; especially these with low experience. Micro4you sells development boards, sensors, debuggers, peripheral boards …

Why Micro4you Did Send me the Gift?

After I sent Somboon Sopee, Micro4you CEO, the uCOS-II example I developed for Anzma, he tested it on the same board. The code ran successfully with no problems. He liked it and decided to send me gifts from his shop from a time to time. In return, he wants me to run examples using his stuff and publish them on my blog.

About the Gift

On April 3rd, 2010, I received a nice board. This boardcan be found here. Figure 1 shows this board.

Figure 1: STM32 Board with 2.8" TFT Module

On-board resources:

  • CPU: STM32F103RBT6; (LQFP64-pin, on-chip integrated 128K flash, 20KRAM, 16Bit A / D; PWM, CAN, USB and other resources)
  • 2.8-inch TFT true color touch screen module, color touch module configuration ADS7843 (or RSM1843 instead) controller
  • SD card (SPI mode) can be used to store pictures, in support of AT45DBxxx of a DATA FLASH (can be used for storage)
  • USB interface, make USB experiment
  • RS232 interface (ISP download), make RS232 communicate experiment
  • AD adjuster
  • Standard ARM JTAG 20 pin
  • RTC
  • Four users LED lights, a power indicator light, a USB communication indicator
  • Two user keys
  • 8MHz crystal, 32.768KHz crystal
  • USB power supply or power supply by JLINK
  • All I / O port through the standard pitch leads 2.54MM Board Size: 82MM X 55MM

Board software:

  • MDK 3.5 fully licensed
  • JLink for ARM 4.06
  • Complete STM32 documentation of the firmware library
  • Image2LCD for converting jpeg images to data that the LCD can understand
  • Board documentation, schematics, data sheets…
  • Test software for the board peripherals
  • uCOS-II and uC/GUI ported to the board with a demo
  • USB library with different demos to show how to use the USB port to control an audio speaker, joystick mouse, mass storage, virtual com…

What to Do with the Gift?

To start, I have to test the Colink cable with the board and download different demos to get started with it. A big problem, I face, is that everything on the CD is Chinese!!!

Somboon must be kidding :)


Sunday, March 28, 2010

Running uCOS-II with Microsoft Windows

uCOS-II Win32 Simulation with Windows
Most of the previous tests of the Win32 ports were never done, until writing this document, with Windows Vista and Windows 7. Lately, I have tested the previous work I have done in here and here on Windows 7 and Windows XP. It worked successfully on Windows 7 and Windows XP.

Wednesday, March 17, 2010

A Gift from Micro4you

About Micro4you

Micro4you studio is an established engineering design house in Thailand. Mirco4you was established in 2005. I had good connections with its CEO. We knew each other through www.edaboard.com; the famous forum for electrical and electronic engineering.

Micro4you sells cheap electronic components that proved to be useful for embedded engineers; especially these with low experience. Micro4you sells development boards, sensors, debuggers, peripheral boards …

Why Micro4you Did Send me the Gift?

After I sent Somboon Sopee, Micro4you CEO, the uCOS-II example I developed for Anzma, he tested it on the same board. The code ran successfully with no problems. He liked it and decided to send me gifts from his shop from a time to time. In return, he wants me to run examples using his stuff and publish them on my blog.

About the Gift

On March 2nd2010, I received a Colink ARM USB JTAG cable. This cable can be found here. Figure 1 shows this cable.

Figure 1: Colink ARM USB JTAG Cable

Colink is a small ARM Cortex M3 JTAG hardware debugging probe developed by CooCox. Colink directly supports CooCox CoDebugger and CooCox CoFlash. CooCox Colink integrates seamlessly into IAR Embedded Workbench, Keil RealView MDK.

What to Do with the Gift?

I guess the best example to demo this tool is to use. In the next few days, I will show my friends how to integrate Colink support within Keil RealView MDK and use it to download and debug the example I developed earlier.


Thursday, March 11, 2010

Tuesday, March 9, 2010