From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13306 invoked by alias); 24 Dec 2012 08:45:42 -0000 Received: (qmail 13280 invoked by uid 22791); 24 Dec 2012 08:45:39 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SARE_PROLOSTOCK_SYM3,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s14.bay0.hotmail.com (HELO bay0-omc1-s14.bay0.hotmail.com) (65.54.190.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Dec 2012 08:45:32 +0000 Received: from BAY163-W61 ([65.54.190.59]) by bay0-omc1-s14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 24 Dec 2012 00:45:32 -0800 X-EIP: [hI8a/OQwFkac4Bkvm4hwQxylevKkF8AtiABnQ5/wvvU=] Message-ID: From: tangwei To: Date: Mon, 24 Dec 2012 08:45:00 -0000 In-Reply-To: References: <20121101140156.9515@web002.roc2.bluetie.com>, Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-IsSubscribed: yes 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 Subject: [ECOS] ecos for STM32F4-discovery problem X-SW-Source: 2012-12/txt/msg00053.txt.bz2 Dear all, I use the hal_stm32x0_led(char c) debug,and found it have trouble in stm32_misc.c 's hal_variant_init() , hal_stm32x0_led(3) run OK,hal_stm32x0_led(7) failed void hal_variant_init( void ) { #if 1 //!defined(CYG_HAL_STARTUP_RAM) hal_start_clocks(); #endif // Attach EXTI springboard to interrupt vectors HAL_INTERRUPT_ATTACH( CYGNUM_HAL_INTERRUPT_EXTI9_5, hal_exti_isr, 0, 0 ); HAL_INTERRUPT_ATTACH( CYGNUM_HAL_INTERRUPT_EXTI15_10, hal_exti_isr, 0, 0 ); #ifdef CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT hal_stm32x0_led(3); hal_if_init(); hal_stm32x0_led(7); #endif } I think it is caused by the difference between STM32F407IGH6 and STM32F407VGT6 , does anyone have an idea? ---------------------------------------- > From: tziang@hotmail.com > To: ecos-discuss@ecos.sourceware.org > Subject: ecos for STM32F4-discovery problem > Date: Fri, 9 Nov 2012 17:32:16 +0800 > > > > Dear all, > > I have a board named STM32F4-Discovery(STM32F407VGT6) which is similar as the STM3240G-EVAL(STM32F407IGH6) board, > > I use the redboot setting for the EVAL board,use the ROMINT start-up, > > then download the redboot.bin into flash start from 0x08000000, but the UART4(pc10-TX,pc11-RX) have nothing output, > > can anyone give me some help,thanks. > > BTW, I change the clock setting from 25MHz to 8MHz,because the discovery board use 8MHz. > > thanks. > > ----------------- > tangw > > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss