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

Serial file transfers to/from FreeRTOS FAT filesystem on a NXP K24F based board.

Posted by pwfurey on January 26, 2017

My project uses the following: 1.) A NXP MK24FN1M0VLL12 based board. 2.) Kinetis Design Studio IDE v3.2 and Kinetis Software Development Kit (SDK2.0MK24FN1M0xxx12) 3.) FreeRTOS v8.2.3

My board doesn't have an ethernet port so I am limited to transfering files to/from the FreeRTOS FAT filesystem via a serial console. I've searched both the NXP forums and the FreeRTOS forum and other places on the best way to do this without finding much on the topic. To date, the best option I've found is to port the Zmodem protocol code lrzsz-0.12.20 from https://ohse.de/uwe/software/lrzsz.html. This looks like a somewhat painful approach to solving my file transfer problem. Does anyone know of a better approach to transferring files? Much thanks in advance, Peter


Serial file transfers to/from FreeRTOS FAT filesystem on a NXP K24F based board.

Posted by rtel on January 27, 2017

Its a long time since I've done something like that, but as I recall there were a few basic protocols around. You mention zmodem already, but also xmodem (don't remember what the difference is). You only really need to use one of those protocols if you don't control the software that is sending though. For example, if you are using an off-the-shelf terminal to send the file then you will have to comply with whatever protocol the terminal uses whereas if you are writing the software that sends the file you can use whatever protocol you like.


[ 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