博文

目前显示的是 七月, 2017的博文

Enable CFDP protocol transmit on ION-DTN

图片
CFDP (CCSDS File Delivery Protocol), another application-layer service that is not part of the DTN architecture but utilizes underlying DTN protocols. CFDP performs the segmentation, transmission, reception, reassembly, and delivery of files in a delay-tolerant manner. ION’s implementation of CFDP conforms to the “class 1” definition of the protocol in the CFDP standard, utilizing DTN (BP, nominally over LTP) as its “unitdata transport” layer. That is to say, CFDP is another application layer protocol based on the DTN protocol stack, which is mainly used for file transmission. So, how to open the protocol transport in ION? ION gives a test of the demo CFDP, located in the tests/cfdpv1 folder, you can see contains two nodes, that is the point to point to each other, first look at node 1, contains a lot of RC files and some startup files, as shown below: Among them, we are most concerned about is the ionstart file, because we all know that the DTN protocol is op

RTEMS USB support for BBB document

RTEMS-libbsd USB Support For BBB How to build RSB Create new folder sandbox="$PWD/sandbox" mkdir sandbox cd "$sandbox" Get RSB source code git clone git://git.rtems.org/rtems-source-builder.git Check the environment cd "$sandbox" cd rtems-source-builder/source-builder ./sb-check Configure and build RSB cd ../rtems ../source-builder/sb-set-builder --prefix="$sandbox/rtems-4.12" 4.12/rtems-arm How to build RTEMS Get RTEMS source code git clone git://git.rtems.org/rtems.git Configure and build RTEMS for BBB BSP cd "$sandbox" cd rtems PATH="$sandbox/rtems-4.12/bin:$PATH" ./bootstrap; ./bootstrap -p cd "$sandbox" mkdir BBB_install cd BBB_install PATH="$sandbox/rtems-4.12/bin:$PATH" "$sandbox/rtems/configure" \ --target=arm-rtems4.12 --prefix="$sandbox/rtems-4.12" \ --disable-networking --enable-rtemsbsp=beagleboneblack PATH="$sandbox/rtem

Implemention of RTEMS-libbsd FDT support for BBB

The previous blog article describes how to implement FDT on RTEMS. This article will show you how to implement FDT support on RTEMS-libbsd. The implementation of the rtems-libbsd management bus is in the nexus-devices.h file, that is, rtemsbsd/include/bsp/nexus-devices.h /*    * Copyright (c) 2013-2015 embedded brains GmbH.  All rights reserved.    *    *  embedded brains GmbH    *  Dornierstr. 4    *  82178 Puchheim    *  Germany    *  <rtems@embedded-brains.de>    *    * Copyright (c) 2016 Chris Johns <chrisj@rtems.org> All rights reserved.    *    * Redistribution and use in source and binary forms, with or without    * modification, are permitted provided that the following conditions    * are met:    * 1. Redistributions of source code must retain the above copyright    *    notice, this list of conditions and the following disclaimer.    * 2. Redistributions in binary form must reproduce the above copyright    *    notice, this list of cond