Sitemize Hoşgeldiniz sitemizin kuruluş sebebi Eğitim Öğretim Bilgilendirme amaçlıdır Site içerik ve kaynalar Çeşitli Web Sitelerinden Derlenmişolup Teylif Hakları Çerçevesinde Korunuyor Olabilir Şayet bugibi durumlarda lütfen Site Yönetimiyle İrtibata geçiniz Saygılar Hikmet TURNA

FreeRTOS on Mini-STM32

FreeRTOS Demo on Mini-STM32 kit (STM32F103RBT6 with 2.8" TFT LCD).


My initial attempt of porting the FreeRTOS Demo was considerably a success. But later on, I found out that the version used of STM32 standard peripheral library was already obsolete. And so I didn't anymore continue with that. In stead, I opt to use the latest Firmware version which is v3.2.0 (Mar-2010), and combine it with the latest FreeRTOS source code - v6.0.4.

It wasn't easy for me to start the Keil uVision project from scratch (almost). On the brighter side, I already got familiarized with STM32 code libraries because of this activity. It's mostly trial-and-error approach. But luckily I stepped into this guide of porting the FreeRTOS source: Running FreeRTOS on the Keil MCBSTM32 Board with the RVMDK Evaluation Tools

Here's the result. After few seconds of displaying the "Powered by FreeRTOS" message, the demo will now display the status of all tasks. If there's no error occurred, it will show "PASS" and the 'jitter' in the processing of timer interrupt (timertest.c). For the USART test (comtest.c), there's a "loopback" test of transmitted and received characters. Simply short the pins 2 and 3 (RX and TX) of CON1 in the Mini-STM32 board. Otherwise, it will show "ERROR IN COM TEST" message.

Source Code (Keil RVMDK + uVision 4): FreeRTOS on MINI-STM32.rar



06:40

Yorum Gönder

[blogger]

MKRdezign

İletişim Formu

Ad

E-posta *

Mesaj *

Blogger tarafından desteklenmektedir.
Javascript DisablePlease Enable Javascript To See All Widget