hi i m trying to interface a graphics lcd jhd12864e with LPC2148 having arm7 core..i was able to interface it with 89v51rd2 successfully but it does not work with arm..can any one provide some consultancy regarding this..also if any one has worked using the same lcd please give me tour email id for contact..
If the algorithm is correct - is it doing the same things as the 8051 version? - then you have to suspect the timings. Your ARM implementation may be too fast.
What have you done to debug the issue?
By the way - not too many people are interested in giving out any email address.
1 - we don't want spam.
2 - help given by mail will not be accessible to others, unless sent through a public mailing list.
3 - most people helping out on this forum are professional software developers. Which means we normally sends invoices or gets salaries for our professional work. Being private tutors, for free, is normally not what we do on our spare time.
oh i m sry i was unaware of that..and yes the algorithm is correct..it works perfectly on 8051 but the same algorithm fails when implemented with lpc2148..i wil try increasing the delay..thank you..
yes the algorithm is correct..it works perfectly on 8051 but the same algorithm fails when implemented with lpc2148
Just because the algorithm worked on one platform doesn't mean it is correct. The fact the same algorithm failed on another platform only demonstrates that a bit more strongly.
but i single stepped through the code during simulation and also checked the peripherals it was doing the desired operation but after actually programming the board the lcd doesnt initialize..should i change the lcd because jhd12864e does not have much documentation and examples on interfacing with arm
Single-stepping just tests that something gets done.
Have you used an oscilloscope and measured the speed of the signals. The individual timing of all signals? Because whenever you move "working" code from one processor to another, your task must always be to: 1) Check that all signals can be correctly set as "on" or "off". 2) Check that all required timing are within the specifications. 3) Check that the voltages are as expected. 4) Check that rise and fall times are as expected. ...
Embedded development isn't just writing code and debugging. It's just as much a job that requires working with the actual electronics.
View all questions in Keil forum