Professional Documents
Culture Documents
Recursos avançados
Runtime watches
DMCI – Data Monitoring and Control
Interface
Trace
Stopwatch
Advanced breakpoints
Logic probes
Oscilador
Configurações
Velocidade de Depuração
Confirmar a atividade do oscilador
Recomendação: testar inicialmente
com configuração de oscilador interno
Setup de configurações
conflitantes
© 2009 Microchip Technology Incorporated. All Rights Reserved. Slide 16
Objetivos do Demo 1
Para quando
Contador de Programa = Endereço de
Breakpoint
Os recursos de hardware estão
no microcontrollador
Número Limitado
“Escorregamento” (Skid) graças
ao método de comparação
Software Breakpoints
Advanced Breakpoints
Stopwatch
Runtime watches
DMCI – Data Monitor and
Control Interface
Data Breakpoints
Event Breakpoints
ANDed Breakpoints
Sequenced Breakpoints
Stopwatch
O que é o DMCI?
Quais as aplicações para o DMCI?
Breakpoint Dialog
Data Breakpoint
Stopwatch
Runtime Watches
DMCI – Data Monitor Control
Interface
Breakpoint Dialog
Data Breakpoint
Stopwatch
Runtime Watches
DMCI – Data Monitor Control
Interface
Software Breakpoints
Advanced Breakpoints
Stop Watch
Runtime Watches
DMCI – Data Monitor Control
Interface
Usa o PGC/PGD
Mais lento
Mais rápido
Requer LVDS e o periférico SPI (2
pinos adicionais)
O Mais rápido
Requer 8 pinos
Setup do Trace
Adicionar Log e declaração para o
Trace
Decifrador de dados do Trace
Setup do Trace
Adicionar Log e declaração para o
Trace
Decifrador de dados do Trace
Elétrico
Ruído
Oscilador
Configuração
Velocidade
Recursos
Use o Self-Test Board
Forums na Web
Websites de códigos
Ajuda do MPLAB® IDE
FAE local, peça um ticket em
microchip.com
#ifdef EMULATOR
BOOL gblSTAYINTRAP = TRUE;
#else
#define gblSTAYINTRAP 1
#endif
void __attribute__((__interrupt__,__no_auto_psv__))
_AddressError(void)
{
INTCON1bits.ADDRERR = 0;
_HALT();
while(gblSTAYINTRAP);
}
#ifdef EMULATOR
#define HASSERT(x) {if(!x){_HALT();}}
#else
#define HASSERT(x)
#endif
The Microchip name and logo, the Microchip logo, Accuron, dsPIC,
KeeLoq, KeeLoq logo, MPLAB, PIC, PICmicro, PICSTART, PRO MATE,
rfPIC and SmartShunt are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
FilterLab, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL,
SmartSensor and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM,
dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,
FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi,
MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit,
PICDEM, PICDEM.net, PICtail, PIC32 logo, PowerCal, PowerInfo,
PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance,
UNI/O, WiperLock and ZENA are trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the
U.S.A.
All other trademarks mentioned herein are property of their respective
companies.
© 2008, Microchip Technology Incorporated. All Rights Reserved.