ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VOXL2 Board Not Detected on ADB

    Ask your questions right here!
    4
    12
    235
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tomT
      tom admin @ashwin
      last edited by

      @ashwin Can you confirm that you're loading the correct QDL image for your board? M0054-1 vs M0054-2 (https://docs.modalai.com/m0054-versions/#m0054-1-and-m0054-2)

      A 1 Reply Last reply Reply Quote 0
      • A
        ashwin @tom
        last edited by

        @tom I apologize for the delayed response.
        I did refer to this document and am using the correct QDLimage.
        I am using M0054-1 as the chip on the board says QRB5165M

        tomT 1 Reply Last reply Reply Quote 0
        • tomT
          tom admin @ashwin
          last edited by

          @ashwin What do you see if you run dmesg -wH and then power and plug in the board via USB

          A 1 Reply Last reply Reply Quote 0
          • A
            ashwin @tom
            last edited by

            @tom Kindly find the terminal output below

            [Mar 6 11:08] usb 1-9: new high-speed USB device number 6 using xhci_hcd
            [  +0.130213] usb 1-9: New USB device found, idVendor=05c6, idProduct=9008, bcdDevice= 0.00
            [  +0.000016] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
            [  +0.000005] usb 1-9: Product: QUSB_BULK_CID:0412_SN:F576E3AB
            [  +0.000004] usb 1-9: Manufacturer: Qualcomm CDMA Technologies MSM
            [  +0.031088] usbcore: registered new interface driver usbserial_generic
            [  +0.000035] usbserial: USB Serial support registered for generic
            [  +0.003699] usbcore: registered new interface driver qcserial
            [  +0.000025] usbserial: USB Serial support registered for Qualcomm USB modem
            [  +0.000026] qcserial 1-9:1.0: Qualcomm USB modem converter detected
            [  +0.000175] usb 1-9: Qualcomm USB modem converter now attached to ttyUSB0
            
            tomT 1 Reply Last reply Reply Quote 0
            • tomT
              tom admin @ashwin
              last edited by

              @ashwin Okay so it is enumerating into a bricked state as expected. If you switch SW2 to on and repeat the same test what do you see?

              A 1 Reply Last reply Reply Quote 0
              • A
                ashwin @tom
                last edited by

                @tom The output is exactly the same irrespective of whether the SW2 is ON or OFF.

                [Mar 7 14:29] usb 1-9: new high-speed USB device number 6 using xhci_hcd
                [  +0.129038] usb 1-9: New USB device found, idVendor=05c6, idProduct=9008, bcdDevice= 0.00
                [  +0.000013] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
                [  +0.000004] usb 1-9: Product: QUSB_BULK_CID:0412_SN:F576E3AB
                [  +0.000004] usb 1-9: Manufacturer: Qualcomm CDMA Technologies MSM
                [  +0.029109] usbcore: registered new interface driver usbserial_generic
                [  +0.000028] usbserial: USB Serial support registered for generic
                [  +0.004709] usbcore: registered new interface driver qcserial
                [  +0.000024] usbserial: USB Serial support registered for Qualcomm USB modem
                [  +0.000023] qcserial 1-9:1.0: Qualcomm USB modem converter detected
                [  +0.000180] usb 1-9: Qualcomm USB modem converter now attached to ttyUSB0
                
                tomT 1 Reply Last reply Reply Quote 0
                • tomT
                  tom admin @ashwin
                  last edited by

                  @ashwin Interesting, can you post the output of the failure you're seeing when you attempt to flash the board via. QDL?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    ashwin @tom
                    last edited by

                    Hello @tom,

                    Kindly find the outputs received shown in the images below.

                    UFS Provisioning is successful as shown in the attached image.
                    Provision.jpg
                    The output message is shown at the end.

                    Flashing CDT failed - Try 1
                    Flash_CDT_Try_1.jpg

                    Flashing CDT failed - Try 2
                    Flash_CDT_Try_2.jpg

                    UFS Provisioning Output

                    modal hello
                    [MODALAI] test log
                    
                    [MODALAI] Executing usb_open
                    [MODALAI] Completed usb_open
                    [MODALAI] Executing sahara_run
                    HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
                    READ64 image: 13 offset: 0x0 length: 0x40
                    READ64 image: 13 offset: 0x40 length: 0x310
                    READ64 image: 13 offset: 0x1000 length: 0x1000
                    READ64 image: 13 offset: 0x2000 length: 0xc48
                    READ64 image: 13 offset: 0x3000 length: 0x1000
                    READ64 image: 13 offset: 0x4000 length: 0x1000
                    READ64 image: 13 offset: 0x5000 length: 0x1000
                    READ64 image: 13 offset: 0x6000 length: 0x1000
                    READ64 image: 13 offset: 0x7000 length: 0x1000
                    READ64 image: 13 offset: 0x8000 length: 0x1000
                    READ64 image: 13 offset: 0x9000 length: 0x1000
                    READ64 image: 13 offset: 0xa000 length: 0x1000
                    READ64 image: 13 offset: 0xb000 length: 0x1000
                    READ64 image: 13 offset: 0xc000 length: 0x1000
                    READ64 image: 13 offset: 0xd000 length: 0x1000
                    READ64 image: 13 offset: 0xe000 length: 0x1000
                    READ64 image: 13 offset: 0xf000 length: 0x1000
                    READ64 image: 13 offset: 0x10000 length: 0x1000
                    READ64 image: 13 offset: 0x11000 length: 0x1000
                    READ64 image: 13 offset: 0x12000 length: 0x1000
                    READ64 image: 13 offset: 0x13000 length: 0x1000
                    READ64 image: 13 offset: 0x14000 length: 0x1000
                    READ64 image: 13 offset: 0x15000 length: 0x1000
                    READ64 image: 13 offset: 0x16000 length: 0x1000
                    READ64 image: 13 offset: 0x17000 length: 0x1000
                    READ64 image: 13 offset: 0x18000 length: 0x1000
                    READ64 image: 13 offset: 0x19000 length: 0x1000
                    READ64 image: 13 offset: 0x1a000 length: 0x1000
                    READ64 image: 13 offset: 0x1b000 length: 0x1000
                    READ64 image: 13 offset: 0x1c000 length: 0x1000
                    READ64 image: 13 offset: 0x1d000 length: 0x1000
                    READ64 image: 13 offset: 0x1e000 length: 0x1000
                    READ64 image: 13 offset: 0x1f000 length: 0x1000
                    READ64 image: 13 offset: 0x20000 length: 0x1000
                    READ64 image: 13 offset: 0x21000 length: 0x1000
                    READ64 image: 13 offset: 0x22000 length: 0x1000
                    READ64 image: 13 offset: 0x23000 length: 0x1000
                    READ64 image: 13 offset: 0x24000 length: 0x1000
                    READ64 image: 13 offset: 0x25000 length: 0x1000
                    READ64 image: 13 offset: 0x26000 length: 0x1000
                    READ64 image: 13 offset: 0x27000 length: 0x1000
                    READ64 image: 13 offset: 0x28000 length: 0x1000
                    READ64 image: 13 offset: 0x29000 length: 0x1000
                    READ64 image: 13 offset: 0x2a000 length: 0x1000
                    READ64 image: 13 offset: 0x2b000 length: 0x1000
                    READ64 image: 13 offset: 0x2c000 length: 0x1000
                    READ64 image: 13 offset: 0x2d000 length: 0x1000
                    READ64 image: 13 offset: 0x2e000 length: 0x1000
                    READ64 image: 13 offset: 0x2f000 length: 0x1000
                    READ64 image: 13 offset: 0x30000 length: 0x1000
                    READ64 image: 13 offset: 0x31000 length: 0x1000
                    READ64 image: 13 offset: 0x32000 length: 0x1000
                    READ64 image: 13 offset: 0x33000 length: 0x1000
                    READ64 image: 13 offset: 0x34000 length: 0x1000
                    READ64 image: 13 offset: 0x35000 length: 0x1000
                    READ64 image: 13 offset: 0x36000 length: 0x1000
                    READ64 image: 13 offset: 0x37000 length: 0x1000
                    READ64 image: 13 offset: 0x38000 length: 0x1000
                    READ64 image: 13 offset: 0x39000 length: 0x1000
                    READ64 image: 13 offset: 0x3a000 length: 0x1000
                    READ64 image: 13 offset: 0x3b000 length: 0x1000
                    READ64 image: 13 offset: 0x3c000 length: 0x1000
                    READ64 image: 13 offset: 0x3d000 length: 0x1000
                    READ64 image: 13 offset: 0x3e000 length: 0x1000
                    READ64 image: 13 offset: 0x3f000 length: 0x1000
                    READ64 image: 13 offset: 0x40000 length: 0x1000
                    READ64 image: 13 offset: 0x41000 length: 0x1000
                    READ64 image: 13 offset: 0x42000 length: 0x1000
                    READ64 image: 13 offset: 0x43000 length: 0x1000
                    READ64 image: 13 offset: 0x44000 length: 0x1000
                    READ64 image: 13 offset: 0x45000 length: 0x1000
                    READ64 image: 13 offset: 0x46000 length: 0x1000
                    READ64 image: 13 offset: 0x47000 length: 0x1000
                    READ64 image: 13 offset: 0x48000 length: 0x1000
                    READ64 image: 13 offset: 0x49000 length: 0x1000
                    READ64 image: 13 offset: 0x4a000 length: 0x1000
                    READ64 image: 13 offset: 0x4b000 length: 0x1000
                    READ64 image: 13 offset: 0x4c000 length: 0x1000
                    READ64 image: 13 offset: 0x4d000 length: 0x1000
                    READ64 image: 13 offset: 0x4e000 length: 0x1000
                    READ64 image: 13 offset: 0x4f000 length: 0x1000
                    READ64 image: 13 offset: 0x50000 length: 0x1000
                    READ64 image: 13 offset: 0x51000 length: 0x1000
                    READ64 image: 13 offset: 0x52000 length: 0x1000
                    READ64 image: 13 offset: 0x53000 length: 0x1000
                    READ64 image: 13 offset: 0x54000 length: 0x1000
                    READ64 image: 13 offset: 0x55000 length: 0x1000
                    READ64 image: 13 offset: 0x56000 length: 0x1000
                    READ64 image: 13 offset: 0x57000 length: 0x1000
                    READ64 image: 13 offset: 0x58000 length: 0x1000
                    READ64 image: 13 offset: 0x59000 length: 0x1000
                    READ64 image: 13 offset: 0x5a000 length: 0x1000
                    READ64 image: 13 offset: 0x5b000 length: 0x1000
                    READ64 image: 13 offset: 0x5c000 length: 0x1000
                    READ64 image: 13 offset: 0x5d000 length: 0x1000
                    READ64 image: 13 offset: 0x5e000 length: 0x1000
                    READ64 image: 13 offset: 0x5f000 length: 0x1000
                    READ64 image: 13 offset: 0x60000 length: 0x1000
                    READ64 image: 13 offset: 0x61000 length: 0x1000
                    READ64 image: 13 offset: 0x62000 length: 0x1000
                    READ64 image: 13 offset: 0x63000 length: 0xde0
                    READ64 image: 13 offset: 0x63de0 length: 0x1000
                    READ64 image: 13 offset: 0x64de0 length: 0x1000
                    READ64 image: 13 offset: 0x65de0 length: 0x1000
                    READ64 image: 13 offset: 0x66de0 length: 0x1000
                    READ64 image: 13 offset: 0x67de0 length: 0x1000
                    READ64 image: 13 offset: 0x68de0 length: 0x1000
                    READ64 image: 13 offset: 0x69de0 length: 0x1000
                    READ64 image: 13 offset: 0x6ade0 length: 0x1000
                    READ64 image: 13 offset: 0x6bde0 length: 0x1000
                    READ64 image: 13 offset: 0x6cde0 length: 0x1000
                    READ64 image: 13 offset: 0x6dde0 length: 0x1000
                    READ64 image: 13 offset: 0x6ede0 length: 0x1000
                    READ64 image: 13 offset: 0x6fde0 length: 0x3f0
                    READ64 image: 13 offset: 0x701d0 length: 0x1000
                    READ64 image: 13 offset: 0x711d0 length: 0x1000
                    READ64 image: 13 offset: 0x721d0 length: 0x1000
                    READ64 image: 13 offset: 0x731d0 length: 0x1000
                    READ64 image: 13 offset: 0x741d0 length: 0x1000
                    READ64 image: 13 offset: 0x751d0 length: 0x1000
                    READ64 image: 13 offset: 0x761d0 length: 0x1000
                    READ64 image: 13 offset: 0x771d0 length: 0x1000
                    READ64 image: 13 offset: 0x781d0 length: 0x1000
                    READ64 image: 13 offset: 0x791d0 length: 0x1000
                    READ64 image: 13 offset: 0x7a1d0 length: 0x1000
                    READ64 image: 13 offset: 0x7b1d0 length: 0x1000
                    READ64 image: 13 offset: 0x7c1d0 length: 0x1000
                    READ64 image: 13 offset: 0x7d1d0 length: 0x1000
                    READ64 image: 13 offset: 0x7e1d0 length: 0x1000
                    READ64 image: 13 offset: 0x7f1d0 length: 0xf6c
                    READ64 image: 13 offset: 0x80140 length: 0x84
                    READ64 image: 13 offset: 0x801c4 length: 0x1000
                    READ64 image: 13 offset: 0x811c4 length: 0x1000
                    READ64 image: 13 offset: 0x821c4 length: 0x1000
                    READ64 image: 13 offset: 0x831c4 length: 0x1000
                    READ64 image: 13 offset: 0x841c4 length: 0x1000
                    READ64 image: 13 offset: 0x851c4 length: 0x1000
                    READ64 image: 13 offset: 0x861c4 length: 0x1000
                    READ64 image: 13 offset: 0x871c4 length: 0x1000
                    READ64 image: 13 offset: 0x881c4 length: 0x1000
                    READ64 image: 13 offset: 0x891c4 length: 0x55c
                    READ64 image: 13 offset: 0x89720 length: 0x1000
                    READ64 image: 13 offset: 0x8a720 length: 0x1000
                    READ64 image: 13 offset: 0x8b720 length: 0x1000
                    READ64 image: 13 offset: 0x8c720 length: 0x1000
                    READ64 image: 13 offset: 0x8d720 length: 0x1000
                    READ64 image: 13 offset: 0x8e720 length: 0xbf0
                    READ64 image: 13 offset: 0x8f310 length: 0x1000
                    READ64 image: 13 offset: 0x90310 length: 0x1000
                    READ64 image: 13 offset: 0x91310 length: 0x1000
                    READ64 image: 13 offset: 0x92310 length: 0x1000
                    READ64 image: 13 offset: 0x93310 length: 0x1000
                    READ64 image: 13 offset: 0x94310 length: 0xbf0
                    READ64 image: 13 offset: 0x94f00 length: 0x1000
                    READ64 image: 13 offset: 0x95f00 length: 0x1000
                    READ64 image: 13 offset: 0x96f00 length: 0x1000
                    READ64 image: 13 offset: 0x97f00 length: 0x1000
                    READ64 image: 13 offset: 0x98f00 length: 0x1000
                    READ64 image: 13 offset: 0x99f00 length: 0x1000
                    READ64 image: 13 offset: 0x9af00 length: 0x1000
                    READ64 image: 13 offset: 0x9bf00 length: 0x1000
                    READ64 image: 13 offset: 0x9cf00 length: 0x1000
                    READ64 image: 13 offset: 0x9df00 length: 0x1000
                    READ64 image: 13 offset: 0x9ef00 length: 0x1000
                    READ64 image: 13 offset: 0x9ff00 length: 0x1000
                    READ64 image: 13 offset: 0xa0f00 length: 0x1000
                    READ64 image: 13 offset: 0xa1f00 length: 0x1000
                    READ64 image: 13 offset: 0xa2f00 length: 0x1000
                    READ64 image: 13 offset: 0xa3f00 length: 0x1000
                    READ64 image: 13 offset: 0xa4f00 length: 0x1000
                    READ64 image: 13 offset: 0xa5f00 length: 0x1000
                    READ64 image: 13 offset: 0xa6f00 length: 0x1000
                    READ64 image: 13 offset: 0xa7f00 length: 0x1000
                    READ64 image: 13 offset: 0xa8f00 length: 0x1000
                    READ64 image: 13 offset: 0xa9f00 length: 0x1000
                    END OF IMAGE image: 13 status: 0
                    DONE status: 1
                    [MODALAI] Completed sahara_run
                    [MODALAI] Executing firehose_run
                    [MODALAI] Executing firehose_read
                    LOG: INFO: Binary build date: Mar  6 2020 @ 17:34:12
                    LOG: INFO: Binary build date: Mar  6 2020 @ 17:34:12
                    LOG: INFO: Chip serial num: 4118209451 (0xf576e3ab)
                    LOG: INFO: Supported Functions (15):
                    LOG: INFO: program
                    LOG: INFO: read
                    LOG: INFO: nop
                    LOG: INFO: patch
                    LOG: INFO: configure
                    LOG: INFO: setbootablestoragedrive
                    LOG: INFO: erase
                    LOG: INFO: power
                    LOG: INFO: firmwarewrite
                    LOG: INFO: getstorageinfo
                    LOG: INFO: benchmark
                    LOG: INFO: emmc
                    LOG: INFO: ufs
                    LOG: INFO: fixgpt
                    LOG: INFO: getsha256digest
                    LOG: INFO: End of supported functions 15
                    [MODALAI] Completed firehose_read
                    [MODALAI] Executing ufs_need_provisioning
                    [MODALAI] Turns out ufs needs provisioning
                    [MODALAI] <ufs_prov> executing firehose_configure
                    LOG: INFO: Calling handler for configure
                    LOG: INFO: Storage type set to value UFS
                    LOG: DEBUG: Calling usb_al_bulk_set_zlp_mode(TRUE), zlp is not set to 0
                    [MODALAI] <ufs_prov> finished firehose_configure
                    [MODALAI] <ufs_prov> executing ufs_provisioning_execute
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute LUNum with value
                    LOG: DEBUG: Can't decode attribute qVendorConfigCode with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute commit with value
                    LOG: INFO: Calling handler for ufs
                    LOG: DEBUG: Can't decode attribute slot with value
                    LOG: DEBUG: Can't decode attribute physical_partition_number with value
                    LOG: DEBUG: Can't decode attribute LUNum with value
                    LOG: DEBUG: Can't decode attribute bBootEnable with value
                    LOG: DEBUG: Can't decode attribute bDescrAccessEn with value
                    LOG: DEBUG: Can't decode attribute bInitPowerMode with value
                    LOG: DEBUG: Can't decode attribute bHighPriorityLUN with value
                    LOG: DEBUG: Can't decode attribute bSecureRemovalType with value
                    LOG: DEBUG: Can't decode attribute bInitActiveICCLevel with value
                    LOG: DEBUG: Can't decode attribute wPeriodicRTCUpdate with value
                    LOG: DEBUG: Can't decode attribute bWriteBoosterBufferPreserveUserSpaceEn with value
                    LOG: DEBUG: Can't decode attribute bWriteBoosterBufferType with value
                    LOG: DEBUG: Can't decode attribute shared_wb_buffer_size_in_kb with value
                    LOG: DEBUG: Can't decode attribute bConfigDescrLock with value
                    LOG: DEBUG: Can't decode attribute qVendorConfigCode with value
                    UFS provisioning succeeded
                    [MODALAI] <ufs_prov> finished ufs_provisioning_execute
                    [MODALAI] executing firehose_reset
                    LOG: INFO: Calling handler for power
                    LOG: DEBUG: Can't decode attribute DelayInSeconds with value
                    LOG: INFO: Will issue reset/power off 100 useconds, if this hangs check if watchdog is enabled
                    LOG: INFO: bsp_target_reset() 1
                    [MODALAI] finished firehose_reset
                    [MODALAI] Completed firehose_run
                    
                    
                    UFS provisioning succeeded, please reset power to the device
                    
                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ashwin @ashwin
                      last edited by

                      Hello @tom ,

                      Just following up on this.
                      Is there any potential way to revive the board?

                      Regards,
                      Ashwin

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Nathan Raras ModalAI Team @ashwin
                        last edited by

                        Hey @ashwin, inside the following path:

                        modal-qdl/qdl/qfil_app/src/data/qfil/cdt
                        

                        Can you run the following command and post the output?:

                        sudo /usr/local/bin/qdl \
                          --debug --storage ufs \
                          --include . \
                          prog_firehose_ddr.elf \
                          rawprogram3_RB5.xml \
                          patch3.xml
                        

                        This will give a more verbose output as to why your VOXL 2 is failing the CDT flash, thanks!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB | Contributors