Quality RTOS & Embedded Software

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


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