Hi, I am playing with demo version of the Keil µVersion 2.03 and the Infineon SK-167SR. Also , I am not very familair with in C, which makes thinks not easier for me. For me the problem is rather strange. During a debug session almost every thing is runining fine, but if i let the same programm run from the flash of the board it does not. here is (not) working code void main(void) { unsigned char num_str[6]; ... do soemthing ... write_string(num_str,1); } void write_string(char * s, unsigned char line) { unsigned int i; if (line == 1) LCD_CNTL = 0x80; wait(30000); for (i=0; i<strlen(s); i++) { LCD_DATA = s[i]; wait(300); } } During debuging this is working perfectly. It shows some data on a LCD, but the same program running from flash, writes "only" black squares on the LCD (the complete fist line on my 20*2 LCD). For me it is quite hard to find the reason for this behavior. thanks in advance, Thomas
Hi Support Intl Keil, first i have to say thank you for your help, but currently i have the feeling, sitting in the middle of nowhere. I could endless read all help files and so on, but i am not good, in inventing the wheel again. I have to go back to learn very basic thinks. For me it is much easier to learn new knowledge by example(s). I will searching the net for µV2 projects, which are well set up for my existing hardware. Thomas
You don't have to invent the wheel: the manuals describe in detail how it's done :-)) Look into the microcontroller manal as well as Keil's PDFs and you will find the answers to all your questions. Reading the manuals takes some time but sooner or later you'll have to do it. Regards, Mike