16 FX Port, first issue

ChibiOS public support forum for topics related to the Spansion 16Fx family of micro-controllers.

Moderator: logan54

Posts: 20
Joined: Tue Apr 01, 2014 5:59 am
Location: Austria

16 FX Port, first issue

Postby logan54 » Sat Sep 06, 2014 5:44 pm

Dear Forum,
Dear Giovanni,

I’m presenting a first port of ChibiOS 2.6 Line for the Spansion 16FX Architecture.
When adopting the scheduler I had to choose to use the hardware register set / switch instruction or use the conventional software way of pushing/poping registers during context switch.
In my Version of the scheduler I decided to use software way and keep the HW-Register set reserved for fast Interrupts. In my opinion the MCU Operating System should do its task in the background, which is also the reason why I’ve enabled fast HW-Interrupts during the context switch.
This port is based on former work of ChibiOS 16FX and the freeRTOS port for this architecture.

Attached is a first version of the port running on the 16FX Eval Board (http://www.spansion.com/products/microcontrollers/pages/tool-detail-sk-16fx-euroscope.aspx)
The required Softune Workbench can be requested from Spansion or your distributor.

This port is organized in three parts.
The first part is a Library which contains the kernel that is independent of the used 16FX derivate. The second part is an executable demo where the eval board counter will count up in a Thread, whereas a second thread will echo characters from serial port 1 (38400 bps, 8N1) of the eval board.
The third part also an executable demo which runs the Chibi Benchmark, where the output is also printed to serial port 1 (38400bps, 8N1).


16FX Port (first edition)
(693.52 KiB) Downloaded 87 times

Return to “16FX Support”

Who is online

Users browsing this forum: No registered users and 1 guest