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

OT: Dynamically loading modules

Posted by Nobody/Anonymous on June 25, 2006
Hello all FreeRTOS users,

I'm about to start my little project for developing an AVL (Automated Vehicle Location) solution using the LPC2106.

Do you know of a way to dynamically load a module from an SD card? The reason for this is detailed below and it's all about software maintenance.

After we will develop the hardware and the software, the device will be shipped to customers.
What will happen if I found a bug in my little piece of software I've written? Fix the bug and update firmware on each device. Easy, huh? NOT!

For the first testing phase, we'll equip around 10 vehicles which will be spread all over the country. This means that I have to wait for each vehicle to arrive at a central location to update it's software. That's more or less ok for 10 vehicles. What about for 100? Or 500? Updating software might become a nightmare for me!

I need a way to update the microcontroller software via Internet/GPRS (the device will be equipped with a GPRS module).

I've seen such code in ecos but it only works (currently) with PowerPC. And my fear is that ecos is just too big for LPC2106. However, I'm pretty amazed of how easy is in ecos to load a module: just compile a .c file which contains your logic and upload the .a obtained to the device. There, that file can be saved on an SD card and loaded from there. EASY!

Thanks.
George.

RE: OT: Dynamically loading modules

Posted by Nobody/Anonymous on June 26, 2006
There are some open source sd card drivers around. Richard has mentioned before having a web server running on a sam7x with sd card interface.

On the lpc look up IAR (in application programming?). Its not dynamic linking but might do what you want.


[ 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