Freescale MQX and Tower System RTOS - Getting Started (Part 4)

Size: px
Start display at page:

Download "Freescale MQX and Tower System RTOS - Getting Started (Part 4)"

Transcription

1 June 24, 2010 Freescale MQX and Tower System RTOS - Getting Started (Part 4) FTF-ENT-F0722 Craig Honegger - President Derek Snell Field Application Engineer Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc.

2 Introduction This course covers TCP/IP and USB connectivity concepts using the Freescale MQX RTOS (Real-Time Operating System). Most embedded products use some level of connectivity for a variety of reasons: Communication with other embedded devices or computers Providing a user interface Downloading of diagnostic information Updating of the application image With the concepts presented in this session you will be able to add connectivity to your products to increase their value to your customers, increase their maintainability, and to make development easier. Presenters: Craig Honegger, President, Embedded Access Inc Craig.Honegger@Embedded-Access.com Derek Snell, Field Application Engineer, Freescale Semiconductor Inc Derek.Snell@Freescale.com Session duration is 3 hours Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 2

3 Session Objectives After completing this session you will be able to: Configure and initialize RTCS Use the socket API to create TCP and UDP connections Use the HTTP Web Server to serve dynamic data in a web page Configure and initialize the USB Host Stack Use the USB Host Stack with various Class Drivers Configure and initialize the USB Device Stack Use the USB Device Stack with various Class Drivers Use the MFS File System with the USB Host Stack RTCS Real-Time TCP/IP Communications Suite API Application Programming Interface TCP Transmission Control Protocol UDP User Datagram Protocol USB Universal Serial Bus MFS MS-Dos File System Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 3

4 Agenda 1. Network Concepts 2. Freescale RTCS Initialization & Configuration Interface Initialization Socket API Application Layer Protocols HTTP Web Server 3. Freescale USB Host Stack Initialization Using the Host Stack with Class Drivers 4. Freescale USB Device Stack Initialization Using the Device Stack with Class Drivers 5. Freescale MFS File System Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 4

5 Introduction to RTCS Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 5

6 TCP/IP Stack designed for embedded processors Uses standard socket interface Extensive list of Application Layer Protocols Scalable at compile time and/or run-time: Only used protocols are included Data requirements are tunable Protocol behavior is controllable Integrated with CodeWarrior to provide TCP/IP-aware debugging Standard release across all processors Integrated with a number of 3rd party optional packages RTCS Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 6

7 RTCS Protocols RPC SSH* XML* SMTP* POP3* SNMP XDR Telnet FTP TFTP HTTP DNS SNTP Sockets SSL* BootP DHCP RIP ICMP TCP UDP IGMP NAT** IP IP-E IPCP PAP CHAP CCP LCP ARP PPP * Optional third party package ** On request Ethernet Serial PPPoE** HDLC Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 7

8 RTCS Architecture Application Task Application Task FTP Server FTP Client HTTP Server SNTP Client SNMP Agent Telnet Client Telnet Server DHCP Server Application Task RTCS API TCP UDP ICMP IP IP-E ARP IGMP TCP/IP Task RTCS Serial ADC I2C Enet MQX Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 8

9 RTCS Directory Structure Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 9

10 Initializing RTCS Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 10

11 RTCS Initialization Sequence Create RTCS by calling RTCS_create() Initialize Interface(s) Assign MAC addresses Bind RTCS to Interface Assign IP address, subnet mask Initialize RTCS Applications RTCS API TCP/IP Task RTCS Apps RTCS Enet MQX Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 11

12 RTCS Initialization Sample Code Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 12

13 Socket API Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 13

14 Sockets Data transfer is done with sockets. A socket is one endpoint of a two-way communication link. Socket defines: Protocol Local IP address and port # Remote IP address and port # RTCS supports TCP and UDP sockets Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 14

15 Creating and using sockets Bound to datagram (UDP) recvfrom() sendto() Unbound socket() bind() connect() Bound to stream (TCP) listen() accept() send() recv() select() getsockopt() setsockopt() shutdown () Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 15

16 Using sockets Sample code Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 16

17 RTCS Configuration Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 17

18 Socket Options Socket options can be set to override default socket behavior using setsockopt(): value = 256; setsockopt(listensock,sol_tcp, OPT_TBSIZE, &value, sizeof(value)); Socket options that can be set include: Window Sizes Various timeouts Blocking vs. non-blocking mode Send and receive push flags Some options must be set before socket is bound For memory constrained applications, it will be necessary to override a few defaults Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 18

19 Close to 100 compile time configuration settings Compile Time Configuration Defaults set in RTCSCFG.H, overridden by user_config.h Each protocol can be individually enabled/disabled Protocol statistics can be individually enabled/disabled Level of error checking performed is configurable Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 19

20 Allows dynamic control of RTCS, including: RTCS task priority and stack size RTCS memory allocation (where, how much) Enabled protocols and protocol behavior Socket behavior Run-Time Configuration Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 20

21 Application Layer Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 21

22 RTCS Application Layer Protocols Telnet Server FTP Server TFTP Server DHCP Server HTTP Server IPCFG Telnet Client FTP Client TFTP Client DHCP Client DNS Resolver SNMP Agent SNTP Client RTCS API TCP/IP Task RTCS MQX Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 22

23 HTTP Server Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 23

24 HTTP 1.1 with persistent connections PUT and GET Methods Form decoding HTTP Server Support for multiple virtual WEB folders, with custom WEB folder path mapping to file system paths. Static filesystem content: pages, images, multimedia, Java archives Dynamic page content, suitable for AJAX applications. CGI-like, dynamic content pages ASP-like, in-page placeholders Basic authentication Integrated with MQX I/O subsystem, MFS and TFS Runs as: Single task servicing multiple sessions One task per session Polled mode Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 24

25 Web Page Sources HTTP Client HTTP Server CGI Table CGI TFS MQX I/O Subsystem MFS USB CF Others FN Table CGI fn fn SD etc Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 25

26 HTTP Server Initialization Include tfs.h, httpd.h and httpd_types.h Declare CGI and Function callback tables, if required Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 26

27 HTTP Server Initialization Install Filesystem Initialize HTTP server, specify root directory and home page Register CGI table and function callback table, if required Start server Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 27

28 More Information Demos: Telnet Server Web server SNTP* SMTP with sockets* DNS Resolution* DHCP Client* Digital Sign** RTCS User s Guide *MCF51CN demos only, ** MPC5125 demo only Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 28

29 Hands-On Lab Part 1 Learn to: Initialize RTCS Initialize HTTP Server Setup TFS to store web pages in internal flash Customize look of the Web Server Add form input for controlling Tower System Hardware (LEDs) Add CGI for obtaining Tower System Inputs (Switches) Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 29

30 MQX USB Host Stack Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 30

31 Introduction MQX USB Stack Features Implements USB 2.0 version Layered architecture: Scalability (choose only components needed in application.) Portability (class drivers independent on underlying hardware.) Class drivers supported: HID devices (mouse, keyboard) MSD devices (flash disk) HUB support (transparent communication through HUB) CDC devices (serial communication) Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 31

32 MQX USB Host Structure User Application MFS Others to be developed Intermediat e I/O Drivers MSD HID CDC Host Class Drivers HUB HOST API (class level) Hardware Independent Layer USB 2.0 Chapter 9 API OS and HW-level HOST API KHCI (Kirin2U/Kirin3- specific controller) EHCI (Enhanced Host Controller Interface) USB Module (low-level drivers) Other (OHCI,...) Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 32

33 KHCI MQX USB Host Low-level Drivers MCF522xx-specific USB controller (codename Kirin host controller) Max. 12 Mbps (no support for high speed) Physical transfer done by HW, DMA Scheduling of transfers done by SW USB transactions handled by SW Requires separate task (khci_task), requires higher CPU load Does not handle any service (handled in app callback instead) EHCI Enhanced Host Controller Interface (industry standard) ColdFire extends the specification (registers also contain bits that are not specified by EHCI standard) Runs on interrupts / application requests USB transactions handled by HW, DMA Small CPU load Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 33

34 Initializing USB Host Stack Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 34

35 Host Application Initialization Install low-level host driver using _usb_host_driver_install Registers low-level HCI driver routines in the USB stack. Low-level driver routines are prepared for each HCI (KHCI, EHCI,..). Always use _bsp_usb_host_callback_table as an argument Initialize host _usb_host_init Initializes host, prepares memory buffers and structures Register device classes in the USB host stack Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 35

36 Defining Driver Capabilities Driver capabilities are defined by USB_HOST_DRIVER_INFO Specifies a user callback function that will be called when a device matching the specified criteria is attached. /* Information for one class or device driver */ typedef struct driver_info { uint_8 idvendor[2]; /* Vendor ID per USB-IF */ uint_8 idproduct[2]; /* Product ID per manufacturer */ uint_8 bdeviceclass; /* Class code, 0xFF if any */ uint_8 bdevicesubclass; /* Sub-Class code, 0xFF if any */ uint_8 bdeviceprotocol; /* Protocol, 0xFF if any */ uint_8 reserved; /* Alignment padding */ event_callback attach_call; } USB_HOST_DRIVER_INFO, _PTR_ USB_HOST_DRIVER_INFO_PTR; Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 36

37 The usb_classes.h file is part of your application. Defining Class Drivers This file enables selected device enumeration and class drivers in the USB Host Stack. Use USBCLASS_INC_XXX definitions to enable classes for the device /* uncomment macro definition for class drivers you want to use in the application */ //#define USBCLASS_INC_HID #define USBCLASS_INC_MASS // #define USBCLASS_INC_CDC // #define USBCLASS_INC_PRINTER #define USBCLASS_INC_HUB Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 37

38 Host Application Example Write your device callback function Four event types should be handled in this function: USB_ATTACH_EVENT called after device was attached USB_CONFIG_EVENT called after device was configured USB_INTF_EVENT called after device was interfaced USB_DETACH_EVENT called after device was detached Enumeration, attach, detach, and configuration events are processed by Chapter 9 sublayer of the USB Stack. No special actions are needed in the handler except: Select interface with _usb_hostdev_select_interface after the ATTACH event (where DEV_STATE==USB_DEVICE_ATTACHED) Remember actual state of the device together with handles for further processing in application. After INTF event, the application may communicate with the device using pipes. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 38

39 MQX USB Device Stack Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 39

40 USB Device Stack Features All USB-IF chapter 9 compliance USB Class support: Human Interface Device (HID) Communication Data Class Abstract Control Model (CDC ACM) PHDC (Personal Health Care Device Class) MSD (Mass Storage Device) Demo applications available: Mouse USB to Serial USB Network Adapter Weigh Scale (IEEE , IEEE ) RAM Disk Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 40

41 Architecture Overview Applications Mouse Medical Communication Storage Class API USB Device Stack Library HID PHDC CDC MSD mcf5229x mcf54455 Device Layer Low level driver V2 USB IP V4 USB IP USB IP Device API Controller API HW Register IF Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 41

42 Device Layers Application Class Device Layer - USB Descriptors, endpoint information - USB Application implementing class specific callbacks - USB Class API user - USB Framework Module implementation (USB Ch9, Control Endpoint ) - USB generic class implementation (Suspend/Resume/Reset.) - USB function specific implementation (Non Control Endpoint Request, Class specific Request) - USB Device API user - Abstracts Hardware specific details and provides generic USB interfaces to the upper layer - Allows easy port of Applications/Class functionality over different USB IPs Low level driver - USB Controller IP interfacing module. - candidate to change for every new USB IP USB IP Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 42

43 Class API HID HID_HANDLE USB_Class_HID_Init( HID_CONFIG_STRUCT_PTR hid_config_ptr) This API is used to initialize the HID class driver The structure passed to the API contains the callback functions and endpoint information uint_8 USB_Class_HID_Send_Data(HID_HANDLE hid_handle, uint_8 ep_num, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to send HID application data over the bus. The data buffer, size, endpoint are passed as input parameters to the function. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 43

44 PHDC Personal Healthcare Device Class uses 1 Bulk IN and one Bulk OUT and optionally 1 Interrupt IN endpoint for Medical Data supports IEEE11073 standard for optimized data exchange Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 44

45 Class API PHDC PHDC_HANDLE USB_Class_PHDC_Init( PHDC_CONFIG_STRUCT_PTR phdc_config_ptr) This API is used to initialize the PHDC class driver The structure passed to the API contains the callback functions and endpoint information uint_8 USB_Class_PHDC_Send_Data(PHDC_HANDLE phdc_handle, boolean meta_data, uint_8 num_tfr, uint_8 qos, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to send PHDC application data over the bus. The data buffer, size are passed as input parameters to the function. The meta_data qos for the data, num_tfr parameters are passed in this API are PHDC class dependent parameters. uint_8 USB_Class_PHDC_Recv_Data(PHDC_HANDLE phdc_handle, uint_8 ep_num, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to retrieve PHDC application data from the bus. The data buffer, size, endpoint are passed as input parameters to the function. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 45

46 CDC_HANDLE USB_Class_CDC_Init( CDC_CONFIG_STRUCT_PTR cdc_config_ptr) This API is used to initialize the CDC class driver The structure passed to the API contains the callback functions and endpoint information Class API CDC uint_8 USB_Class_CDC_Send_Data(CDC_HANDLE cdc_handle, uint_8 ep_num, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to send CDC application data over the bus. The data buffer, size, endpoint are passed as input parameters to the function. uint_8 USB_Class_CDC_Recv_Data(CDC_HANDLE cdc_handle, uint_8 ep_num, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to retrieve CDC application data from the bus. The data buffer, size, endpoint are passed as input parameters to the function. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 46

47 Class API MSD MSD_HANDLE USB_Class_MSD_Init( MSD_CONFIG_STRUCT_PTR msd_config_ptr) This API is used to initialize the MSD class driver The structure passed to the API contains the callback functions and endpoint information uint_8 USB_Class_MSD_Send_Data(MSD_HANDLE msd_handle, uint_8 ep_num, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to send MSD application data over the bus. The data buffer, size, endpoint are passed as input parameters to the function. uint_8 USB_Class_MSD_Recv_Data(MSD_HANDLE msd_handle, uint_8 ep_num, uint_8_ptr buff_ptr, uint_32 size) This API is used to by application to retrieve MSD application data from the bus. The data buffer, size, endpoint are passed as input parameters to the function. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 47

48 Applications Design Mouse Medical Communication Storage Class API HID PHDC CDC MSD Device Layer Device API Controller API mcf52259x mcf Low level driver V2 USB IP V4 USB IP USB IP HW Register IF Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 48

49 Application Design USB Descriptors and Endpoints This following key information is defined in the usb_descriptor.c and usb_descriptor.h files Key Structures USB_ENDPOINTS: a uniquely identifiable, logical entity containing endpoint information USB Chapter 9 Descriptors Device Descriptors Configuration Descriptors String Descriptors Functions The functions implemented in these files expose the above information to the application/class drivers Key functions USB_Desc_Get_Descriptor: Retrieve the Descriptor Information USB_Desc_Get_Endpoints: Retrieve the Endpoint information USB_Desc_Get_Interface: Retrieve the Alternate Interface information USB_Desc_Set_Interface: Set the Alternate Interface information USB_Desc_Valid_Configation: Check whether Configuration Id received is valid USB_Desc_Remote_Wakeup: Remote WakeUp supported or not Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 49

50 TASK_TEMPLATE_STRUCT MQX_template_list[] = { { MAIN_TASK, Main_Task, 2*3000L, 7L, "Main", MQX_AUTO_START_TASK}, { 0L, 0L, 0L, 0L, 0L, 0L } }; Application Design Main Task void Main_Task(void) { HID_CONFIG_STRUCT config_struct; uint_64 x = 0; _disable_interrupts(); /* initialize the Global Variable Structure */ USB_memzero(&g_mouse, sizeof(mouse_global_variable_struct)); USB_memzero(&config_struct, sizeof(hid_config_struct)); /* Initialize the USB interface */ } config_struct.ep_desc_data = &usb_desc_ep; config_struct.hid_class_callback.callback =USB_App_Callback; config_struct.hid_class_callback.arg = &g_mouse.app_handle; config_struct.param_callback.callback =USB_App_Param_Callback; config_struct.param_callback.arg = &g_mouse.app_handle; config_struct.desc_callback_ptr = &desc_callback; config_struct.desc_endpoint_cnt = HID_DESC_ENDPOINT_COUNT; config_struct.ep = &g_mouse.ep; g_mouse.app_handle = USB_Class_HID_Init(&config_struct); _enable_interrupts(); while (TRUE) { /* call the periodic task function */ USB_HID_Periodic_Task(); } Populate callback function structure Call Class Initialize function Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 50

51 void USB_App_Callback(uint_8 event_type, void* val,pointer arg) { #pragma unused (arg) #pragma unused (val) switch(event_type) { case USB_APP_BUS_RESET: g_mouse.mouse_init=false; break; case USB_APP_ENUM_COMPLETE: g_mouse.mouse_init = TRUE; move_mouse();/* run the coursor movement code */ break; case USB_APP_SEND_COMPLETE: /*check whether enumeration is complete or not */ if(g_mouse.mouse_init) { move_mouse();/* run the coursor movement code */ } break; case USB_APP_ERROR: break; Handle BUS RESET callback Application Design Main Callback Handle enumeration complete callback which implies connection is established with Host Handle completion of previous activation of USB_HID_Send_Data API Handle error condition } default: break; } return; Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 51

52 USB Stack Configuration usb_stack_config.h Which functional class to compile? Compile for network support? Use queuing in class layer? Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 52

53 MQX MFS Stack Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 53

54 What is MFS? Introduction MFS provides a library of functions that is compatible with the Microsoft MS-DOS FAT file system. All the functions guarantee that application tasks have mutually exclusive access to the file system. MFS is implemented as a device driver that an application must install over a lower-level device driver. Examples of lower-level drivers are: drivers for memory devices flash disks floppy disks partition-manager devices. MFS uses the lower-level driver to access the hardware device. MFS supports FAT12, FAT16, and FAT32 file systems. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 54

55 MFS structure Files and directories MFS Partition manager (optional) Device Hardware Flash cards USB mass storage devices ATA PCMCIA Removable hard drives Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 55

56 MFS Features MFS Features Standard FAT12, FAT16 and FAT32 support Standard handling of directory paths Both \ and / can be used as directory separators Support for * and? wildcard characters File Attributes Supported Standard: Directory, Read-only, Hidden File, System file, Archived file Special: Volume Label file (only one such file allowed in root directory) File Time and Date Each file entry contains 16-bit time and date fields. FAT Copies MFS updates as many FATs as configured for. Only reads the first FAT. High-Level Formatting An application can perform high-level formatting on a disk by calling ioctl(). Partition Manager Support for multiple partitions on one physical drive Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 56

57 MFS Devices Devices usable by MFS MFS can be installed on any memory-oriented device which is standard MQX IO device in terms of open/close/read/write/ioctl calls is able to seek on any given position supports few block-oriented IOCTL Devices supported today ATA PC Card flash cards USB mass storage devices RAM or MRAM FlashX driver working with internal or external Flash memory SPI-based SD Cards Code under development (or legacy not-tested code) ATA hard drives Floppy-disk drives Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 57

58 Partition Manager Partition Manager Special virtual device which may be put between MFS and a hardware device. Enables MFS to work independently on one of multiple partitions installed on a physical disk. Should be installed and opened like other devices before use by MFS. Should be closed and uninstalled when no longer needed in an application. Available functions: _io_part_mgr_install Installs the partition manager device driver. _io_part_mgr_uninstall Uninstalls the partition manager device driver. fclose Closes the partition manager fopen Opens the partition manager. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 58

59 Basic MFS API MFS API _io_mfs_install - initializes MFS and allocates memory for all of the internal MFS data structures. _io_mfs_uninstall - uninstalls the MFS device driver and frees the memory context. fopen - Opens the device by specifying device name or opens a file if both device name and file path is specified. fd_ptr = fopen( mfsram:\data\march\march2000results.data, w ); fclose Closes the file and frees the memory allocated by given FILE_PTR ioctl File- or device-specific control interface. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 59

60 Using USB MSD Class with MFS Install and open _usb_mfs device Install and open partition manager Look for valid partition If none found, remove partition manager Install MFS on partition or raw drive Open file system All of this is contained in the file usb_task.c in \mfs\examples\mfs_usb: usb_filesystem_install( ) usb_filesystem_uninstall( ) Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 60

61 Shell Library MFS Shell Shell library implements a simple command line interface for MFS, RTCS, or private application needs. Typically wraps console user interface around low-level use of IOCTL User can extend Shell by writing new commands Commands are registered using string-to-function mapping structures const SHELL_COMMAND_STRUCT Shell_commands[] = { { "cd", Shell_cd }, { "copy", Shell_copy }, { "create", Shell_create }, /*. */ { "sh", Shell_sh }, { "type", Shell_type }, { "write", Shell_write }, { "?", Shell_command_list }, }; { NULL, NULL } Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 61

62 Shell Commands MQX MFS RTCS abort exit help kill pause sh tad cache cd compare copy create del dir flush format mkdir rmdir pwd read ren type write arpdisp echod eds enet exec ftp ftpd gate getroute ghbn ipconfig load nat nstat ping rtcs sendto snmpd tftp tftpc telnet telnetd Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 62

63 Hands-On Lab Part 2 Learn to: Install and initialize USB Host stack Manage enumeration of USB Flash drive Install and open Partition Manager Install MFS Enable web server to read files from USB flash drive Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 63

64 USB HOST HID Walk Through Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 64

65 Using the HID Class Define HID driver capabilities Wait for an attach event On attach, select interface Wait for interfaced event Select keyboard or mouse protocol Find interrupt pipe Initialize a transfer request Receive data Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 65

66 Host Application Example HID Keyboard Example Handling an ATTACH event Event handler gets event code, device and interface handles We should remember the handles and the current state (for main application state machine) Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 66

67 Host Application Example HID Keyboard Example Main task state machine Selecting Interface When first interfaced, HID keyboard requires setting protocol. Note that we need to pass validation structure we obtained during interface select into HID class driver. Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 67

68 Host Application Example HID Keyboard Example Communicating with keyboard Application obtains handle to communication pipe (in this case interrupt receive pipe). Receive transfer is initiated on the pipe, passing buffer pointer for data to be received. Waiting for interrupt transaction Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 68

69 Session Closing Thank you for attending, and I hope you achieved the following: Ability to add connectivity to your products Ability to increase maintainability Capability to develop more easily due to a deeper understanding of Freescale MQX Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMAROS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners Freescale Semiconductor, Inc. 69

70

Hands-On Workshop: Freescale MQX Drivers and BSP s

Hands-On Workshop: Freescale MQX Drivers and BSP s June 24, 2010 Hands-On Workshop: Freescale MQX Drivers and BSP s FTF-ENT-F0721 Carlos Neri / Anthony Huereca / Derek Snell Freescale Semiconductor Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the

More information

Android OS and Power Architecture

Android OS and Power Architecture June 24, 2010 OS and Power Architecture FTF-NET-F0677 Phil Brownfield Software Product Manager, NMG Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC,

More information

Freescale MQX USB Device API Reference Manual

Freescale MQX USB Device API Reference Manual Freescale MQX USB Device API Reference Manual MQXUSBDEVRM Rev. 3 02/2014 How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to

More information

Rapid Software Development on 32-Bit Automotive MPC56xx Family of MCUs

Rapid Software Development on 32-Bit Automotive MPC56xx Family of MCUs November, 2010 Rapid Software Development on 32-Bit Automotive MPC56xx Family of MCUs AMF-AUT-T0819 Patrick W. Menter Manager - Automotive Silicon Support Tools Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,

More information

SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS

SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS Renesas Synergy Engineering Conference Lake Garda 7-8 April 2016 2016 Renesas Electronics Corporation. All rights reserved. Agenda Overview of Synergy Software

More information

Wai Chee Wong Sr.Member of Technical Staff Freescale Semiconductor. Raghu Binnamangalam Sr.Technical Marketing Engineer Cadence Design Systems

Wai Chee Wong Sr.Member of Technical Staff Freescale Semiconductor. Raghu Binnamangalam Sr.Technical Marketing Engineer Cadence Design Systems Wai Chee Wong Sr.Member of Technical Staff Freescale Semiconductor Raghu Binnamangalam Sr.Technical Marketing Engineer Cadence Design Systems Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior,

More information

Hands-on Workshop: Freescale MQX and Tower System RTOS Getting Started (Part 2)

Hands-on Workshop: Freescale MQX and Tower System RTOS Getting Started (Part 2) August, 2010 Hands-on Workshop: Freescale MQX and Tower System RTOS Getting Started (Part 2) ENT-F0720 Shen Li and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, Dr. Stephen Rober Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

Bharat Bhushan, Stuart Yoder

Bharat Bhushan, Stuart Yoder Bharat Bhushan, Stuart Yoder October 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PEG, PowerQUICC,

More information

MSC8156 Ethernet Interface

MSC8156 Ethernet Interface June 21, 2010 MSC8156 Ethernet Interface QUICC Engine Ethernet Programming Andrew Temple NMG DSP Applications Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis,

More information

M52259DEMOKIT One-stop-shop connectivity MCU with USB, Ethernet and CAN, featuring Freescale MQX software solutions

M52259DEMOKIT One-stop-shop connectivity MCU with USB, Ethernet and CAN, featuring Freescale MQX software solutions M52259DEMOKIT Quick Start Guide ColdFire Embedded Controllers M52259DEMOKIT One-stop-shop connectivity MCU with USB, Ethernet and CAN, featuring Freescale MQX software solutions Quick Start Guide Lab Tutorials

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale

More information

Freescale i.mx Applications Processors based on ARM Technology Connected Multimedia

Freescale i.mx Applications Processors based on ARM Technology Connected Multimedia Freescale i.mx Applications Processors based on ARM Technology Connected Multimedia 2010 ARM Technology Symposiums Vivek Tyagi- Country Sales Manager, Freescale India Freescale, the Freescale logo, CodeWarrior,

More information

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z External Use Contents ts Quick Start Package Overview GettoKnowtheFRDMKL43Z to the FRDM-KL43Z Getting Started Out of the Box

More information

Quick Start Guide for FRDM-KL05Z

Quick Start Guide for FRDM-KL05Z Quick Start Guide for FRDM-KL05Z Contents: Quick Start Package Overview Get to Know the FRDM-KL05Z Getting Started Out of the Box Introduction to OpenSDA Explore Further www.freescale.com/frdm-kl05z 1

More information

Quick Start Guide for FRDM-KL46Z Rev 1

Quick Start Guide for FRDM-KL46Z Rev 1 www.freescale.com/frdm-kl46z These documents are available as part of the Quick Start Package: Name Type Description Quick Start Guide PDF This document OpenSDA Applications Folder OpenSDA Applications

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis, June 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PEG, PowerQUICC, Processor Expert, QorIQ,

More information

Component Development Environment Getting Started Guide

Component Development Environment Getting Started Guide Component Development Environment Getting Started Guide Document Number: CDEGS Rev 02/2014 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 Overview...5 1.2

More information

Freescale, the Freescale logo, AltiVec, C- 5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C- 5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, Freescale, the Freescale logo, AltiVec, C- 5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore,

More information

Problem FatFS architecture Demonstration Benchmark Closing

Problem FatFS architecture Demonstration Benchmark Closing June 23, 2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

Software Datapath Acceleration for Stateless Packet Processing

Software Datapath Acceleration for Stateless Packet Processing June 22, 2010 Software Datapath Acceleration for Stateless Packet Processing FTF-NET-F0817 Ravi Malhotra Software Architect Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale

More information

DDR Memory controller fundamentals review

DDR Memory controller fundamentals review 14 Aug 2012 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Processor Expert, QorIQ,

More information

Effectively describe, at a high level, NetComm Software for DPAA-based devices

Effectively describe, at a high level, NetComm Software for DPAA-based devices Aug. 31 st 2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

Mike Anderson. TCP/IP in Embedded Systems. CTO/Chief Scientist The PTR Group, Inc.

Mike Anderson. TCP/IP in Embedded Systems. CTO/Chief Scientist The PTR Group, Inc. TCP/IP in Embedded Systems Mike Anderson CTO/Chief Scientist The PTR Group, Inc. RTC/GB-1 What We ll Talk About Networking 101 Stacks Protocols Routing Drivers Embedded Stacks Porting RTC/GB-2 Connected

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale

More information

LPC2300/LPC2400 TCP/IP Overview Fall of Chris Wright TCP/IP and LPC2300/LPC2400 Family October 2007

LPC2300/LPC2400 TCP/IP Overview Fall of Chris Wright TCP/IP and LPC2300/LPC2400 Family October 2007 LPC2300/LPC2400 TCP/IP Overview Fall of 2007 Chris Wright TCP/IP and LPC2300/LPC2400 Family October 2007 Introduction to the LPC2300/LPC2400 Family Family is an important word in the title All blocks across

More information

Quick Start Guide for FRDM-KL46Z Rev 1

Quick Start Guide for FRDM-KL46Z Rev 1 www.freescale.com/frdm-kl46z These documents are available as part of the Quick Start Package: Name Type Description Quick Start Guide PDF This document OpenSDA Applications Folder OpenSDA Applications

More information

Freescale s UTM Security Appliance Solutions

Freescale s UTM Security Appliance Solutions June, 2010 Freescale s U Security Appliance Solutions FTF-NET-F0788 Karthik Ethirajan NMG Software Products Division Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions

More information

Smartbook Tablet Reference Design

Smartbook Tablet Reference Design June, 2010 Smartbook Tablet Reference Design FTF-CON-F0595 Steve Sperle, Consumer Segment Marketing Sri Subramanian, Senior Product Manager Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy

More information

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

OpenSDA on TWR-KW2x. User s Guide Rev 1.1 OpenSDA on TWR-KW2x User s Guide 2013 Rev 1.1 Freescale, Inc. TKW2x_OSDAUG Table of Contents 1 Overview...3 1.1 OpenSDA Hardware...4 1.2 OpenSDA Software...4 1.2.1 MSD Bootloader...4 1.2.2 P&E Debug Application...5

More information

Choice of 2 technology platforms. Flexibility in Timing. Flexibility in Teams

Choice of 2 technology platforms. Flexibility in Timing. Flexibility in Teams Updated May 2012 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

Zilog TCP/IP Software Suite

Zilog TCP/IP Software Suite QS004914-1211 Introduction This quick start guide helps you to get started with the Zilog TCP/IP Software Suite for Zilog s ez80acclaim! family, which includes the ez80f91, ez80f92 and ez80f93 microcontrollers

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobilegt, PowerQUICC, March 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of

More information

P1010RDB-PB Quick Start Guide

P1010RDB-PB Quick Start Guide Freescale Semiconductor P1010RDB-PB Quick Start Guide Document Number: P1010RDBPBQS Rev. 0, 10/2013 P1010RDB-PB Quick Start Guide 1 Introduction to P1010RDB-PB This quick start guide applies to boards

More information

Freescale USB Stack Device API Reference Manual

Freescale USB Stack Device API Reference Manual Freescale USB Stack Device API Reference Manual Document Number: USBAPIRM Rev. 10 05/2012 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed:

More information

CodeWarrior U-Boot Debugging

CodeWarrior U-Boot Debugging Freescale Semiconductor Application Note Document Number: AN4876 CodeWarrior U-Boot Debugging 1. Introduction This document describes the steps required for U-Boot debugging using the CodeWarrior IDE.

More information

smxnet ROM Requirements (KB)

smxnet ROM Requirements (KB) Embedded Software Outfitters smxnet TM smxnet is a TCP/IP network stack, which has been optimized for use in real-time embedded systems. It offers RFC-compliant TCP and conforms to the Berkeley sockets

More information

Creating a New USB project with KSDK and Processor Expert support in KDS

Creating a New USB project with KSDK and Processor Expert support in KDS Freescale Semiconductor Creating a New USB project with KSDK and Processor Expert support in KDS By: Technical Information Center Developing an USB application can involve to include some extra features

More information

Freescale MQX RTOS for Kinetis SDK Release Notes version beta

Freescale MQX RTOS for Kinetis SDK Release Notes version beta Freescale Semiconductor Document Number: MQXKSDKRN Release Notes Rev 1.0.0, 07/2014 Freescale MQX RTOS for Kinetis SDK Release Notes version 1.0.0 beta 1 Read Me This is the release notes for Freescale

More information

MC34708TRN Rev /1/2011

MC34708TRN Rev /1/2011 MC34708TRN Rev 3.0 11/1/2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony

More information

Freescale MKW40Z IEEE Software Quick Start Guide

Freescale MKW40Z IEEE Software Quick Start Guide Freescale Semiconductor, Inc. Document Number: MKW40Z802154SW523QSG User's Guide Rev. 0, 09/2015 Freescale MKW40Z IEEE 802.15.4 Software Quick Start Guide This document is a brief presentation of the Freescale

More information

Sensor Toolbox (Part 2): Inertial Sensors

Sensor Toolbox (Part 2): Inertial Sensors November 2010 Sensor Toolbox (Part 2): Inertial Sensors AMF-ENT-T1118 Michael Steffen MCU & Sensor Field Application Engineer Expert Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient

More information

OSI Model with Protocols. Layer Name PDU Address Protocols Device

OSI Model with Protocols. Layer Name PDU Address Protocols Device NetEss Name: Networking Essentials Prof. CHIN OSI Model with Protocols Layer Name PDU Address Protocols Device 7 Application Data FTP, SSH, Telnet, SMTP, DNS TFTP,HTTP, POP3, IMAP, HTTPS 6 Presentation

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale

More information

Xtrinsic Touch Sensing Software 2.0 Add touch. With flexible libraries.

Xtrinsic Touch Sensing Software 2.0 Add touch. With flexible libraries. Xtrinsic Touch Sensing Software 2.0 Add touch. With flexible libraries. Eduardo Viramontes Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobilegt, PowerQUICC, StarCore,

More information

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 TRANSMISSION CONTROL PROTOCOL ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 ETI 2506 - TELECOMMUNICATION SYLLABUS Principles of Telecom (IP Telephony and IP TV) - Key Issues to remember 1.

More information

Freescale MQX USB Host User s Guide

Freescale MQX USB Host User s Guide Freescale MQX USB Host User s Guide Document Number: MQXUSBHOSTUG Rev. 2 4/2011 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale

More information

Freescale MQX RTOS TWR-K64F120M Release Notes

Freescale MQX RTOS TWR-K64F120M Release Notes Freescale Semiconductor Document Number: MQXTWRK64RN Release Notes Rev. 2, 03/2014 Freescale MQX RTOS 4.1.0 TWR-K64F120M Release Notes 1 Introduction These are the Release Notes for the K64F120M standalone

More information

USB / Ethernet Production Ready Module

USB / Ethernet Production Ready Module USB / Ethernet Production Ready Module The USB / Ethernet module is a single board containing everything needed to add highperformance Internet and USB connectivity to customers system designs without

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis, July 19, 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PEG, PowerQUICC, Processor Expert,

More information

Challenges for Next Generation Networking AMP Series

Challenges for Next Generation Networking AMP Series 21 June 2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis, June 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PEG, PowerQUICC, Processor Expert, QorIQ,

More information

Tom Deitrich. Senior Vice President and General Manager. February 2013

Tom Deitrich. Senior Vice President and General Manager. February 2013 Tom Deitrich Senior Vice President and General Manager February 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo,

More information

August, 2010 Enabling Software Defined Radio with the Modem Vector Signal Processor ENT-F0766

August, 2010 Enabling Software Defined Radio with the Modem Vector Signal Processor ENT-F0766 August, 2010 Enabling Software Defined Radio with the Modem Vector Signal Processor ENT-F0766 Kevin Traylor Freescale Fellow Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions

More information

Overview of Freescale s Platform

Overview of Freescale s Platform June, 2010 Overview of Freescale s 802.15.4 Platform FTF-ENT-F0509 Matt Maupin Technical Marketer Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC,

More information

Mainframe Networking 101 Share Session 15422

Mainframe Networking 101 Share Session 15422 Mainframe Networking 101 Share Session 15422 6 Laura Knapp WW Business Consultant Laurak@aesclever.com ipv6hawaii@outlook.com 06/23/2014 Applied Expert Systems, Inc. 2014 1 Agenda Requirements for Communication

More information

AP100 TM 1-Port VoIP Gateway High Performance VoIP Gateway Solution

AP100 TM 1-Port VoIP Gateway High Performance VoIP Gateway Solution AP100 TM 1-Port VoIP Gateway High Performance VoIP Gateway Solution Public IP + IP Sharing + Cascading www.addpac.com AddPac Technology 2006, Sales and Marketing Contents AP100 VoIP Gateway H/W Specification

More information

Cisco WAAS Software Command Summary

Cisco WAAS Software Command Summary 2 CHAPTER This chapter summarizes the Cisco WAAS 4.0.7 software commands. lists the WAAS commands (alphabetically) and indicates the command mode for each command. The commands used to access modes are

More information

smxusbh USB Host Stack

smxusbh USB Host Stack RTOS Innovators smxusbh USB Host Stack smxusbh is a USB host stack for embedded systems. It is written in C, and can be ported to any hardware platform. smxusbh is optimized for SMX, but can be ported

More information

Mainframe Networking 101 Share Session. Junie Sanders Kevin Manweiler -

Mainframe Networking 101 Share Session. Junie Sanders Kevin Manweiler - Mainframe Networking 101 Share Session 6 Junie Sanders jrsandler@cisco.com Kevin Manweiler - kmanweil@cisco.com 2 Agenda Requirements for Communication What are Networking Architectures? Networking Architectures

More information

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12 TCP/IP Networking Training Details Training Time : 9 Hours Capacity : 12 Prerequisites : There are no prerequisites for this course. About Training About Training TCP/IP is the globally accepted group

More information

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester Operating System: Chap13 I/O Systems National Tsing-Hua University 2016, Fall Semester Outline Overview I/O Hardware I/O Methods Kernel I/O Subsystem Performance Application Interface Operating System

More information

Low Power System Techniques

Low Power System Techniques June, 2010 Low Power System Techniques FTF-AUT-F0408 Carl Culshaw System Architect Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package,

More information

TSIN02 - Internetworking

TSIN02 - Internetworking Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure

More information

AP-VC2000 TM Video Conference Equipment High Performance BcN Video Terminal Solution (BcN : Broadband Convergence Network)

AP-VC2000 TM Video Conference Equipment High Performance BcN Video Terminal Solution (BcN : Broadband Convergence Network) AP-VC2000 TM Video Conference Equipment High Performance BcN Video Terminal Solution (BcN : Broadband Convergence Network) Public IP + IP Sharing + Cascading www.addpac.com AddPac Technology 2005, Sales

More information

Understand USB (in Linux)

Understand USB (in Linux) Understand USB (in Linux) Krzysztof Opasiak Samsung R&D Institute Poland 1 Agenda What USB is about? Plug and Play How BadUSB works? May I have my own USB device? Q & A What USB is about? What Internet

More information

Freescale Tower System

Freescale Tower System 8-, 16- and 32-bit MCUs/MPUs Freescale Tower System Modular development platform Overview The Freescale Tower System is a modular development platform for 8-, 16- and 32-bit MCUs and MPUs that enables

More information

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module Freescale Semiconductor Document Number: KSDKK24FN256RN Release Notes 1.0.0, 08/2014 Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module 1 Overview These are the release notes for the TWR-K24F120M

More information

Unit 28 Website Production ASSIGNMENT 1

Unit 28 Website Production ASSIGNMENT 1 Unit 28 Website Production ASSIGNMENT 1 Last week Learning outcomes History HTML skeleton Annotated diagram of a WAN Servers, routers, client PC, browser, Server OS Switch, packet Architecture ISP Web

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, June 2012 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Processor Expert, QorIQ, Qorivva,

More information

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1 Interconnecting Networks with TCP/IP 2000, Cisco Systems, Inc. 8-1 Objectives Upon completion of this chapter you will be able to perform the following tasks: Identify the IP protocol stack, its protocol

More information

S12Z MagniV LIN Bootloader

S12Z MagniV LIN Bootloader NXP Semiconductors Document Number: AN5389 Application Note Rev. 0, 02/2017 S12Z MagniV LIN Bootloader by: Agustin Diaz 1 Introduction The LIN protocol is a 1-wire serial protocol and uses the UART format

More information

Getting Started with MQX RTOS for Kinetis SDK

Getting Started with MQX RTOS for Kinetis SDK Freescale Semiconductor Document Number: MQXKSDKGSUG User's Guide Rev. 1, 04/2015 Getting Started with MQX RTOS for Kinetis SDK 1 Introduction This document describes the steps required to configure supported

More information

XPress-I/O Device Server Command Reference

XPress-I/O Device Server Command Reference XPress-I/O Device Server Command Reference Part Number 900-464 Revision B July 2007 Copyright & Trademark Contacts 2006, 2007, Lantronix. All rights reserved. No part of the contents of this book may be

More information

The Applications and Gaming Tab - Port Range Forward

The Applications and Gaming Tab - Port Range Forward The Applications and Gaming Tab - Port Range Forward The Applications and Gaming Tab allows you to set up public services on your network, such as web servers, ftp servers, e-mail servers, or other specialized

More information

Kinetis SDK v Release Notes for the MK21DA5 and MKW24D5 Devices

Kinetis SDK v Release Notes for the MK21DA5 and MKW24D5 Devices Freescale Semiconductor, Inc. Document Number: KSDK110MK21DA5MKW24D5RN Release Notes Rev. 0, 02/2015 Kinetis SDK v.1.1.0 Release Notes for the MK21DA5 and MKW24D5 Devices 1 Overview These are the release

More information

How to fix Usually Slightly Broken devices and drivers?

How to fix Usually Slightly Broken devices and drivers? How to fix Usually Slightly Broken devices and drivers? Krzysztof Opasiak Samsung R&D Institute Poland Agenda USB basics Plug & Play Plug & do what I want Plug & tell me more Summary Q & A 1 This presentation

More information

MQX -celeration RTOS-integrated solutions

MQX -celeration RTOS-integrated solutions QoriQ Power Architecture i.mx ColdFire mc56f8xx / 8xxx 9S12 9S08 9RS08 MQX -celeration RTOS-integrated solutions Freescale MQX Software Solutions Freescale streamlines embedded design with a complimentary

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore,

More information

MCUXpresso SDK USB Stack Composite Device User s Guide

MCUXpresso SDK USB Stack Composite Device User s Guide NXP Semiconductors Document Number: USBCOMDUG User s Guide Rev. 6, 03/2017 MCUXpresso SDK USB Stack Composite Device User s Guide 1 Overview This document describes steps to implement a composite device

More information

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes Keil uvision 4 Kinetis Support for Freescale MQX RTOS 3.7.0 Release Notes PRODUCT: Keil uvision 4 Kinetis Support for Freescale MQX RTOS 3.7.0 PRODUCT VERSION: 1.0 DESCRIPTION: Adding support for Keil

More information

smxusbh USB Host Stack

smxusbh USB Host Stack RTOS Innovators smxusbh USB Host Stack smxusbh is a USB host stack for embedded systems. It is written in C, and can be ported to any hardware platform. smxusbh is optimized for SMX, but can be ported

More information

Wind River USB for VxWorks 6 Programmer's Guide. Wind River USB for VxWorks 6 PROGRAMMER S GUIDE 2.3

Wind River USB for VxWorks 6 Programmer's Guide. Wind River USB for VxWorks 6 PROGRAMMER S GUIDE 2.3 Wind River USB for VxWorks 6 Programmer's Guide Wind River USB for VxWorks 6 PROGRAMMER S GUIDE 2.3 Copyright 2006 Wind River Systems, Inc. All rights reserved. No part of this publication may be reproduced

More information

Universal Serial Bus Host Stack User s Manual V3.41

Universal Serial Bus Host Stack User s Manual V3.41 μc/ USB Host TM Universal Serial Bus Host Stack User s Manual V3.41 Micrium 1290 Weston Road, Suite 306 Weston, FL 33326 USA www.micrium.com Designations used by companies to distinguish their products

More information

Tweeting? Please use hashtag #FTF2011. Freescale on Facebook Tag yourself in photos and upload your own!

Tweeting? Please use hashtag #FTF2011. Freescale on Facebook Tag yourself in photos and upload your own! 23 June 2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

Mask Set Errata for Mask 2N27B

Mask Set Errata for Mask 2N27B Freescale Semiconductor COLDFIREPLUS_2N27B Mask Set Errata Rev 29 JUL 2013 Mask Set Errata for Mask 2N27B Introduction This report applies to mask 2N27B for these products: COLDFIREPLUS Errata ID Errata

More information

2. What flavor of Network Address Translation can be used to have one IP address allow many users to connect to the global Internet? A. NAT B.

2. What flavor of Network Address Translation can be used to have one IP address allow many users to connect to the global Internet? A. NAT B. How long is an IPv6 address? A. 32 bits B. 128 bytes C. 64 bits D. 128 bits Answer: Option D An IPv6 address is 128 bits long. 2. What flavor of Network Address Translation can be used to have one IP address

More information

A Client-Server Exchange

A Client-Server Exchange Socket programming A Client-Server Exchange A server process and one or more client processes Server manages some resource. Server provides service by manipulating resource for clients. 1. Client sends

More information

rbox610 Series Robust Din-rail Fanless Embedded System Web Configuration and App Software User s Manual

rbox610 Series Robust Din-rail Fanless Embedded System Web Configuration and App Software User s Manual rbox610 Series Robust Din-rail Fanless Embedded System Web Configuration and App Software User s Manual Disclaimers This manual has been carefully checked and believed to contain accurate information.

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony

More information

What is an Operating System? A Whirlwind Tour of Operating Systems. How did OS evolve? How did OS evolve?

What is an Operating System? A Whirlwind Tour of Operating Systems. How did OS evolve? How did OS evolve? What is an Operating System? A Whirlwind Tour of Operating Systems Trusted software interposed between the hardware and application/utilities to improve efficiency and usability Most computing systems

More information

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 8 Networking Essentials

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 8 Networking Essentials A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e Chapter 8 Networking Essentials Objectives Learn about the protocols and standards Windows uses for networking Learn how to connect

More information

Presentation Services. Presentation Services: Motivation

Presentation Services. Presentation Services: Motivation Presentation Services need for a presentation services ASN.1 declaring data type encoding data types implementation issues reading: Tannenbaum 7.3.2 Presentation Services: Motivation Question: suppose

More information

32-bit. 16-bit. 8-bit. Giving customers an ideal solution regardless of architecture preference. Kinetis based on ARM Cortex -M4 core

32-bit. 16-bit. 8-bit. Giving customers an ideal solution regardless of architecture preference. Kinetis based on ARM Cortex -M4 core July 11, 2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks

More information

High Performance Real-Time Operating Systems

High Performance Real-Time Operating Systems High Performance Real-Time Operating Systems FAT Filesystem User s Guide and Reference Manual Support Copyright Copyright (C) 2013 by SCIOPTA Systems AG All rights reserved No part of this publication

More information

Router 6000 R17 Training Programs. Catalog of Course Descriptions

Router 6000 R17 Training Programs. Catalog of Course Descriptions Router 6000 R7 Training Programs Catalog of Course Descriptions Catalog of Course Descriptions INTRODUCTION... 3 IP NETWORKING... 4 IP OVERVIEW & FUNDAMENTALS... 8 IP ROUTING OVERVIEW & FUNDAMENTALS...0

More information

Analog VoIP Gateway. Public IP + IP Sharing + Cascading. AddPac Technology. 2005, Sales and Marketing.

Analog VoIP Gateway. Public IP + IP Sharing + Cascading. AddPac Technology. 2005, Sales and Marketing. Analog VoIP Gateway Public IP + IP Sharing + Cascading www.addpac.com AddPac Technology 2005, Sales and Marketing Contents Public IP + NAT/PAT Public IP + IP Sharing + Cascading Private IP www.addpac.com

More information

Contents 2. Contents

Contents 2. Contents Installation Manual NXP reserves the right to change the detail specifications as may be required to permit improvements in the design of its products. 2016 Freescale Semiconductor, Inc. 2017 NXP All rights

More information

Debugging Usually Slightly Broken Devices and Drivers

Debugging Usually Slightly Broken Devices and Drivers Debugging Usually Slightly Broken Devices and Drivers Krzysztof Opasiak Samsung R&D Institute Poland Agenda USB basics Plug & Play Plug & do what I want Plug & tell me more Summary Q & A 1 This presentation

More information