diff --git a/ChangeLog b/ChangeLog index cf1dd50aa40..7d192fb53be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7135,3 +7135,11 @@ crashes. This was fixed by David Sidrane by implementing RAM functions. The killer code is copied and executed from ISRAM and the crash is avoided (2014-4-3). + * configs/sama5d3-xplained/Kconfig and include/board*.h; + configs/sama5d3x-ek/Kconfig and include/board*.h: Add support for + 528MHz CPU clock (2014-4-3). + * arch/arm/src/sama5/Make.defs: Fix a build error that occurs when + only USB device tracing is enabled (2014-4-4). + * Documentation/UsbTrace.html: Add some discussion of the USB monitor + (2014-4-4). + diff --git a/Documentation/UsbTrace.html b/Documentation/UsbTrace.html index e85377756ef..767b587369d 100644 --- a/Documentation/UsbTrace.html +++ b/Documentation/UsbTrace.html @@ -328,5 +328,125 @@ static int pl2303_setup(FAR struct uart_dev_s *dev) And the interrupt returns +

USB Monitor. + The USB monitor is an application in the apps/system/usbmonitor that provides a convenient way to get debug trace output. + If tracing is enabled, the USB device will save encoded trace output in in-memory buffer; + if the USB monitor is also enabled, that trace buffer will be periodically emptied and dumped to the + system logging device (the serial console in most configurations). + The following are some of the relevant configuration options: +

+ +

+ NOTE: If USB debug output is also enabled, both outputs will appear on the serial console. + However, the debug output will be asynchronous with the trace output and, hence, difficult to interpret. +

diff --git a/arch/arm/src/sama5/Make.defs b/arch/arm/src/sama5/Make.defs index fd657060bf5..181abe1ed4d 100644 --- a/arch/arm/src/sama5/Make.defs +++ b/arch/arm/src/sama5/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # arch/arm/sama5/Make.defs # -# Copyright (C) 2013 Gregory Nutt. All rights reserved. +# Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -162,6 +162,7 @@ ifeq ($(CONFIG_SAMA5_UDPHS),y) CHIP_CSRCS += sam_udphs.c endif +ifeq ($(CONFIG_USBHOST),y) ifeq ($(CONFIG_USBHOST_TRACE),y) CHIP_CSRCS += sam_usbhost.c else @@ -169,6 +170,7 @@ ifeq ($(CONFIG_DEBUG_USB),y) CHIP_CSRCS += sam_usbhost.c endif endif +endif ifeq ($(CONFIG_SAMA5_HSMCI0),y) CHIP_CSRCS += sam_hsmci.c sam_hsmci_clkdiv.c