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: tzi...@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