Initial Setup of the Processor for Paradigm Debugger, Assignments of Computer Science

The steps to re-establish communications between the tern ac86 board and the paradigm software by going through the initial setup of the processor. The process involves loading and executing the paradigm loader and downloading and running the paradigm debugger.

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-0ua
koofers-user-0ua 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Installing the Debugger Initial Setup of the Processor
What is this?
Occasionally, the debugger that communicates between the Tern AC86 board and the
Paradigm software may become messed up by various programs. In order to re-establish
communications with the AC86 board, you will need to go through the initial setup of the
processor. This consists of the following two steps:
1. Load and execute the Paradigms loader. The built-in ROM based loader/debugger is
used to do this.
2. Use the Paradigm loader to download and run the Paradigm debugger that enables the
Paradigm software on the PC to communicate with the Tern AC86 board.
Procedure
To use the built-in (ROM based) loader/debugger to install the Paradigm debugger, do
the following:
1. Remove the Prog jumper on the PS-Comm board.
2. Reset the processor by pressing the RESET button or by unplugging and
reconnecting the power supply.
3. Start Hyperterminal on your PC from the Start->Accessories->Communications
Menu.
4. On Hyperterminal, go to File->Properties menu and wait for the dialog box to
appear.
5. On Hyperterminal, click on the configure button to select the PCs COM port you
are using to communicate with the Tern AC86 board. The debugger uses serial
port 0 on the AM186 processor. Be sure you are using the correct COM port on
the PC. As an example, if you are using the USB interface to the PS-Comm
board, the serial communication on the PC will typically be mapped to COM3 to
pass through the USB connection.
6. On Hyperterminal, set the Following properties
a. Flow Control = None
b. Baud Rate = 19200
7. After this is done if you hit 'M' (make sure it is CAPITAL) then you should see
the menu appear.
8. Press 'D' for download.
9. Go to the Transfer menu and click on "Send Text File" (NOT "Send File").
10. Browse to the following file: L_TDREM.HEX and select it.
11. You should see Us appear on the HyperTerminal screen to indicate that the file is
being downloaded .
12. Once the file has been downloaded, after a couple of minutes type G04000
(ENTER) to start running the code which you have downloaded.
13. You should see some text appear on the HyperTerminal Screen telling you it is
ready for another download: the Paradigm debugger download.
14. Go to the Transfer menu and select "Send Text File" again.
pf2

Partial preview of the text

Download Initial Setup of the Processor for Paradigm Debugger and more Assignments Computer Science in PDF only on Docsity!

Installing the Debugger – Initial Setup of the Processor

What is this?

Occasionally, the debugger that communicates between the Tern AC86 board and the Paradigm software may become messed up by various programs. In order to re-establish communications with the AC86 board, you will need to go through the initial setup of the processor. This consists of the following two steps:

  1. Load and execute the Paradigm’s loader. The built-in ROM based loader/debugger is used to do this.
  2. Use the Paradigm loader to download and run the Paradigm debugger that enables the Paradigm software on the PC to communicate with the Tern AC86 board.

Procedure

To use the built-in (ROM based) loader/debugger to install the Paradigm debugger, do the following:

  1. Remove the Prog jumper on the PS-Comm board.
  2. Reset the processor by pressing the RESET button or by unplugging and reconnecting the power supply.
  3. Start Hyperterminal on your PC from the Start->Accessories->Communications Menu.
  4. On Hyperterminal, go to File->Properties menu and wait for the dialog box to appear.
  5. On Hyperterminal, click on the configure button to select the PC’s COM port you are using to communicate with the Tern AC86 board. The debugger uses serial port 0 on the AM186 processor. Be sure you are using the correct COM port on the PC. As an example, if you are using the USB interface to the PS-Comm board, the serial communication on the PC will typically be mapped to COM3 to pass through the USB connection.
  6. On Hyperterminal, set the Following properties a. Flow Control = None b. Baud Rate = 19200
  7. After this is done if you hit 'M' (make sure it is CAPITAL) then you should see the menu appear.
  8. Press 'D' for download.
  9. Go to the Transfer menu and click on "Send Text File" (NOT "Send File").
  10. Browse to the following file: L_TDREM.HEX and select it.
  11. You should see Us appear on the HyperTerminal screen to indicate that the file is being downloaded.
  12. Once the file has been downloaded, after a couple of minutes type G (ENTER) to start running the code which you have downloaded.
  13. You should see some text appear on the HyperTerminal Screen telling you it is ready for another download: the Paradigm debugger download.
  14. Go to the Transfer menu and select "Send Text File" again.
  1. Select the following file: AE86_115.HEX.
  2. You should see Vs appearing on the screen, indicating the download of the file.
  3. After the download is complete type GFA000 (ENTER) to start running the Paradigm debugger.
  4. Reconnect the Prog jumper and cycle the power supply again to reset the processor (i.e., push the RESET button).
  5. You are all set for using the Paradigm Software. Start the Paradigm software. Go to the Debug/Connect menu to verify communications with the processor.
  6. Have fun programming.

Further information

If you want to run your program without using the Paradigm debugger (stand-alone), do the following:

  1. Using the Paradigm debugger on the PC, load your program into the Tern AC86. Paradigm typically loads your program at 0x08000 in the RAM.
  2. Follow steps 1 through 7 above.
  3. Type G08000. This will start your program.
  4. Reinstall the Prog jumper. Pushing the RESET button will start your program again.

To restart the Paradigm debugger, you can follow steps 1 through 20 above or do the following:

  1. Follow steps 1 through 7 above.
  2. Type GFA000. This will start the Paradigm debugger.
  3. Reinstall the Prog jumper. Pushing the RESET button will start the Paradigm debugger.