Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

Freescale HCS12X port

Posted by Geza Balazs on December 24, 2010
Hi all,
Is the HCS12 port compatible with HCS12X processor cores? For instance the MC9S12XDP512MAG device?
Thanks,
Geza

RE: Freescale HCS12X port

Posted by Markus Krug on December 29, 2010
Hi,

as far as I know there is one major difference between the HCS12 and HCS12X. The pushed and popped values from the stack has a size of 1 Byte for the HCS12 and 2 Byte for the HCS12X.

Best Regards
Markus

RE: Freescale HCS12X port

Posted by David Harper on January 4, 2011
check out the unsupported ports/Freescale section of the freertos site. there is a hcs12/12X port.

i am trying to get it to work right now myself, but it will compile properly with
 -D__HCS12X__
flag set in the linker or compiler command line options (using code warriror of course) . the official HCS12 demo would not compile after much effort.

right now i am having problems with my ISRs not being called in CW which is not incrementing ticks. so i can only get one task to run constantly ;-P

let me know if you get processor expert to work with the ISRs setup in the unofficial port, i am pretty new to this but i hope it helps.

RE: Freescale HCS12X port

Posted by David Harper on February 15, 2011
I found the problem that prevents the demo to run for me anyways.

processor expert continually sets TIOS=0b10000001

set TIOS=0b00000001 and everything works.

to maintain compatibility with processor expert I use this command in the startup code
clrREG(TIOS, 128);


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists