Quality RTOS & Embedded Software

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


PIC32MX lwIP + FreeRTOS port success

Posted by Ake Hedman on November 26, 2008
Finally works. Great feeling! Thanks Richard for your always kind help!

I really like FreeRTOS and will definitly use it in more projects in the future. To get this working I needed a FreeRTOS heap set to 11000 bytes. That huge!!! lwIP have a heap of it's own of 1000 bytes and some buffers that take several K' also . A real memory eater. I will try to tweak this or else I have to abandon the hole thing and look for something else. Hate solutions (think Zigbee) where the infrastructure takes 95% of the resources leaving very little for the actual work task.

I have not done any investigations yet but but I can't understand what those 11000 bytes are used for (Richard?). I only have one tread for the simple web server + the ethernet driver thread and the TCP/IP thread. Oh well future investigations will show.

Any one wants the code it will be here http://www.mypic32.com/web/guest/contestantsprofiles?profileID=43308 from tomorrow or in the soure for the VSCP project http://www.vscp.org.

Thanks again Richard and keep up the good work!

RE: PIC32MX lwIP + FreeRTOS port success

Posted by Boseji on December 11, 2008

I was trying to port the OS for my project. But first I wanted to simulate it on the MPLAB SIM.

I am getting the Error as follows:
CORE-E0002: Exception due to misaligned word access, from instruction at 0x9d009c5c

I am not sure of what has gone wrong since I have taken demo PIC32 application and compiled it.

Kindly let me know.

Warm Regards,

My PIC32 Project: http://www.mypic32.com/web/guest/contestantsprofiles?profileID=32956

RE: PIC32MX lwIP + FreeRTOS port success

Posted by PICmeup on December 11, 2008
There is not yet a possibility to simulate PIC32 in MPLAB. Simple programs will be ok only.

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

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

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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