Newhaven Display Forum

Newhaven Products => Evaluation Tools => Topic started by: JeffJway on June 29, 2015, 09:08:33 PM

Title: Re-programming the Firmware on the Eval board
Post by: JeffJway on June 29, 2015, 09:08:33 PM
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
Title: Re: Re-programming the Firmware on the Eval board
Post by: Michael_L on June 30, 2015, 04:38:35 PM
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.
Title: Re: Re-programming the Firmware on the Eval board
Post by: JeffJway on June 30, 2015, 09:55:29 PM
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.
Title: Re: Re-programming the Firmware on the Eval board
Post by: JeffJway on July 01, 2015, 04:25:04 AM
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.
Title: Re: Re-programming the Firmware on the Eval board
Post by: Michael_L on July 01, 2015, 04:29:02 PM
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.
Title: Re: Re-programming the Firmware on the Eval board
Post by: JeffJway on July 02, 2015, 03:29:42 AM
Thank you,

I've updated and it is working fine now.
Title: Re: Re-programming the Firmware on the Eval board
Post by: claudio.leone on June 09, 2016, 05:13:15 AM
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.


Hello Michael,

I need a few clarifications about the toolchain of the NHDev board.
We are looking for an evaluation board to start playing and making some experiments with one of yours TFT+touch displays, but so far I still don't know if the NHDev board is suitable for us.

1) Can the MDK-Lite tool by ARM be used to code, program and debug the STM32F103RE through the JTAG available on the board? As far as I know MDK-Lite is free but limited to 32KBytes code size, but the STM32F103RE has up to 512KBytes Flash.

2) Is the source code of your examples freely available to be used as reference for our experiments? I saw something here http://www.newhavendisplay.com/nhdev/NHDev_Initialization_Code.php (http://www.newhavendisplay.com/nhdev/NHDev_Initialization_Code.php) but I'm not sure they are full examples.

Our goal is to buy an evaluation system with reference examples that we can play with and modify to show a customized "home" page with some icons that can be navigated through by touching them and opening new pages.
I would say a kind of "hello world" application for touch displays  :)


Thank you very much!
Claudio