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


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 ]    [ 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