Freescale-semiconductor Microcontrollers Uživatelský manuál Strana 651

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 892
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 650
ColdFire V1 Full Chip Simulation Connection
Electrical Signal Generators and Signals Application to Device Pins
651
Microcontrollers Debugger Manual
SETSIGNALFILE Command
SETSIGNALFILE specifies the signal file to use.
The SETSIGNALFILE X command creates a virtual SignalGeneratorX module
having a SignalPin.
The file name can include the path of the file. If no path is given, the Signal
component will first search in the current project folder, then in the prog\FCSsignals
folder of the debugger installation path.
Syntax
SETSIGNALFILE <value (0-15)> <"file name">
Example
To create three generators:
setsignalfile 0 "sinus_11bit_0_5v_1Hz.txt"
setsignalfile 1 "saw_11bit_0_5v_1Hz.txt"
setsignalfile 2 "square_1_5v_1Hz.txt"
Then, perform virtual pin connections with the Pinconn IO
CONNECT command:
connect "SignalGenerator0.SignalPin","Atd0.PAD0"
connect "SignalGenerator1.SignalPin","Atd0.PAD1"
connect "SignalGenerator2.SignalPin","Atd0.PAD2"
TIP Commands to create a signal generators can be placed in a command file like a
Postload command file.
CLOSESIGNALFILE Command
CLOSESIGNALFILE closes the current signal file and generator.
Syntax
CLOSESIGNALFILE <value (0-15)>
Example
CLOSESIGNALFILE 1
Zobrazit stránku 650
1 2 ... 646 647 648 649 650 651 652 653 654 655 656 ... 891 892

Komentáře k této Příručce

Žádné komentáře