Newhaven Products > Evaluation Tools

Re-programming the Firmware on the Eval board

(1/2) > >>

JeffJway:
I recently purchased a NHDev Development Board for use with a NHD-1.8-128160EF-CTXI# screen

I understand that I can turn on the board and select the desired model using the pushbuttons and display the text and BMPs from the SDcard that comes with the board, but how do I change the program that is on the eval board?

I would assume I connect the JTAG connection to a PC, but no cable was provided. And I do not know what program I can use to interface and download the program. I see the example codes and the ELF and HEX files on the website, but I have no means of downloading them into the eval board.

Am I missing something?

Thanks

Michael_L:
This board's typical use is for quick and easy evaluation of our displays, however if you wish to program it, you will need a compiler (we use Keil ÁVision4 IDE) and a JTAG programmer (we use the ULINK2).  You will also need to download the files from our website (http://www.newhavendisplay.com/nhdev/NHDev_Downloads.php) and load them onto the board using a program like ÁVision.

Also, a couple of notes:

1)      The Dev board needs to have power applied to it (not powered by
JTAG)

2)      The Dev board code disables the JTAG after a second of power, so
when loading the code you must hold the board in reset and program
immediately after letting off the reset button.

3)      Target is STM32F103RE.

JeffJway:
Thank you. I will source for the JTAG programmer cable and see what I can do.

I'm trying to use the eval board to test the LCD capabilities first before attaching it to my current board so as to isolate PCB design problems on my side from LCD testing.

It's a safe way to ensure I get the screen display programming right, especially trying to program the display of characters on a 128x160 screen.

JeffJway:
Another question,

I have a NHD-1.8-128160EF wired up to the eval board, but I have not been able to get any display out on the screen.

The model choice on the eval board only has NHD-1.8-128160TF as the closest, is this ok? I know the pin difference between the two models and have wired appropriately, but is there anything else I need to watch for?

The BMP files in the SDCard only list files for the TF model, but I would assume that they should be ok to be displayed on the EF model, right?

Thanks.

Michael_L:
The TF model uses a different controller, and therefore that selection will not work for the current EF models.  You would need to update the firmware to the latest file as described in my previous post.  As for the images, once the NHDev board is updated, you can just rename them using EF in the file name in place of TF.

Navigation

[0] Message Index

[#] Next page

Go to full version