No RTOS, just a handful of functions to handle the LCD, Main(). All this=20 is with a recent upgrade of MPLAB and MCC18. Have had this issue many=20 versions back. I always have had an issue with printf, and sometimes=20 couldn't even do the basic "Hello World", when just copy/paste code. Got=20 further this time with being able to output both a string and two=20 variables. Thought that was good, and thought adding variables would not=20 be an issue. Though, I can work a little with assembler, I think that=20 will lead me back to the C compiler, and I'm not going to modify that.=20 Was hoping it was something with type casting or near/far. I do get=20 warnings on the type casting of several items during the MAKE, but as I=20 understand, warnings are just that, and the compiler has handled things=20 correctly, and I shouldn't be concerned. On 8/19/2010 2:28 PM, Isaac Marino Bavaresco wrote: > Em 19/8/2010 14:51, Carl Denk escreveu: > =20 >> The doesn't work, meant, it compiled and ran, but, the display got >> filled with garbage. What I should have done is tried to debug that, and >> running in MPLAB-SIM, I get the error: >> CORE-E0001: Stack over flow error occurred from instruction at 0x000c10 >> =20 > Are you using some sort of RTOS? I had this problem when starting with > FreeRTOS. > > > Running it in the simulator is the easiest way to find such type of > errors, but be prepared to step into a lot of assembly code. > > > Interesting that the error doesn't happen when there is just one > parameter to be printed... This may give some hint on the problem. > > > Isaac > > __________________________________________________ > Fale com seus amigos de gra=E7a com o novo Yahoo! Messenger > http://br.messenger.yahoo.com/ > > =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .