cancel
Showing results for 
Search instead for 
Did you mean: 

Cortex-M3 USART woes (still)

alexsardo9
Associate II
Posted on April 03, 2010 at 03:10

Cortex-M3 USART woes (still)

This discussion is locked. Please start a new topic to ask your question.
11 REPLIES 11
alexsardo9
Associate II
Posted on May 17, 2011 at 13:45

For what is worth, in the end the problem was with a (apparently) stripped down version of stm10x*_uart.h... Apparently my predecessor must have gotten and modified this. I replaced it with the one from the ST USART example and all worked fine.

The amazing thing is that I had no compile errors ever -- all seemed to work fine... Oh well, it's a learning curve I guess..

Thanks again guys.

Andrew Neil
Super User
Posted on May 17, 2011 at 13:45

''The amazing (sic) thing is that I had no compile errors ever''

 

No, that it not surprising at all!

Having no compiler errors simply tells you that you have not broken any 'C' syntax rules - it tells you nothing about whether your program will operate correctly or not!

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.