logo elektroda
logo elektroda
X
logo elektroda

Tuya XR806 RT-WT501 flashed with OpenXR806 via phoenixMC, no AP or logs?

mkrum001 39 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21885119
    mkrum001
    Level 3  
    Hello,

    I know it's for a different board, but if you don't mind I'll ask here. its a RT-WT501. I have access to the board and it has XR806af2e. I was able to flash it with
    OpenXR806_1.18.287.img
    but it does not start any AP or I can't get any logs with
    minicom
    under ubintu. Can you advice how to troubleshoot further?

    Tuya XR806 RT-WT501 flashed with OpenXR806 via phoenixMC, no AP or logs?

    Tuya XR806 RT-WT501 flashed with OpenXR806 via phoenixMC, no AP or logs?

    Tuya XR806 RT-WT501 flashed with OpenXR806 via phoenixMC, no AP or logs?


    Code: Bash
    Log in, to see the code
  • ADVERTISEMENT
  • #2 21885142
    p.kaczmarek2
    Moderator Smart Home
    Are you sure there is no bootlog? Was there bootlog before you flashed OBK? Do you have firmware copy?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21885150
    divadiow
    Level 38  
    probably one of those pesky DCDC-powered types. Maybe we need a variant for those. I still don't have a DCDC-capable XR806 test device.
  • #4 21885152
    p.kaczmarek2
    Moderator Smart Home
    What do you mean by DCDC? A voltage converter? Any more information on that?
    Helpful post? Buy me a coffee.
  • #5 21885157
    divadiow
    Level 38  
    we've seen it in a couple of XR806s. @jmkrzyszt was playing with a build. The factory boot log gives away the DCDC/LDO type

    https://www.elektroda.com/rtvforum/topic4115856.html#21746224

    or maybe it's an xtal variant: https://www.elektroda.com/rtvforum/topic4115856.html#21779853 - as highlighted by @insmod

    We have a couple of DCDC dumps that I haven't been able to test. The Avatto smart watering device was DCDC and its image (the OTA file from Tuya which includes bootloader) is what killed my 1st XR806 5v dev board,

    https://www.elektroda.com/rtvforum/topic4064188.html

    Added after 1 [minutes]:

    https://github.com/openshwprojects/OpenBK7231T_App/pull/1893

    Added after 3 [minutes]:

    divadiow wrote:
    or maybe it's an xtal variant

    :) maybe not
    Tuya XR806 RT-WT501 flashed with OpenXR806 via phoenixMC, no AP or logs?
  • #6 21885167
    mkrum001
    Level 3  
    I have another device, but still can't find a way to dump its firmware. The device is using 4xAA batteries and it must produce 3.3v from them. The valve inside is 3v. Also few labels around the pins for 3.3v...
  • ADVERTISEMENT
  • #8 21885576
    mkrum001
    Level 3  
    I was able to dump something with:
    phoenixMC -c /dev/ttyUSB0 -b 921600 -D read -A 0x00000000 -L 0x00200000
    and it is attached.
    Attachments:
    • flash_A_0x0_L_0x200000.bin (2 MB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #9 21885581
    divadiow
    Level 38  
    ah very good.

    did you happen to capture debug boot log too - plain-text terminal log.

    I'll cautiously flash your backup to WXU module to see if it boots

    Added after 22 [minutes]:

    Code: Text
    Log in, to see the code
  • #10 21885633
    mkrum001
    Level 3  
    I was able to capture logs (from beginning hopefully):
    Code: Bash
    Log in, to see the code
  • #11 21885767
    divadiow
    Level 38  
    mkrum001 wrote:
    I was able to capture logs (from beginning hopefully):

    sadly not the very beginning, the bit that includes the power info as seen in the log I posted.

    My power info seen in boot log should not be assumed to be the same as yours will show on real device.

    Did you manage to safely power your first device to see if you get any boot log from OpenXR806 at all? Might be an idea to try RX and TX pads for log output

    Added after 42 [minutes]:

    I think we should probably have 3 variants to cover the XR806s power options

    -INT LDO (current OpenXR806)
    -INT DCDC
    -EXT PWR

    Added after 27 [minutes]:

    seems EXT PWR can cover lots of different board implementations, for example:

    external fixed 1.8 V rail
    external switchable 1.8 V / 2.5 V rail
    external LDO
    external buck
    PMIC-controlled rail
    GPIO-controlled voltage select
    inverted/non-inverted control logic
    different settle delays
    different pins used for switching

    so that would be tricky. I wonder if we're ever likely to encounter any
ADVERTISEMENT