This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Realview V3.34 versus Carm problem

Started this morning on something. Then needed to add printf in simulator mode. So I added putchar() and printf. But then I found that the program didn't run. When I hit RST it is always sitting on line #252 SWI_Handler B Undef_Handler in startup.s

To double check I eventually ran the demo hello.c in program files\keil\arm\examples\hello\hello.c - this works fine.

But when I copy hello.c + serial.c to a new folder and start a new project it compiles fine - but does not run, again it stops on line #252 as above. When I check I find that the Realview compiler is selected and the Configure flash tools shows a tab with C/C++. The startup.s file mentions 2006-2006

On the original hello example it is using the CARM compiler and the configure flash tools shows a tab with just a C on it. The startup file mentions 2002-2004

So there are differences. The c files are identical but the startup.s files are not, the old examples work but compiling new versions with the newer startup.s and Realview don't.

Has anyone had similiar problems, can someone explain what is going on please.

Parents Reply Children
No data