Hello, I want to create a GUI for my LPC1114 mcu but I am not sure exactly how to do it. I know how to create a GUI but I don't know how to get it to interact with my mcu. Any help is appreciated.
Probably worth checking out:
http://www.keil.com/forum/59792/
Does the LPC1114 have USB?
Actually, implementing a USB HID might be another option. This might be helpful http://www.keil.com/pack/doc/mw/USB/html/dev_hid_tutorial.html
For the USB Host side, we provide a USB HID Client as source code (see topic PC Software) which is effectively a small GUI.
You may explore the PC project and the MCU product which is using the MDK-Professional middleware for implementing the USB HID on the device side.
USB HID is also used for CMSIS-DAP and ULINK2 and MDK is a sophisticated GUI for that.
First thing to decide is: what physical connecting link will you use?
An "RS232" link (whether "real" or "virtual" over USB) is possibly the easiest to both implement and debug - but only you know what is available & appropriate in your particular application.
Who (PC or MCU) will be the "master" of the link - ie, who sends the "commands" and who responds to those commands?
What commands do you need?
What responses do you need?
Do you need the facility for the "slave" to send "unsolicited" responses to the master?
Start with teria term. To send commands for debugging the meu code. Try to find example serial programs to follow.
Yeah that is what I am having a problem with because I am not sure where to begin.
So you will need to devise some sort of communication scheme - or "Protocol" - between the microcontroller and the PC/GUI...
So the chip itself has no display, the GUI will be on my computer.
Assuming the chip doesn't contain a display, what specifically are you using? Do you have a driver for that? Are you using a commercial graphics/windowing library?
A GUI that runs on a PC and talks to your processor. Or a GUI that runs natively on your processor?
View all questions in Keil forum