Hi,
I just received my new Dragon board with the optional LCD display and I am trying to test it using the USB LCD text sample that is provided with the board. I have been able to program the board to turn the LED’s on and off so I believe that the USB driver is installed correctly but when I try to communicate with the board using the LCD_text.c program it fails on the following line:
DragonDeviceHandle = CreateFile("\\\\.\\DRAGON_USB-0",
GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
The LCD_Text.c file had a compile error and I had to change the following line from
HANDLE* DragonDeviceHandle;
To
HANDLE DragonDeviceHandle;
So, I am not sure if the version of the LCD_Text file that I have has been tested and it may have more errors. Perhaps the "\\\\.\\DRAGON_USB-0" parameter in the CreateFile is wrong. Have any of you been able to get this sample to work?
Thank you very much for any help. If you have a fixed version of the LCD_Text file you can send it to me directly at hheidt @ cox . net