Quality RTOS & Embedded Software

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


Loading

LPC2368 gcc eclipse unstable possible reason?

Posted by Gea on December 12, 2007
The user manula says the following regarding the CCLKSEL bits in the CCLKCFG register:

Selects the divide value for creating the CPU clock (CCLK) from the
PLL output.
Only 0 and odd values (1, 3, 5, ..., 255) are supported and can be
used when programming the CCLKSEL bits.
Warning: Using an even value (2, 4, 6, ..., 254) when setting the
CCLKSEL bits may result in incorrect operation of the device.

Yet the eclipse demo application states a value of 4 this must be incorrect?

RE: LPC2368 gcc eclipse unstable possible rea

Posted by Ben on December 13, 2007
You are right, CCLKSEL must be an odd number.
Have you read the lpc2368 errata about the MAM, that may be the source of your stability.
I have a board that has been running with a few threads, and have seen no stability problems so far.
I have the MAM disabled at the moment. There is also some posts on the forum about it as well I think.

Ben


RE: LPC2368 gcc eclipse unstable possible reason?

Posted by Gea on December 13, 2007
Yes a have disabled the MAM and my system is now stable. Did you notice the possible error in the .ld file see my other thread posted before this.
The .bss region was declared from the RAM 0x40000000 to 0x7e00000. That can't be right?

Have you had the same problem?


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



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

Renesas

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