Motorola USB08 Betriebsanleitung Seite 95

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 100
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 94
95
QUICK TOUR
A quick introduction to the capabilities of Xplor8.
The tour assumes that you are able to unlock FLASH memory on the MCU you are using - either
because the chip is already fully erased or because you know the security byte sequence. If you are not
able to unlock the chip, you will have to mass erase it first - see the last item below.
1. Listing Memory
If you are able to list (or dump) memory contents then at least you know that the PC is interfacing
correctly with the monitor firmware on the MCU. Type the following example of the List Memory
command (page 50) on the command line, and press <Enter>:
L 0 <enter>
Note the space between the 'L' and the zero. This should produce a listing of the first sixteen addresses
on the MCU. Why sixteen? - because this is the default for the number of locations to list. It may be
changed on the Settings>General tab. If you type:
L 0 2 <enter>
then you will get a listing of the first three locations only. Note that address arguments supplied to
Xplor8 commands always specify an inclusive range.
2. Reading a control register
Try using the Register Display and Change command (page 55). Type the following on the command
line, but note that some MCUs have a CONFIG1 and CONFIG2 register, so you may have to change
the name to suit:
R CONFIG <enter>
This should produce something like:
001F CONFIG [$00,# 0] 0 0 URSTD LVID SSREC COPRS STOP COPD
Note that the individual bits are named (where appropriate) and displayed in bold if set.
3. Loading an S19 file
Try loading an S19 file to FLASH memory. The 'Samples' sub-folder of the Xplor8 installation folder
contains a file named 'Looptest.asm' which has been assembled to start at $FB00 in the file
LOOPTEST.S19. If you have free FLASH at this address (press Ctrl+M for the memory map), then
you can proceed to load it immediately, otherwise it will require re-assembling at a suitable address.
The files LOOPTEST.LST and LOOPTEST.SYM are also included in the folder. To load the file,
click the 'Load S19 to MCU' speedbutton, and navigate to the 'Samples' sub-folder. Open the file
LOOPTEST.S19. The output window should display the messages:
Seitenansicht 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100

Kommentare zu diesen Handbüchern

Keine Kommentare