Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Regarding MC9S12C32 demo application

Posted by Nobody/Anonymous on June 6, 2005
I tried to download the demo app for MC9S12C32 into MC9S12DP256 controller.The download seemed to be successful but I was not able to put breakpoints or run the application.Do I need to change any configuration related files for downloading the app into this controller.

RE: Regarding MC9S12C32 demo application

Posted by Richard on June 6, 2005
I have not tried the code on a larger processor yet as at the moment I only have the ’32 hardware. I will shortly be receiving some ‘256 hardware and will be producing a supported port for that platform that also supports banked memory models.

In the mean time I have just tried running the existing port in the simulator (small memory model only) having changed the processor to a ‘256 and it seems to execute ok.

To do this I:

+ Opened the existing project.

+ From the ‘Processor Expert’ menu item selected ‘Open Processor Expert for project RTOSDemo”.

+ In the bean selector window – double clicked on ‘CPU->Motorola->HCS12->DP->MC9S12DP256’. This adds the cpu bean to the project.

+ In the project window, under the Processor Expert tab, right click on the CPU->’256 bean that was just added and select ‘Select CPU as Target’ from the pop up menu.

+ Double click on the same item in the project window to bring up the bean inspector for the CPU. In the bean inspector go to the Build Options tab and change the memory model option to ‘small’.

+ Next in the project window go to the ‘beans->ButtonInterrupt’ bean – double click to show the bean in the bean inspector. You will see that an error is shown because the IO pin used for the button is not valid on the ‘256 processor. Select another pin.


Now the project will build and should execute. You will have to let the vectors.c file to get overwritten – then update the overwritten file as per the “copy of vectors.c” file that is included in the download. If you don’t do this the RTOS tick will not fire.

Hope to be more helpful when the new hardware arrives. Then I will be able to give you the source code.

Regards.


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


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Careers

FreeRTOS and other embedded software careers at AWS.


Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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

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

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner