Would someone be so kind as to post a working example including it's ride7 project file of the usart 2 working? Either with old precompiled library or new, it doesn't matter as long as it has been tested and works.
So far I have tried every lead I could find in the forum search, with no joy.
The problem always seems to be to do with configuring the project in ride 7, which files to include? How to set the linker? All these questions would be answered if there were simply a working example with a project file.
I have tried to compile the "HANDHELD DATA COLLECTION"" project with no success, I managed to get the thing to compile a couple of times, but with warnings. these warnings were always to do with the line:
UTIL_SetIrqHandler(USART2_IRQChannel, (tHandler)Usart2Handler); //pointing out the handler
and the warning was:
warning: passing argument 2 of '(u32 (*)(u32, u32))(*ptrCircle_API)[185]' makes integer from pointer without a cast
which I assume is why when in debug mode I can see that my serial hardware connected to the rx pin is generating a reaction - the Usart2 status register changes from 0x1C0 to 0x1f2 and RXNE changes to 'not empty' also. But the interrupt does not trigger the user defined function (in this case "Usart2Handler").
Any help would be appreciated, but a proven and working demo/example project would be best.
James
Last edited by slimjim (2010-03-11 22:29:33)