Dear Sirs
Has anyone ever ported a new TFT display for emWin in mdk-5 professional? I am following the emWin 5 user guide with Graphics->Core selected under Manage Run-Time Environment. Under Display, Interface Template has been chosen for a new low level TFT driver.
In mdk 5 workspace, the LCD_X_Serial.c included as a HAL layer for SPI access.
A new, customerised LCDConf.c is there.
The same driver is working I know, because it does successfully initialize the display, clear screen OK, turn on pixel OK, ...
The problem is that, whenever GUI_Init() is stepped over, the mcu goes into hardware fault ISR.
The most simple program is attempted.
#include "GUI.h"
void main(void) { GUI_Init(); }
I am using a Freescale MK64F as a prototype platform.
Any help or suggestion will be appreciated.
KW John