Dynamic C - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Dynamic C

Description:

Usar const : const int x = 0 ... No se usa el include , se usa la directiva #use ... Ctrl W Opens the Watch Expression Dialog Box. ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 11
Provided by: Univer88
Category:
Tags: dialog | dynamic

less

Transcript and Presenter's Notes

Title: Dynamic C


1
Dynamic C
2
Dynamic C
  • Es un sistema de desarrollo integrado, con
    capacidades de
  • Editar
  • Compilar, Linkar y Programar
  • Depurar
  • Depurar incluye capacidades de
  • Printf
  • watch
  • breakpoints

3
Diferencias con C
  • Si inicializamos una variable en la declaración(
    int x 0), se guarda en memoria flash (EEPROM)
    y no puede ser modificada. Usar const const int
    x 0
  • Para inicializar variables en RAM se usa la
    sección GLOBAL_INIT despues de la declaración de
    variable y antes del código
  • GLOBAL_INIT
  • x 1234
  • No se usa el include , se usa la directiva use
  • Cuando se declaran punteros a funciones, no se
    puede usar argumentos
  • No hay campo de Bit.
  • No se compilan diferentes partes por separado.

4
Dynamic C
5
Menus generales
Edit
File
Window
6
Menu Options-gt Project Options
Forma de conexión
Selección de módulo
7
Menu Compile
  • Compilar
  • Conecta con el módulo y le envía el programa
  • Ya esta programado, pasa a modo de ejecución para
    depurar (F4 para volver a modo edición)
  • Si quitamos el cable y reseteamos el módulo
    ejecuta el programa

8
Menus Run e Inspect
  • Run e Inspect
  • Permiten depurar el funcionamiento del programa
  • Contienen las típicas funciones de puntos de
    ruptura, ver variables, ejecutar paso a paso,

9
Menu Help
  • Help
  • Multiples ayudas sobre el lenguaje
  • Busqueda de funciones de librería
  • Ayuda sobre el microprocesador
  • Foros de discusión

10
Teclas de función
  • Ctrl W Opens the Watch Expression Dialog Box.
  • Ctrl Q Stops program execution at the next
    breakable statement.
  • Ctrl U Updates the watch expressions in the
    watch window.
  • F2 Set up a soft breakpoint at the current cursor
    position.
  • F4 Return to edit mode from debug mode.
  • F5 Compile the program according to the BIOS
    memory setting from Project Options in the
    Compiler tab. The program will be ready to
    execute after compilation.
  • F8 Executes one C statement (or one assembly
    language instruction if the assembly window is
    displayed) without descending into functions.
  • F9 Run the program or continue running the
    program if the program is stopped.
  • F10 Opens the disassembly window.
  • F11 Opens register window.
  • F12 Opens stack window.
Write a Comment
User Comments (0)
About PowerShow.com