Quality RTOS & Embedded Software

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




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) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 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