Answered Essay: DE2-.qsf file -> https://drive.google.com/open?id=0B6gZ0jUZ-U4ndV9tOEk2Sl80cG8

DE2-.qsf file -> https://drive.google.com/open?id=0B6gZ0jUZ-U4ndV9tOEk2Sl80cG8

When importing the pin assignments file for the DE2-board, t is important to use Advanced Import Set-tings To do so, click the Advanced button on the Import Assignments screen as shown in Figure I. Then, check Global assignments check box as shown in Figure 2 and press the OK button. Please note that omitting this step on a DE2-board may cause a compile time error. Import Assignments Specify the source and categories of assignments to import File name: D:lab1/part1/DE2_7 凹copy existing assignments into test.qsf.bak before importing pin assignments.qsf Categories Advanfed Help OK Cancel Figure 1. DE2-Board Import Assignments window.Consider the circuit shown in Figure 9. It uses a three-bit wide 5-to-1 multiplexer to enable the selection of five characters that are displayed on a 7-segment display. Using the 7-segment decoder from Part IV this circuit can display any of the characters H, E, L, O, and blank. The character codes are set according to Table 1 by using the switches SW14-0, and a specific character is selected for display by setting the switches SW17-15. An outline of the Verilog code that represents this circuit is provided in Figure 10. Note that we have used the circuits from Parts III and IV as subcircuits in this code. You are to extend the code in Figure 10 so that it uses five 7-segment displays rather than just one. You will need to use five instances of each of the subcircuits. The purpose of your circuit is to display any word on the five displays that is composed of the characters in Table 1, and be able to rotate this word in a circular fashion across the displays when the switches SW17-15 are toggled. As an ex- ample, if the displayed word is HELLO, then your circuit should produce the output patterns illustrated in Table 2. SW SW SW 17 16 15 SW 0 14 12 11-9 8-6 001 6 7-segment decoder SW SW SW 4 100 Figure 9. A circuit that can select and display one of five characters.

When importing the pin assignments file for the DE2-board, t is important to use Advanced Import Set-tings To do so, click the Advanced button on the Import Assignments screen as shown in Figure I. Then, check Global assignments check box as shown in Figure 2 and press the OK button. Please note that omitting this step on a DE2-board may cause a compile time error. Import Assignments Specify the source and categories of assignments to import File name: D:lab1/part1/DE2_7 凹copy existing assignments into test.qsf.bak before importing pin assignments.qsf Categories Advanfed Help OK Cancel Figure 1. DE2-Board Import Assignments window.

Expert Answer

 

The Microchip ICD3 is a great low cost USB programmer we recommend for carrying out in circuit firmware programming and upgrades of Microchip microcontrollers. There are other programmers that are also suitable, however this guide is deals with the Microchip ICD3.

1. Purchase a Microchip ICD 3 Debugger / Programmer (Microchip part number DV164035).

2. Make the necessary cable to connect to the programming header on the PCB.

3. Download MPLAB X from the Microchip Web Site (its free).

4.Now run MPLAB IPE from the ‘MPLAB X IDE’ programs folder.

5. Select the ‘Family’ of the microcontroller (usually the first few letters of its part number, e.g. “PIC18” or “PIC32″)

6. Now select the ‘Device’, using its whole part number .

7. For ‘Tool’ select the ‘ICD 3’ (if it is not shown see the notes section below)

8. Press ‘Apply’

9. Press ‘Connect”. The Output window will show the results, which may involve the software updating the programmer for a couple of minutes. Don’t worry if you get a ‘Target device was not found’ error, this will occur unless your target PCB is connected to the programmer and powered up.

10. Now press the ‘Source’ Browse button:

mplab_ipe_file_browse

Select the .hex file to program the device with.

11. You are now all set to program the microcontroller on your boards.

Connect the programmer to the PCB programming connector. If the connector is a simple pin header pin 1 will be marked with an arrow on the PCB and pin 1 of your programming cable connector should also be marked in some way.

Press the ‘Program’ button.

The “ICD 3” output window at the bottom of the screen will tell you if the programming operation was successful or not.

Repeat this for each PCB to be programmed.

Notes

This guide isn’t extensive and Microchip may have altered their software since it was written. If you run into problems please contact us.

If you can’t connect to the ICD 3 programmer (e.g. it isn’t shown) try using the Microchip “MPLAB Driver Switcher” tool. Its in the same “MPLAB X IDE” start menu folder – right click it and select Run As Administrator and then use it to set the ICD 3 to be used by ‘MPLAB X’, not ‘MPLAB’.

If you have problems with programming continually failing then check your programming cable from the ICD3 to the PCB. Problems have been experienced in the past with cables that appear fine when tested with a continuity tester but due to poor connections would cause programming to inexplicably fail. If in doubt make a new cable to be sure this is not the problem.

Using MPLAB (not MPLAB X) – The Old Method

Ensure your PC is running the latest version of MPLAB IDE (V7.# or higher which may be downloaded from www.microchip.com) – this must be installed before connecting the ICD2/3 programmer to the PC.

  1. Connect the ICD2/3 programmer to your PC using its USB cable (do not connect its power supply – it will take its power from the USB port). If it is the first time it has been connected wait for Windows to finish installing the USB drivers. Then run the Microchip MPLAB IDE software.
  2. From the menu select:- ‘Configure’ > ‘Select Device’ > Select the device you are programming (you can find this in the manufacture documentation, on the circuit diagram or by looking at the part number on the PCB).
  3. From the menu select:- ‘Programmer’ > ‘Select Programmer’ > ‘ICD2’ or ‘ICD3’
  4. From the menu select:- ‘Programmer’ > ‘Settings’. Ensure that ‘Allow ICD2/3 to select memories and ranges’ IS checked in the ‘Program’ tab:

icp-with-icd2-11

  1. Select the Power tab and, unless directed otherwise in the IBEX manufacture documentation, made sure the ‘Power target circuit from MPLAB ICD2/3’ is NOT checked. Press ‘Apply’ and then ‘OK’ to close the window
  2. From the menu select:- ‘File’ > ‘Import’ > Select the ROM firmware file to be used ([filename].hex).

Then for each PCB to program follow the following procedure:

  1. Disconnect power from the PCB if it is powered.
  2. Connect the ICD2 to the ‘Programming’ header, ensuring pin 1 of the ICD2 cable (marked on connector) connects to pin 1 of the PCB connector (indicated by 2 arrows on our PCB’s).   (If connecting to a 7 pin PCB header then pins 6 & 7 will be un-connected)
  3. Power the PCB (always after connecting the ICD2 to it).
  4. Press the ‘Program Target Device’ button in MPLAB.

  1. Watch the ‘Output’ window and wait for programming and verifying to complete.
  2. Disconnect the PCB power.
  3. Disconnect the ICD2/3 programming lead from the PCB
  4. Re-power the PCB
  5. Verify the correct operation of the PCB using the new firmware
Buy Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

24/7 Customer Support

Our agents are ready to help you around the clock. Please feel free to reach out and enquire about anything.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

STEP 1

Submit Your Essay/Homework Instructions

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

STEP 2

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

STEP 3

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.

STEP 4

Receive your Paper

After Editing, your paper will be sent to you via email.

× How can I help you?