Hard Fault on reading DR in USART
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-09-26 10:28 AM
Posted on September 26, 2010 at 19:28
Hard Fault on reading DR in USART
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 5:08 AM
Posted on May 17, 2011 at 14:08
Hard to tell without a buildable full example. Can you determine the address that is hard faulting, what is that code, and what are the registers at that point. Reading the USART shouldn't fault. If you read/write an unaligned word in memory, or access memory that isn't present it will also fault.
USART_ReceiveDat(USART2); should be USART_ReceiveData(USART2);
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
