From 062f55ca3ea77ebcace83aab4772c9cd3f28ec34 Mon Sep 17 00:00:00 2001 From: henryk Date: Fri, 23 Nov 2007 10:30:50 +0000 Subject: Commit status quo (pending cleanup of the debug and experimental code that I added during the last week) Change freertos code to not mask FIQ, this finally makes the FIQ working (with approx 700ns +/- 100ns latency; yeah!) and therefore reception starts working Change to two times oversampling (keep four times oversampling code ifdef'd, extract all the magical values to a header file) because at four times oversampling every other sample is very close to a possible data edge and therefore not reliable git-svn-id: https://svn.openpcd.org:2342/trunk@347 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/cmd.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'openpicc/application/cmd.c') diff --git a/openpicc/application/cmd.c b/openpicc/application/cmd.c index dba4e3e..d8a88df 100644 --- a/openpicc/application/cmd.c +++ b/openpicc/application/cmd.c @@ -256,6 +256,17 @@ void prvExecCommand(u_int32_t cmd, portCHAR *args) { DumpStringToUSB(" * SSC status: "); DumpUIntToUSB(AT91C_BASE_SSC->SSC_SR); DumpStringToUSB("\n\r"); + DumpStringToUSB(" * TC0_CV value: "); + DumpUIntToUSB(*AT91C_TC0_CV); + DumpStringToUSB("\n\r"); + DumpStringToUSB(" * SSC_RCMR value: "); + DumpUIntToUSB(*AT91C_SSC_RCMR); + DumpStringToUSB("\n\r"); + DumpStringToUSB(" * is remapped?: "); + DumpStringToUSB( (*(int*)0x00100100 == *(int*)0x00000100) ? "no" : + ((*(int*)0x00200100 == *(int*)0x00000100) ? "yes" : "foo") + ); + DumpStringToUSB("\n\r"); DumpStringToUSB( " *\n\r" " *****************************************************\n\r" -- cgit v1.2.3