From fba809d7c81d8167f998ff77d8f8772de386938d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 30 Nov 2015 17:37:01 -0600 Subject: [PATCH] Update README files --- configs/same70-xplained/README.txt | 10 ++++++++++ configs/samv71-xult/README.txt | 9 +++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/configs/same70-xplained/README.txt b/configs/same70-xplained/README.txt index edee686fd6..43f781f706 100644 --- a/configs/same70-xplained/README.txt +++ b/configs/same70-xplained/README.txt @@ -115,6 +115,11 @@ Any of these options can be selected as the serial console by: 2. Configuring the peripheral in the "Drivers -> Serial Configuration" menu. +NOTE: If USART1 is used (TXD1, RXD1), then PB4 must be reconfigured in the +SUPC. Normally, PB4 is TDI. When it is reconfigured for use with USART1, +the capability to debug is lost! If you plan to debug you should most +certainly not use USARTs. + SD Card ======= @@ -618,6 +623,11 @@ settings: CONFIG_SAMV7_USBHS_NDTDS=32 : Number of DMA transfer descriptors CONFIG_SAMV7_USBHS_PREALLOCATE=y : Pre-allocate descriptors +As discussed in the SAMV71-XULT README, this driver will not work correctly +if the write back data cache is enabled. You must have: + + CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y + In order to be usable, you must all enabled some class driver(s) for the USBHS device controller. Here, for example, is how to configure the CDC/ACM serial device class: diff --git a/configs/samv71-xult/README.txt b/configs/samv71-xult/README.txt index ca946c46db..35c9296a05 100644 --- a/configs/samv71-xult/README.txt +++ b/configs/samv71-xult/README.txt @@ -236,6 +236,11 @@ Any of these options can be selected as the serial console by: 2. Configuring the peripheral in the "Drivers -> Serial Configuration" menu. +NOTE: If USART1 is used (TXD1, RXD1), then PB4 must be reconfigured in the +SUPC. Normally, PB4 is TDI. When it is reconfigured for use with USART1, +the capability to debug is lost! If you plan to debug you should most +certainly not use USARTs. + SD Card ======= @@ -938,9 +943,9 @@ settings: CONFIG_SAMV7_USBHS_PREALLOCATE=y : Pre-allocate descriptors As noted above, this driver will not work correctly if the write back -data cache is enable: +data cache is enabled. You must have: - CONFIG_ARMV7M_DCACHE_WRITETHROUGH=n + CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y In order to be usable, you must all enabled some class driver(s) for the USBHS device controller. Here, for example, is how to configure the CDC/ACM