Datasheet
© 2005 Microchip Technology Inc. DS70043F-page 45
dsPIC30F
11.2 MPLAB ASM30 Assembler/Linker/
Librarian
MPLAB ASM30 is a full-featured Macro Assembler.
User-defined macros, conditional assembly and a
variety of assembler directives make the MPLAB
ASM30 a powerful code generation tool.
The accompanying MPLAB LINK30 Linker and MPLAB
LIB30 Librarian modules allow efficient linking, library
creation and maintenance.
Notable features of the assembler include:
• Support for the entire dsPIC instruction set
• Support for fixed-point and floating-point data
• Available for Windows
• Command Line Interface
• Rich Directive Set
• Flexible Macro Language
• MPLAB IDE compatibility
Notable features of the linker include:
• Automatic or user-defined stack allocation
• Supports dsPIC Program Space Visibility (PSV)
window
• Available for Windows
• Command Line Interface
• Linker scripts for all dsPIC devices
• MPLAB IDE compatibility
11.3 MPLAB SIM30 Software Simulator
The MPLAB SIM30 software simulator provides code
development for the dsPIC30F family in a PC-hosted
environment by simulating the dsPIC30F device on an
instruction level. On any instruction you can examine or
modify the data areas and apply stimuli to any of the
pins from a file or by pressing a user-defined key
The execution can be performed in Single Step,
Execute Until Break or Trace mode. The MPLAB
SIM30 software simulator fully supports symbolic
debugging using the MPLAB C30 compiler and
assembler. The software simulator gives you the
flexibility to develop and debug code outside of the
laboratory environment, making it an excellent multi-
project software development tool. Complex stimuli
can be injected from files, synchronous clocks or user-
defined keys. Output files log register activity for
sophisticated post analysis.
Besides modeling the behavior of the CPU, MPLAB
SIM 30 also supports the following peripherals:
•Timers
• Input Capture
• 12-bit ADC
• 10-bit ADC
• Motor Control PWM
•UART
• I/O Ports
• Program Flash and Data EEPROM
11.4 MPLAB Visual Device Initializer
The MPLAB Visual Device Initializer (VDI) simplifies
the task of configuring the dsPIC30F. MPLAB VDI
software allows you to configure the entire processor
graphically (see Figure 11-2). And when you’re done, a
mouse click generates your code in Assembly or
C code. MPLAB VDI performs extensive error checking
on assignments and conflicts on pins, memories and
interrupts as well as selection of operating conditions.
Generated code files are integrated seamlessly with
the rest of our application code through MPLAB
Project.
Detailed resource assignment and configuration
reports simplify project documentation. Key features of
MPLAB VDI include:
• Drag-and-drop feature selection
• One click configuration
• Extensive error checking
• Generates initialization code in the form of a
C-callable assembly function
• Integrates seamlessly in MPLAB Project
• Printed reports ease project documentation
requirements
• MPLAB Visual Device Initializer is an MPLAB
plug-in and can be installed independently of
MPLAB
FIGURE 11-2: MPLAB VDI DISPLAY