From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12578 invoked by alias); 29 May 2013 15:09:11 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 12560 invoked by uid 89); 29 May 2013 15:09:10 -0000 X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_HOSTKARMA_YE,SPF_FAIL autolearn=no version=3.3.1 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 29 May 2013 15:09:06 +0000 Received: from tom.nabble.com ([192.168.236.105]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Uhhzt-0005aa-8j for ecos-discuss@ecos.sourceware.org; Wed, 29 May 2013 08:09:05 -0700 Date: Wed, 29 May 2013 15:09:00 -0000 From: Felix R To: ecos-discuss@ecos.sourceware.org Message-ID: <1369840145264-233568.post@n7.nabble.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: RTC doesn't work? X-SW-Source: 2013-05/txt/msg00052.txt.bz2 i found a issue in your code, but i this is only a typo in the demo: while(1) { HAL_READ_UINT32(CYGARC_REG_SYSTICK_BASE+CYGARC_REG_SYSTICK_VALUE, timerVal0); timerVal*2*= cyg_current_time(); printf("%u\n", timerVal0); //it's okay...i counts down! printf("%u\n", timerVal*1*); //always 0 :-( } -- View this message in context: http://sourceware-org.1504.n7.nabble.com/RTC-doesn-t-work-tp233422p233568.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss