FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2007 Threads] 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 reaPosted 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?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|