Download presentation
Presentation is loading. Please wait.
1
High Speed Digital Systems Lab 1 Mini Control System Application Mini Control System Application Students: Yair Kler Supervisor: Boaz Mizrahi Spring 2009 Final Presentation D1518
2
High Speed Digital Systems Lab2 Project Review Overview Overview Project Expected goals. Project Expected goals. Setbacks Setbacks Goals Vs Actual Work Status Goals Vs Actual Work Status Future Work Future Work Summary & Conclusions Summary & Conclusions
3
High Speed Digital Systems Lab3 Overview Software development based on Aviv.R & Zilber B hardware. The device had only basic raw software code The device has USB port which could be used as external communication port for various applications. Project Initial dependencies
4
High Speed Digital Systems Lab4 Overview Cont.. Overview Cont.. Pre-Requirements - Project development is based on other projects completion of several key tasks: A. Yaron – USB stack development (Initial plan – Develop USB based on MSD (Mass Storage Device) A. Yaron – Code reduction – Current code has taken 94% of program memory, 88% of data memory which didn’t leave any room for other applications. A. Yaron – “Safe ISR” File System – Current code could not handle interrupts (would cause trashing)
5
High Speed Digital Systems Lab5 Overview Cont.. Overview Cont.. Pre-Requirements Continue: A. Yaron – Bootloader Application for PDA device V. Yotam & a. Karin - availability of verified PDA devices for software development V. Yotam & a. Karin & A. Yaron – Hardware & Software debugging of USB.
6
High Speed Digital Systems Lab6 Project Expected Goals Project A: Prepare software design documents Top level system design Top level system design Assuming USB MSD interface – Define configuration and information files. Assuming USB MSD interface – Define configuration and information files. Develop LCD-Keypad interface that allows to extract sensors information and configure sensors for all sensors. Develop LCD-Keypad interface that allows to extract sensors information and configure sensors for all sensors.
7
High Speed Digital Systems Lab7 Project Expected Goals Project B: Develop PC based application that that allows to extract sensors information and configure sensors for all sensors based on USB MSD interface. Develop PC based application that that allows to extract sensors information and configure sensors for all sensors based on USB MSD interface.
8
High Speed Digital Systems Lab8 Project Setbacks The following pre-requirements were not completed: The following pre-requirements were not completed: USB as Mass Storage device USB as Mass Storage device Code Reduction & Stable Application with ISR Support. Code Reduction & Stable Application with ISR Support. Fully Functional PDA device for Software work Fully Functional PDA device for Software work
9
High Speed Digital Systems Lab9 Goals Vs Actual Work Status Missing Pre-requirements resulted in the following changes to the project: Additional Work: (USB + Bootloader) Additional Work: (USB + Bootloader) Added USB capabilities to the device Added USB capabilities to the device Composite USB with both MSD & HIDComposite USB with both MSD & HID Hardware debugging for USB hardware errorsHardware debugging for USB hardware errors
10
High Speed Digital Systems Lab10 Goals Vs Actual Work Status Missing Pre-requirements Cont… Additional Work: (USB + Bootloader) Additional Work: (USB + Bootloader) Bootloader Capabilities to device: Allow to update new firmware via USB interface instead of JTAG. Bootloader Capabilities to device: Allow to update new firmware via USB interface instead of JTAG.
11
High Speed Digital Systems Lab11 Goals Vs Actual Work Status Missing Pre-requirements Cont… Additional Work: (File System & Code Refactoring) Additional Work: (File System & Code Refactoring) All previous code (Yaron & Amir) was removed and re- implemented (based on parts of Yaorn & Amir code)All previous code (Yaron & Amir) was removed and re- implemented (based on parts of Yaorn & Amir code) Microchip File System was updated and corrected.Microchip File System was updated and corrected. Interrupt issues fixedInterrupt issues fixed
12
High Speed Digital Systems Lab12 Goals Vs Actual Work Status Actual Work: (PDA - Project Design) Actual Work: (PDA - Project Design) Structured Project: Structured Project: defining order and relationship between logical units.defining order and relationship between logical units. Replaced ALL old drivers with OOP “C++ like” order.Replaced ALL old drivers with OOP “C++ like” order. Added HAL & BSP layers to separate applications from drivers.Added HAL & BSP layers to separate applications from drivers.
13
High Speed Digital Systems Lab13 Goals Vs Actual Work Status Actual Work: (PDA - OS) Actual Work: (PDA - OS) Designed & Implemented a Scheduler component with priority logic and Round Robin capabilities. Designed & Implemented a Scheduler component with priority logic and Round Robin capabilities.
14
High Speed Digital Systems Lab14 Goals Vs Actual Work Status Actual Work: (PDA - USB) Actual Work: (PDA - USB) Implemented USB as composite device with two interfaces: Implemented USB as composite device with two interfaces: Mass Storage Device – Allows the device to handle like DiskOnKey. Mass Storage Device – Allows the device to handle like DiskOnKey. Human Interface Device – Allows to directly connect to internal PDA interfaces. Human Interface Device – Allows to directly connect to internal PDA interfaces.
15
High Speed Digital Systems Lab15 Goals Vs Actual Work Status Actual Work: (PDA - Bootloader) Actual Work: (PDA - Bootloader) Implemented a HID based Bootloader (based on Modified Microchip HID platform) USB. Implemented a HID based Bootloader (based on Modified Microchip HID platform) USB. Bootloader & PDA firmware each on different memory spaceBootloader & PDA firmware each on different memory space Automatic switching between Bootloader and PDA firmwareAutomatic switching between Bootloader and PDA firmware Selectable switching between Bootloader & PDA firmwareSelectable switching between Bootloader & PDA firmware
16
High Speed Digital Systems Lab16 Goals Vs Actual Work Status Actual Work: (PDA - LCD Menu) Keypad/LCD - Configuration /Information Control Actual Work: (PDA - LCD Menu) Keypad/LCD - Configuration /Information Control Implemented dynamic menu interface with multilevel tree so: Implemented dynamic menu interface with multilevel tree so: User can configure all interfaces via LCD/Keypad.User can configure all interfaces via LCD/Keypad. User can retrieve all information via LCD/Keypad.User can retrieve all information via LCD/Keypad.
17
High Speed Digital Systems Lab17 Goals Vs Actual Work Status Keypad/Lcd - Cont.. Keypad/Lcd - Cont.. Up/Down/Left/Right – Context aware scrollingUp/Down/Left/Right – Context aware scrolling “Smart-Keys” for additional functionalities from LCD/Keypad.“Smart-Keys” for additional functionalities from LCD/Keypad.
18
High Speed Digital Systems Lab18 Goals Vs Actual Work Status Actual Work - (PC App - Driver) Actual Work - (PC App - Driver) USB HID Driver - Detecting & Handling multiple PDA devices connected to the same host.USB HID Driver - Detecting & Handling multiple PDA devices connected to the same host. Full HID functionalities. Full HID functionalities. Full MSD functionalities. Full MSD functionalities. Additional PDA Specific Functionalities Additional PDA Specific Functionalities Remote Device resetRemote Device reset Remote Bootloader loadRemote Bootloader load Configuration/Information extraction from PDA Device.Configuration/Information extraction from PDA Device.
19
High Speed Digital Systems Lab19 Goals Vs Actual Work Status Actual Work - (PC App - Bootloader) Actual Work - (PC App - Bootloader) Bootloader Application (embedded in PDA Management Application) Bootloader Application (embedded in PDA Management Application) Allows to download new firmware into the device.Allows to download new firmware into the device.
20
High Speed Digital Systems Lab20 Goals Vs Actual Work Status Actual Work - (PC App - Management) Actual Work - (PC App - Management) PDA Management Application: PDA Management Application: Each Sensor has his own configuration/information window.Each Sensor has his own configuration/information window. Multiple Device can be pulled and view using the same instance of the application.Multiple Device can be pulled and view using the same instance of the application. Data gathered from each PDA device is stored locally within a dedicated SQL data-base.Data gathered from each PDA device is stored locally within a dedicated SQL data-base.
21
High Speed Digital Systems Lab21 Goals Vs Actual Work Status Actual Work - PC App Actual Work - PC App PDA Manufacturing Application: PDA Manufacturing Application: PDA has several files required for proper operation:PDA has several files required for proper operation: LCD menu’s are stored on file LCD menu’s are stored on file Manufacturing file - holding the device MAC address as well as additional data. Manufacturing file - holding the device MAC address as well as additional data. PDA manufacturing application - allows to generate each of these files and directly download them into a selected device.PDA manufacturing application - allows to generate each of these files and directly download them into a selected device.
22
High Speed Digital Systems Lab22 Future Work PDA Side: PDA Side: Complete all drivers implementation. Complete all drivers implementation. Extensive code coverage. Extensive code coverage. PC - Side: PC - Side: Utilize existing platform and maximize PDA data. Utilize existing platform and maximize PDA data.
23
High Speed Digital Systems Lab23 Summary & Conclusions Project required extensive hardware and software understanding Students were introduced to: Project required extensive hardware and software understanding Students were introduced to: Low/High level - Embedded RT design Low/High level - Embedded RT design USB / File System internals. USB / File System internals. Management applications development methodologies. Management applications development methodologies.
24
High Speed Digital Systems Lab24 Summary & Conclusions Cont… Embedded - Host internals Embedded - Host internals System Design. System Design. Minor Issue: Minor Issue: Project Dependencies - should be avoided Project Dependencies - should be avoided Project Scope - Work estimation and monitoring to avoid “work explosion”. Project Scope - Work estimation and monitoring to avoid “work explosion”.
25
High Speed Digital Systems Lab25 Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.