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




Loading

Eclipse LPC2368 webserver to work for LPC2378

Posted by tony on December 20, 2007
So I was able to build the LPC2368 webserver in Eclipse and go the RTOSDemo.hex. But I only got the LPC2378 eval board, I try to download to it anyway using flash magic, and after downloaded it does not seem to work as discribed.

Could anyone let me know if I need to do anything so that the webserver app can work with the LPC2378

Thank you

RE: Eclipse LPC2368 webserver to work for LPC2378

Posted by Dave on December 20, 2007
Is your board the same as the one on which the port was create, albeit with a different processor? Does the board have LED on the same IO pins? If so and once you are certain the LED works, then I suggest starting by editing main() so the only tasks that are created are the flash tasks. If this does not work, then the next thing to check is that the tick interrupt is actually running.

Did you also take note of the MAM issue? Many LPC23xx devices will not work if the MAM is enabled. This is a bug in the chip.

RE: Eclipse LPC2368 webserver to work for LPC2378

Posted by tony on December 20, 2007
* It should be the same board MCB2300 Rev 3.1 with the LPC2378 IC.
* LED are map to P2.0 to P2.7
* LED is not working

* where can I disable MAM?

RE: Eclipse LPC2368 webserver to work for LPC2378

Posted by Dave on December 20, 2007
I don't have the code with me at the moment but normally it would be in the function prvSetupHardware() in main.c. Try disabling the MAM then getting the LED working before adding in any FreeRTOS functionality.

RE: Eclipse LPC2368 webserver to work for LPC2378

Posted by tony on December 20, 2007
I have diable in the Main.c as shown below, and I still cannot get it working. Just wonder if you have a LPC2368 board, so that I can send you the HEX file and see if you could upload it onto your board

/* Setup and turn on the MAM. Three cycle access is used due to the fast
PLL used. It is possible faster overall performance could be obtained by
tuning the MAM and PLL settings. */
MAMCR = 0;
MAMTIM = mainMAM_TIM_3;
//MAMCR = mainMAM_MODE_FULL;

Thank Dave


[ 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