Hi everyone. I was working with an MCB2388-Eval-Board (lpc2388), and I was downgrading to my own pcb with a lpc2387. I realized problems with my board, but at this time now, I don't want to give any code. Later, if necessary.
As far as I know, all "lpc23xx"-devices use the same headers. For sure my pins and the layout are correct, I checked it several times.
** First question is: are there any known differences in the basic-setup from lpc2388 to lpc2387? like CLK-init, UART-init,.... (the uart0 is my troublemaker, ...so I dont trust my CCLK, PLL and this stuff.) I expect: no.
second question: are there any "you-have-to-set-by-first-programming"-fuses?? (if so, I really should read more about my architecture, I know) I expect: no. **
I am debugging at the moment, so my question is only about known differences. (Perhaps it has a quite simple solution.) And yes, I got the manual. And I read a lot ;-) Thank you very much, I am happy for any idea. Matthias
I don't remember any difference.
But what have you done to try to debug?
Have you tried to read or write the relevant pins when configured as GPIO?
Have you checked the TX pin with an oscilloscope when trying to send data?
Have you tried a JTAG interface and look at the UART registers - LPC23xx are among the processors that have good peripherial support of the old type.
Have you checked that the UART is powered before you configure it?
"I don't remember any difference." This is quite important to me. Thank you very much.
Im checking the GPIOs at the moment. They are working!! --> So CLK, PLL, 72MHz, etc. is ok. (maybe I had a short yesterday, well, I willnot find out...)
I will setup my code from the beginning, and check each single change. I really thought, its a one-day-procedure. Thank you with regards Matthias
PS: TX is not toggeling. UART is working in the old source-code, it should be powered. and yes, I should look into the registers... never done. I will keep that in mind.
Hi, just as a short reply, my software is working in its old unchanged version. What I forgot: the LCD has to be installed. The source-code hangs up (waiting for a busy-answer!) without LCD. %&"§$% ;-)
Maybe there were further hardware bugs.. but I think I just should have assembled everything at once and should have press "load". Everything would be fine then.
Thank you, for your advice! with regards. Matthias