This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X ts_calibrate

Dear all,

    Here we have a customed board based on am335x sk. I got the touchscreen working but there is something wrong in ts_calibrate. When I first running ts_calibrate, it doesn't show the coordinate points(4 corners and center) on the screen but it still working when i touch the screen and coordinates were right. I ran "/etc/init.d/matrix-gui-2.0 stop"  and then ran "/usr/bin/ts_calibrate" to calibrating again. It still the same showing nothing on the screen. It is all black. I have no idea about this  and would anyone here to help me with this? Thanks in advanced!

  • Hi,

    ts_calibrate tool is provided as precompiled application in rootfs of am335x sdk.
    it is placed in <ti-am335x-sdk>/filesystem/tisdk-rootfs-image-am335x-evm.tar.gz/./usr/bin/ts_calibrate and is invoked from script with the same name placed in <ti-am335x-sdk>/filesystem/tisdk-rootfs-image-am335x-evm.tar.gz/./etc/init.d/ts_calibrate

    When starting kernel on your board, the script /etc/init.d/ts_calibrate is running and it calls precompiled application /usr/bin/ts_calibrate.

    ts_calibrate application is commonly used by different embedded systems with touch screen.
    Its source can be found in internet, so you can debug it for your case.

    Here is the source of upgraded versions of ts_calibrate. Try it.

    github.com/.../releases

    BR,
    Georgi

  • Thanks a lot! I got it working well.