FAQs for AVR32 NEXUS Debugger and Trace
|Are there modifications of Atmel EVBs for using Nexus trace?|
To be sure that trace signals on the EVB are really released and available for Nexus trace,
the system offers a diagnostic command. Just enter: DIAG 3016
The result will be displayed in the AREA window.
Possibly for the following EVBs, modifications are needed to be able to use Nexus trace:
|Is a breakpoint instruction allowed in the code?|
Breakpoint instructions are not allowed in code if a debugger is used for debugging.
Without a debugger, a breakpoint instruction is executed as a NOP instruction. In this case, the code will work anyway.
If a debugger is involved , program execution will stop at the breakpoint. The user program will not work.
|Which impacts regarding real time behavior must be expected if the Nexus trace is activated?|
As long as just program trace is activated and MCKO is set to CPU clock, no speed impacts must be expected.
In special cases , just Flowerrors may be visible in the trace list window which may cause flow lost in the trace
list. But there is still no speed impact of real time program execution.
In case of slower MCKO (1/2, 1/4 etc. CPU clock) and in case of data trace is additionally activated, also no speed
impacts can be recognized. However the trace contents is possibly not usable due to not sufficient or wrong
information from the Nexus cell of the device.
To be able to get correct trace information from the device anyway, there is an overrun control register which allows
either to generate over flow messages or to avoid nexus FIFO overruns.
(Nexus FIFO overruns normally cause unusable trace buffer contents)
This mechanism however, may causes real time program execution impacts for the case, the Nexus FIFO
threaten to overflow. How much it depends on the user program and if data-rd and/or data-wr
messaging is enabled.
(This is not a problem of the debugger, but of the device)
Copyright © 2021 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 11-May-2021