Hello everybody,
I have a new account on the forum but I am not new to AVRco.
I decided to renew my older designs and I have a problem with MEGA2560 and LCD display.
In this case, I use the standard library for HD 44780 display, 4x20 characters. Instruction LCDOUT ('A') is working properly but Write (LCDOUT, 'ABC') is no longer. After following the instruction the whole screen is black (black block instead of characters). After many hours of testing (even with logic analyzer) and many e-mails with Rolf (Rolf, thank you for your help) still nothing explained. The last test was a compilation of the program to other processors such as MEGA640 and 1280 and loading it into MEAG2560. And surprise surprise. The compiled program runs on MEGA2560 properly.
I join a program listing and comparing the asm code M640 <=> M1280 and M1280 <=> M2560.
Does anyone have any idea why it does not work on Mega2560 ?
Marek
I have a new account on the forum but I am not new to AVRco.
I decided to renew my older designs and I have a problem with MEGA2560 and LCD display.
In this case, I use the standard library for HD 44780 display, 4x20 characters. Instruction LCDOUT ('A') is working properly but Write (LCDOUT, 'ABC') is no longer. After following the instruction the whole screen is black (black block instead of characters). After many hours of testing (even with logic analyzer) and many e-mails with Rolf (Rolf, thank you for your help) still nothing explained. The last test was a compilation of the program to other processors such as MEGA640 and 1280 and loading it into MEAG2560. And surprise surprise. The compiled program runs on MEGA2560 properly.
I join a program listing and comparing the asm code M640 <=> M1280 and M1280 <=> M2560.
Does anyone have any idea why it does not work on Mega2560 ?
Marek
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
