Debug Monitor Breakpoints Software Breakpoints On-chip Breakpoints for Instructions On-chip Breakpoints for Data Memory Classes Programming the On-chip FLASH of the dsPIC33 Special Hints, Restrictions, and Known Problems Special Hints Restrictions Known Problems CPU specific SYStem Settings ..................SYStem.CLockPrescaler...
(the document you are reading at the moment) is CPU specific, while all other parts of the online help are generic for all CPUs supported by Lauterbach. So if there are questions related to the CPU, the Processor Architecture Manual should be your first choice.
WinPOS command. NOTE: Due to the architecture of the dsPIC33 microcontroller, the on-chip breakpoints halt the target two instructions after the program counter (PC) reached the address of an on-chip breakpoint. This is called skid. Programming a Productive Application Binary To write an application where the debug access is disabled to the program memory, a different approach must be used.
The debug monitor is designed to support all basic and advanced debug features offered by a certain dsPIC33 family. The Lauterbach debug monitors require up to 2.908 Bytes of memory and must be loaded to the address P:0x800000. This is a separate area in the flash memory and does not affect the space available for user programs.
Up to five on-chip breakpoints of dsPIC33 MCUs can be used as data breakpoints. On the slave core of a dsPIC33CH derivative one data breakpoint is available.
Memory Classes The dsPIC33 architecture is a Harvard-type processor architecture. Therefore, following different memory access classes are available: Access Class Description Data Program To access a memory class, write the class in front of the address. For example, use D to access the data memory: Data.dump D:0x00...
Programming the On-chip FLASH of the dsPIC33 The PRACTICE script for programming of the on-chip FLASH of a dsPIC33 can be found in the TRACE32 demo folder ~~/demo/pic/flash/. For programming the program memory of a dsPIC33E core, the script dspic33epxxx.cmm should be used.
SYStem.Option.FreezePer [ON | OFF] Default: OFF. The on-chip peripherals of a dsPIC33 chip have can be configured to freeze when the program execution is interrupted. Several of those peripherals have no separate FREEZE bit in the configuration registers. All the peripherals lacking such a FREEZE are globally controlled by this configuration bit.
This option is not supported by all dsPIC33 MCUs. Several dsPIC33 MCUs support an on-chip Flash memory which can be split into two partitions. The active partition begins at address 0x000000 and in case of a dual partition configuration, the inactive partition begins at address 0x400000.
Target Adaption Probe Cables For debugging a dsPIC33 single or master core, the following kinds of probe cables can be used to connect the debugger to the target: • Debug Cable • CombiProbe The debug logic of the dsPIC33CH family only allows to debug a single core at a time. Debugging the second core requires either a second Debug Cable with a second tool set or a CombiProbe with two Whiskers.
Need help?
Do you have a question about the dsPIC33 and is the answer not in the manual?
Questions and answers