4
This material exempt per Department of Commerce license exception TSU Writing Basic Software Applications Lab 4 Introduction

This material exempt per Department of Commerce license exception TSU Writing Basic Software Applications Lab 4 Introduction

Embed Size (px)

Citation preview

Page 1: This material exempt per Department of Commerce license exception TSU Writing Basic Software Applications Lab 4 Introduction

This material exempt per Department of Commerce license exception TSU

Writing Basic Software ApplicationsLab 4 Introduction

Page 2: This material exempt per Department of Commerce license exception TSU Writing Basic Software Applications Lab 4 Introduction

Lab 4 Intro 2

Introduction

• This lab guides you through the process of writing a basic software application.

• You will develop software that will echo dip switch settings to the my_led_0 device.

• You will write the code in XPS and create an MSS file for use by LibGen.

• You will also modify a linker script file to move the application to a different memory location

• You will download the bit file to verify the design

Page 3: This material exempt per Department of Commerce license exception TSU Writing Basic Software Applications Lab 4 Introduction

Lab 4 Intro 3

Objectives

After completing this module, you will be able to:• Write a basic application to access an IP peripheral• Utilize XPS to generate a MSS file• Generate a bit file• Download the bit file and verify in hardware (if hardware is

available)• Develop a simple linker script

Page 4: This material exempt per Department of Commerce license exception TSU Writing Basic Software Applications Lab 4 Introduction

Lab 4 Intro 4

Write Software Code

PPC

PLBBus

PLB2OPB

PLB BRAM Cntlr

OPBBus

PLB BRAM

PLB BRAM Cntlr PLB BRAM

INTC

GPIO

Timer

UART

MY IP LEDs

ICON

IBA

GPIO Push Buttons

DIP Switches

Echo DIP switch settings on the LEDs