Re-programming the Firmware on the Eval board



  • 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 ( 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

    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?

  • 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.

  • JeffJway

    Thank you,

    I've updated and it is working fine now.

  • claudio.leone

    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 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!

  • mgrubner

    I managed to do it using ST micro eval board with integrated ST-link. My board Nucleo-F411R, with STM32 ST-Link utility software and USB driver running on my PC. I used jumper wires between NHD-eval Board JTAG header and CN4 connector on STlink of the F411R board. Must remove Jumpers on CN2 of the Nucleo-F411R board to freeup the JTAG port on the STlink portion of the board.
    The pin connection are as follows:
    NHD-eval Jtag connector Pin 5(TDI) to CN4-6
    NHD-eval Jtag connector Pin 7(TMS)to CN4-4
    NHD-eval Jtag connector Pin 9(TCK)to CN4-2
    NHD-eval Jtag connector Pin 4(GND)to CN4-3
    Load NHD latest hex file with the ST-link utility software click on target connect and follow with target program as soon as you let go of the reset button on the NHD eval board.


Please sign in to leave a comment.