cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 USARTs

andrew_nephin
Associate
Posted on December 30, 2012 at 19:16

USART on STM32407 Discovery Board

When trying to use the usarts on this discovery board I keep getting *** error 65: access violation at 0x40023800 : no 'read' permission 

and stops running at this line of code

  RCC->CR |= (uint32_t)0x00000001;

 /* Reset CFGR register */

  RCC->CFGR = 0x00000000;

 /* Reset HSEON, CSSON and PLLON bits */

  RCC->CR &= (uint32_t)0xFEF6FFFF;

can any one help me with this please?
1 REPLY 1
Posted on December 30, 2012 at 20:39

Are you actually downloading/running on the board, or using the simulated target? Check under the debug tab.

Have you tried using one of the predefined projects, or templates, for the discovery board? Do they work?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..