Hi Guys,
Now i have sorted out, my SDRAM Trouble.
It was not the LPC 1788 EMC Settings, but the LCD Controller.
With the LCD Controller DISABLED i can access the SDRAM and have
no error's.
As soon as i enable (initialize) the LCD Controller, I'm running
in the Hardware Fault IRQ or the IAR IDE says 'Prozessor gone'.
To initialisze the LCD Controller, i use mainly my working LPC2478
Routine. Maybe i have here somthing missed, or wrong done.
I will check these and report what i have found, or maybei i have to
ask how to do it right.
mfg
Mike
LPC1788 FDI LCD (Was LPC1788 EMC)
Started by ●June 23, 2011
Reply by ●June 23, 20112011-06-23
--- In l..., "mike_schwarzer" wrote:
>
> Hi Guys,
>
> Now i have sorted out, my SDRAM Trouble.
> It was not the LPC 1788 EMC Settings, but the LCD Controller.
>
> With the LCD Controller DISABLED i can access the SDRAM and have
> no error's.
> As soon as i enable (initialize) the LCD Controller, I'm running
> in the Hardware Fault IRQ or the IAR IDE says 'Prozessor gone'.
>
> To initialisze the LCD Controller, i use mainly my working LPC2478
> Routine. Maybe i have here somthing missed, or wrong done.
> I will check these and report what i have found, or maybei i have to
> ask how to do it right.
>
> mfg
> Mike
>
I had a hardware fault issue also (initially) when I started increasing my code size and function count, and found the solution to be as simple as increasing my stack size count. I believe the initial size was around 0x200 bytes, as specified within the startup_LPC17x8x.s configuration wizard. When I increased it to 0x2000, it solved the problem.
I would suggest you check your stack usage, and see it this might be the cause of your headache...
-Dave
>
> Hi Guys,
>
> Now i have sorted out, my SDRAM Trouble.
> It was not the LPC 1788 EMC Settings, but the LCD Controller.
>
> With the LCD Controller DISABLED i can access the SDRAM and have
> no error's.
> As soon as i enable (initialize) the LCD Controller, I'm running
> in the Hardware Fault IRQ or the IAR IDE says 'Prozessor gone'.
>
> To initialisze the LCD Controller, i use mainly my working LPC2478
> Routine. Maybe i have here somthing missed, or wrong done.
> I will check these and report what i have found, or maybei i have to
> ask how to do it right.
>
> mfg
> Mike
>
I had a hardware fault issue also (initially) when I started increasing my code size and function count, and found the solution to be as simple as increasing my stack size count. I believe the initial size was around 0x200 bytes, as specified within the startup_LPC17x8x.s configuration wizard. When I increased it to 0x2000, it solved the problem.
I would suggest you check your stack usage, and see it this might be the cause of your headache...
-Dave