Quality RTOS & Embedded Software

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


make LPC2368 webserver

Posted by tony on January 3, 2008
I am trying make the LPC2368 webserver projects using Eclipse and as well "make". I successfully get .hex file in both senerio but once I download it to my LPC2300 board through the serial port using "flashmagic", the LCD does not shown as "PASS" and all the LEDs remained lid.

I also try to disable MAM and it remain the same. I have the lastest GNU Make 3.81, and arm-elf-gcc (GCC) 4.2.2.

RE: make LPC2368 webserver

Posted by Richard on January 5, 2008
Do you have a debugger interface?


RE: make LPC2368 webserver

Posted by tony on January 7, 2008
Hi Richard,

I also try to run JTAG but it give me the following error message:

Info: openocd.c:93 main(): Open On-Chip Debugger (2007-12-30 17:00 CET) svn:247
Info: openocd.c:94 main(): $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
Info: jtag.c:1291 jtag_examine_chain(): JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Warning: embeddedice.c:175 embeddedice_build_reg_cache(): EmbeddedICE version 7 detected, EmbeddedICE handling might be broken
Warning: arm7_9_common.c:742 arm7_9_assert_reset(): srst resets test logic, too
Warning: arm7_9_common.c:941 arm7_9_halt(): target was already halted

RE: make LPC2368 webserver

Posted by Dave on January 7, 2008
There are some warnings there but I dont think any errors. Looks like the interface is working but when it tried to stop the processor it was already stopped. It should get past that though.

RE: make LPC2368 webserver

Posted by Gea on January 11, 2008

I don't know if this might help.

I had similar problems and I have altered 2 things in order to get it to work:

1. Changed the mainCPU_CLK_DIV to 4 as well as the configCPU_CLOCK_HZ to 48Mhz (main.c).
2. Changed the PINSEL2 = 0x50150105; in (emac.c; row 131).

After I did this it worked. I'm using a B version chip.

RE: make LPC2368 webserver

Posted by Bruce Sutherland on January 21, 2008

I think possibly you meant mainCPU_CLK_DIV = 3. This should produce a clock of 48MHz.

The LPC2368 manual states:

"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."

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

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

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

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

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


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

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