I can't seem to get printf going on my system. I've declared putchar as extern and written a routine called putchar to output to the serial port, but the application dies whenever I try to printf. I dare say I'm not doing something fairly fundamental!
Andy, you're right! The lpc900 stuff isn't going to help me. Anyway, there's examples for the atmel arm7 for 'hello world' of which i've tried to mimic to no avail. I didn't previously mention that I'm using UV3 with the gnu toolchain. With the GNU tools being more generic, there's a lot of stuff in the libraries etc which I fail to comprehend. I can understand by overriding the standard putchar that the printf should work but that doesn't seem to be the case. So I'm thinking there's probably some little trick to get it to work. I'll try some more stuff tonight and try using sprintf but I'm hoping someone has done exactly what I want and can share their experience.
Can you get the output working if you leave printf for now and just use your putchar? Can you see in the debugger where it's stopping?
can you send me a sample project?