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

printf on lpc2129

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!

Parents
  • I'n using the GNU toolchain. With the tinyarm board they supply the IAR tools but there was no sample programs and I couldn't get a piece of code to run, so I tried the Keil demo that had the blinky demo. That ran first time so I've stuck with the Keil tools. I'm porting across some of my 8bit code to do a comparison in terms of performance and to get a feel for the ARM tools. Now I've overcome the printf problem, I can forge ahead! Cheers.

Reply
  • I'n using the GNU toolchain. With the tinyarm board they supply the IAR tools but there was no sample programs and I couldn't get a piece of code to run, so I tried the Keil demo that had the blinky demo. That ran first time so I've stuck with the Keil tools. I'm porting across some of my 8bit code to do a comparison in terms of performance and to get a feel for the ARM tools. Now I've overcome the printf problem, I can forge ahead! Cheers.

Children