Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/05 14:12
Read: times


 
Msg Score: -3
 -2 Offensive/Flame
 -1 Provacative/Troll
#89212 - Troll
Responding to: ???'s previous message
At last.. an idiot even I can rip into.

"Indeed, however these are well documented in the manual."

Yep, but no-one mentioned the manual, and the gut is still having problems remarkably similar to those as detailed in the manual. Lets let him decide whether the suggestions were helpful shall we?

"How 'stack intensive' do you think printf() is? Note that printf() failures caused by passing too many arguments are not related to its stack usage."

Oh yes they are. It even says so in the manual. Isn't that right?

"Those examples will both fail, but not for the reasons you have given."

Do tell us all precisely why.

"If you're running out of stack space the last thing you'd want to do is move variables into idata."

Wrong again. Its not the only thing you can do, and it depends on where you stack has been placed. We all assume that he he's compiled a simple example to get the LCD working, and that the stack is low-down in data memory. Lots of people when they get to this stage don't even know that they can use idata when things get tight.

The first thing to do when printf() falls over when passed too much is to split it up into several calls. This uses less stack space. He did that and it worked. What does that tell you Don?

"You need to fix your delay function."

Just plain wrong. Please tell us all again exactly why you think it needs work, and I'll will happily put you straight. Otherwise STFU!

Regards,
Murray R. Van Luyn.


List of 38 messages in thread
TopicAuthorDate
LCD<            01/01/70 00:00      
   must be a bug in lcd_write()            01/01/70 00:00      
      no bug            01/01/70 00:00      
      Bug in lcd_write            01/01/70 00:00      
         Another test            01/01/70 00:00      
         Not quite            01/01/70 00:00      
            Stand corrected            01/01/70 00:00      
               further corrected            01/01/70 00:00      
                  Makes sense            01/01/70 00:00      
                     Delay after the character write?            01/01/70 00:00      
                        unknown bug            01/01/70 00:00      
                           ANSI divergence            01/01/70 00:00      
                              Are you sure?            01/01/70 00:00      
                                 skdjfhg            01/01/70 00:00      
                                    It realy works fine with UART            01/01/70 00:00      
                                       Story so far            01/01/70 00:00      
   Keil and Function pointers?            01/01/70 00:00      
   Simulator            01/01/70 00:00      
      Kaiwalya - O.T            01/01/70 00:00      
         Let me try            01/01/70 00:00      
   Post the real code            01/01/70 00:00      
   Possibilities            01/01/70 00:00      
      ksfd            01/01/70 00:00      
         Troll            01/01/70 00:00      
            the real issue            01/01/70 00:00      
               Corrections            01/01/70 00:00      
               Small but fast            01/01/70 00:00      
                  MIPS            01/01/70 00:00      
            Corrections            01/01/70 00:00      
               sldkjf            01/01/70 00:00      
            dkfuhg            01/01/70 00:00      
               Corrections            01/01/70 00:00      
               Corrections            01/01/70 00:00      
                  got curious and looked            01/01/70 00:00      
               I'm wrong - Damn!            01/01/70 00:00      
                  debugging            01/01/70 00:00      
                     Post you real code            01/01/70 00:00      
   How to initilize 4X20 LCD            01/01/70 00:00      

Back to Subject List