Announcement

Collapse
No announcement yet.

Device is not responding

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Device is not responding

    OK - just 'inherited' a project where we are trying to use uLCD-43PT... I am struggling to get my host-target environment working at all at the minute!

    First thing - check my serial connection, so in Workshop4's Tools=>Terminal9600 window, we can type "001803686900" into the Send Hex window, and get "hi" on the display, and a nice "06 00 03" returned back on the serial line.

    So I'm assuming a good programming connection etc....

    Next thing - create a dummy project in the Visi environment, and without making any changes just go to the "Comms" window. Try as I might, I cannot get the device to connect - just a Yellow Circle every time we re-scan, and the a Red Circle with the "Device is not responding" message.

    (I have checked the TX line with a scope, and it looks as if the Workshop4 does some sort of 'auto-baud' sequence when you first click, which is going through... Our display then responds with a byte of data when it gets to 9600, but the Workshop4 environment does not recognise this as being valid.

    Any clues where to go next???

    Thanks - Mark G.

  • #2
    To be able to communicate with workshop, download programs and/or update PmmCs requires the correct 4D programming cable, PA5, CE5 or MB5 device as Windows needs to be able to control the reset line which is part of the programming environment.

    What is the programming device you are using and how is it connected?
    Mark

    Comment


    • #3
      Thanks Mark

      We'd guessed it was something on the reset line. I've been using a std FTDIchip converter which I have for many other apps for the minute (which only presents RTS/CTS, not DTR/DSR). I have ordered your programming cable from UK distributor, which will hopefully "just work".

      My second issue, however, will later be that in the target system, we will need to load the display with new projects from a micro (dsPIC24). My PIC has access to all 3 lines (reset, txd, rxd) in hardware, and will be able to receive 'files' in several formats (either from a serial Uart locally, or an ENet pipe to the cloud). What would be your recommended format for transferring projects from Workshop4 to the 4D display via the 3-signal interface?

      (While I am working on one device at the minute, the intention is that we should spin out several hundred of these, and the ability to provide upgrades to any firmware must be through the PIC, which will be controlling comms to laptop/LAN/Internet from where it can download update files to (a) display, (b) pic and (c) battery backed params in eprom...)

      Comment


      • #4
        So I am assuming the reset line to the uLCD is required part of the connection algorithm? (and is driven by something on your proprietary cable). Is there an app-note on doing this programmatically somewhere?

        Thanks again

        Mark G

        Comment


        • #5
          The reset line is required.

          I'll PM you about the other stuff
          Mark

          Comment


          • #6
            Hi Mark,

            Does 4DSystems release the schematic of the programming cable? I have try to use other USB-to-UART converter to programming the LCD module, but it doesn't work. The communication between LCD module and PC is as expected, but the Download function of the IDE doesn't work. Would you mind to tell me where I can download the schematic file of the programmer? Thank you.

            Xview.

            Comment


            • #7
              Hello Xview,

              As far as I know, the circuit is so simple that no schematic was released. However, you might be interested in the forum thread below (specifically post number #4).

              http://forum.4dsystems.com.au/forum/...-usb-to-serial

              BR,
              Doff

              Comment


              • #8
                Hi,
                I have a same problem. I use 4d programming cable and I want to programm Gen4 50D-SB lcd. The port scanner reports device not fount. I can see device restarting each time I press port scan button, but no results.

                Comment


                • #9
                  Hello Aidas,

                  Does the display power up normally when connected and display the 4D splash screen.


                  If not, it is possible that the USB port on your PC is not supplying enough current. Is it possible to connect via a powered USB hub or apply power to the Display using a power supply that is able to supply at least 1A.

                  I hope this helps

                  Best regards

                  Paul

                  Comment


                  • Raul
                    Raul commented
                    Editing a comment
                    Buenas tardes, podria ayudarme por favor.

                    en el momento tengo una 4DUINO y cuando trato de programar algo en ella la pantalla muestra un mensaje "Mounting" y se queda ahi siempre.

                    Muchas gracias

                • #10
                  I’m having similar issues with the messages but can find the right usb program cable online

                  Comment


                  • #11
                    Hi Raul,

                    The message 'Mounting ...' means it is trying to mount the SD card. This normally happens after the mount SD card command has been sent to the display. You will have to check your SD card and also check that any GCI / DAT filenames on the SD match the filenames in your 4Duino card.

                    If there are no files on the SD card, you can re-generate them from your project by pressing SHIFT & F9, this will generate everything and save the files to your SD card which must be inserted in your PC. When saved you can then re-insert the SD card in the 4Duino

                    Best regards

                    Paul

                    Comment


                    • Raul
                      Raul commented
                      Editing a comment
                      Thank you very much for answering.

                      I'm doing what you tell me, but trying to save the graphics files in the SD memory tells me that "this type of files can not be saved in this format", in fact I'm doing it manually.

                      I do not know what else to do.

                      Thank you.

                  • #12
                    Hi Raul,

                    Did you use RMPet from the Tools tab in Workshop 4 to partition and format your SD card, if not could you please try using RMPet and see if this solves your problem. Please check also that your SD card is SPI compatible

                    Best regards

                    Paul

                    Comment

                    Working...
                    X