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

Olimex SAM7EX256 and FreeRtos

Posted by JMA on February 24, 2009
Hi,

Olimex has an eval board called SAM7EX256 and they promote freertos. I have the board and have downloaded the freertos version 5.1.2. It turns out that Olimex have a code example that is based on freertos version 4.0.2.As the Olimex changes done to version 4.0.2 appeared to be minimal. I attempted to include the changes in version 5.1.2.

The web server page comes up but the network statistics page shows many dropped packages.

I was curious to see if you have any recommendation for what version I should use?

My compile environment is set up with Eclipse and Yagarto. The evaluation is almost working so it may be a minor detail or it could be related to that I am not using the best version for the compiler setup. Have you heard about a similar problem before and if so what did it relate to?

My changes to 5.1.2 are minimal, namely PHY_ID, powerdown bit inversion and PHY address. In addition I adjusted the clock value to 48.054857Mhz.

I see that some Makefiles are using arm_source only and others thumb_arm mixed. Could this relate to the problem with dropped packages?

Thanks!
JMA

RE: Olimex SAM7EX256 and FreeRtos

Posted by Dave on February 25, 2009
ARM or Thumb mode should not make any difference.

Its always best to use the latest version, but I don't think this will make any difference to the dropped packets you are seeing.

Can you step through the code to see why the packets are being dropped, you can search for the code that increments the drop statistic, place a break point there, then work backwards to find the reason? Is there a heavy traffic load on the network.?

RE: Olimex SAM7EX256 and FreeRtos

Posted by JMA on February 26, 2009
I did a quick test by placing a function call to "abc(int a){tm=a;}" at each place "++uip_stat.ip.drop" is done in uip.c. ( tm is a "volatile int tm";)

Then placed a breakpoint on abc....the app never stops but the "uip_stat.ip.drop" does increment.

I also noted that the stat page in the web browser has a number in the right column that is one line above the first text line in the left column...and one extra number below the last left text line. (24 text lines and 26 numbers)

No load on the network. Could be a stack problem....any thoughts?


[ 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