C-Usercode on FRC-EP1x0 From zero to own usercode in 10 steps

Slides:



Advertisements
Similar presentations
Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff.
Advertisements

Introduction to HT-IDE3000 Micro-C development System Department.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Remote Surveillance Vehicle Design Review By: Bill Burgdorf Tom Fisher Eleni Binopolus-Rumayor.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Android Application Development 2013 PClassic Chris Murphy 1.
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
1 Version 3.1 Module 4 Learning About Other Devices.
1 3-Software Design Basics in Embedded Systems. 2 Development Environment Development processor  The processor on which we write and debug our programs.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 7 OS System Structure.
Eclipse EHX System Diagnostic tools. DIAGNOSTIC TOOLS IN EHX.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
Simulink  ? 1 Simulink  ( Simu lation and Link ) is an extension of Matlab Offers modeling, simulation, and analysis of dynamical systems; i.e., a system.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
1 Terminal Management System Usage Overview Document Version 1.1.
Debugging RTC CLI in Eclipse
Luis Gomez, Principal SW Test Engineer, Brocade
Network Concepts.
Software Development Environment
Eclipse EHX System Diagnostic tools
Introduction to Vivado
ILife App.
Chapter 2: The Visual Studio .NET Development Environment
Project Management: Messages
Prototyping SoC-based Gate Drive Logic for Power Convertors by Generating code from Simulink models. Researchers Rounak Siddaiah, Graduate Student-University.
Monitoring systems COMET types MS55 & MS6
Project Target Develop a Web Based Management software suit that will enable users to control Hardware using standard HTTP & Java Applet compatible web.
Collect and share knowledge
Lab 1: Using NIOS II processor for code execution on FPGA
Eclipse EHX System Logic Maestro
What is Apertis? Apertis is a versatile open source infrastructure tailored to the automotive needs and fit for a wide variety of electronic devices.
Over the Air Download Peripheral Device Central Device Slave Master
Obtaining the Required Tools
Instructor Materials Chapter 5: Ethernet
ITEA3 Project: ACOSAR Advanced Co-Simulation Open System Architecture
Haiwell PLC Modules Introduce
Android.
Introduction Purpose Objectives Content Learning Time
Chapter 2: System Structures
Chapter 6 Delivery & Forwarding of IP Packets
90-30 DeviceNet configuration
PRU-ICSS Programming with CCS
Building a Wireless Recomposible and Reconfigurable Embedded System
RAILWAY TRACK SNAP NOTIFICATION
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
Getting Started with Programmable Logic
Siemens Step 7 Project with Controllere in 7 Steps: Step 1
Mobile Application Development with MeeGo™ - Programming with SDK
Mixed Reality Server under Robot Operating System
Implementing an OpenFlow Switch on the NetFPGA platform
Training Module Introduction to the TB9100/P25 CG/P25 TAG Customer Service Software (CSS) Describes Release 3.95 for Trunked TB9100 and P25 TAG Release.
Software Setup & Validation
Open Automation Software
Workshop GPIO I2C SPI Panic1 woensdag 10 april 2019.
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Ch 17 - Binding Protocol Addresses
Code Composer Essentials 3.0
Overview of System Development for Windows CE.NET
Topics for Discussion About How to Install Garmin Express? How to Register Garmin Device? Benefits of Garmin Express. Contact info.
Presentation transcript:

C-Usercode on FRC-EP1x0 From zero to own usercode in 10 steps Heiko Krautter, PM Automotive hekr@hms-networks.de 12.04.2018, V1.0

C-Usercode on FRC-EP1x0 Introduction FRC-EP1x0 based configurations can be extend by own C-Code The C-Code is not hosted directly on the operating system In the HMS case, C-Code is hosted on top of a gateway application The gateway controls the fieldbusses (ID1x), i.e. CAN, CAN-FD, LIN, … The C-Code is connected to the gateway by means of a “virtual” bus (ID2x in the picture) The data relevant for the C-Code is routed by the gateway via this “virtual” bus The calculation results are also sent back to the gateway via this bus The data is then forwarded to the field bus or to the Residual Bus Simulation (RBS) C- Usercode

C-Usercode on FRC-EP1x0 Benefits Not hosting the model directly on the OS has the following benefits: Fieldbus setup/control needs not to be done by the C-Code Cyclic message transmitting needs not to be controlled by the C-Code All data which doesn’t need the help of the module bypasses the C-Code The module is unloaded from RBS functions (CRC calculation, Message Counters, …) Signal extraction out of the messages is done by the gateway In fact the… … gateway/RBS concentrates on the communication simulation … the C-Code concentrates on the functional simulation/signal manipulation The gateway/RBS functionality is very easily configured by a PC based tool (ACT)

C-Usercode on FRC-EP1x0 What is needed ? To create own C-Code extended configurations the following topics are needed A Windows PC needed for the configuration FRC-EP170/190 Embedded platform device Automotive Configuration Tool (ACT) Bus description files for the fieldbusses The HMS ACT-Tool SDK (software development kit) extension The PC provided by HMS The SDK comes with a Eclipse based debugging environment

C-Usercode on FRC-EP1x0 How to ? The following charts shall visualize how own C-Code is created To show this, the following “virtual” use case shall implemented: A electronic control unit (ECU) shall be connected to a vehicle Most Frames and signals do fit for the vehicle, but… … the vehicle uses 500kBit/s whereas the ECU runs at 250kBit/s … the message ID’s don’t fit … the ECU needs the speed of the car in miles/h and not in km/h The ECU shall be operated in the moving vehicle without the aid of a PC (standalone) So … … the signals “fitting” shall be provided by means of a CAN2CAN Gateway … the signals which need to be calculated shall be routed via the C-Code module This is only a easy example, in reality much more can be done by GW and C-Code

C-Usercode on FRC-EP1x0 Bus description files CANdB 1 (of Vehicle) CANdB 2 (of ECU)

C-Usercode on FRC-EP1x0 Step 1 Start ACT on the PC and create a new configuration File → new Project Select the desired platform device

C-Usercode on FRC-EP1x0 Step 2 Add the bus description files to CAN1 and CAN2 and adjust CAN1 bitrate Click to add bus descriptions Click to modify bus settings

C-Usercode on FRC-EP1x0 Step 3 Add the “virtual” C-Usercode bus to the configuration Click to add the bus Select from drop-down list

C-Usercode on FRC-EP1x0 Step 4 Route all fitting signals from CAN1 to CAN2 and vice versa Use drag & drop to create the message/signal mappings from source to destination

C-Usercode on FRC-EP1x0 Step 5 Route all the signals to be calculated to the MATLAB-Bus via drag & drop

C-Usercode on FRC-EP1x0 Step 6 Execute Build Configuration Use Build → Build Configuration

C-Usercode on FRC-EP1x0 Step 7 Add the desired functionality to the automatically created Eclipse base module Eclipse is automatically started and the base module created Only the manipulation needs to be added

C-Usercode on FRC-EP1x0 Step 8 Close Eclipse and finalize the configuration build ACT did wait for terminating Eclipse and is then compiling/linking the generated C-Files

C-Usercode on FRC-EP1x0 Step 9 Download and start the created configuration to the FRC-Device Build → Download configuration to target device Use to store the config persistent Select to immediately start the model

C-Usercode on FRC-EP1x0 Optional step 10 Debug your code (if needed) Define breakpoints and step through your code Project → Bus Configuration Use to start the remote debugger After fixing potential problems, rebuild the configuration and download to the FRC

C-Usercode on FRC-EP1x0 Ready !

Thanks for listening! www.hms-networks.com