Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    一直 3%: Opening com... 咋解决?

    Wireless & Analog Series
    2
    3
    1680
    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.
    • H
      HU_710774265 LV 4 last edited by

      [make@archlinux tools]$ ./phoenixMC
      
      Version: v1.2.00815b(by notebook)
      phoenixMC_u -A [debug flash address]  (default: 0x00000000)
      phoenixMC_u -b [baud rate]  (default: 921600)
      phoenixMC_u -B [flash debug bin file for write]  (default: a.bin)
      phoenixMC_u -c [com dev] (default: /dev/ttyUSB0)
      phoenixMC_u -C [config file] (default: ./settings.ini)
      phoenixMC_u -d [debug log level]  (default: 0)
      phoenixMC_u -D [debug flash mode]  (default: n=NULL)
      phoenixMC_u -e [enable etf image]  (default: 0)
      phoenixMC_u -f [enable flash compat]  (default: 1)
      phoenixMC_u -g [enable combine images]
      phoenixMC_u -G [combine image path]  (default: combine_image.cimg)
      phoenixMC_u -h [help msg]
      phoenixMC_u -i [wlan image path]  (default: xr-system.img)
      phoenixMC_u -I [ETF image path]  (default: xr-system_etf.img)
      phoenixMC_u -l [log file path]   (default: ./log/log.txt)
      phoenixMC_u -L [debug flash length]   (default: 0x00000200)
      phoenixMC_u -r [read and check after write]  (default: 0)
      phoenixMC_u -s [show image info]
      phoenixMC_u -u [update changed blocks only]  (default: 1)
      phoenixMC_u -v [show version]
      
      When it's upgrading, input 'stop' to stop it if you need.
      --------------SETTING--------------
      COM:/dev/ttyUSB0
      Baud:921600
      Log path:./log/log.txt
      Log level:0
      Image path:../out/xr_system.img
      ETF image path:xr_system_etf.img
      Read and check:NO
      Update change only:YES
      Program ETF image:NO
      Use flash compat:YES
      
      *************************************************
                     firmware information              
      *************************************************
      *******************************************************************************************************************
      bin version: 5
      bin count: 6
      No.     ID		 sram_offs	 data_size	 next_section	 attribute	 private
       1      0xA5FF5A00       0x00230000	 0x000061C0	 0x00008000	 0x00000001	 0xFFFFFFFFFFFFFFFFFC05FFFF
       2      0xA5FE5A01       0x00201000	 0x0000EDB0	 0x00018000	 0x00000001	 0xFFFFFFFFFFFFFFFFFFFFFFFF
       3      0xA5FD5A02       0xFFFFFFFF	 0x0008B360	 0x0010B800	 0x00000002	 0xFFFFFFFFFFFFFFFFFFFFFFFF
       4      0xA5FA5A05       0xFFFFFFFF	 0x00000910	 0x0010C400	 0x00000001	 0xFFFFFFFFFFFFFFFFFFFFFFFF
       5      0xA5F95A06       0xFFFFFFFF	 0x00006394	 0x00112800	 0x00000001	 0xFFFFFFFFFFFFFFFFFFFFFFFF
       6      0xA5F85A07       0xFFFFFFFF	 0x00000318	 0xFFFFFFFF	 0x00000001	 0xFFFFFFFFFFFFFFFFFFFFFFFF
      *******************************************************************************************************************
      
      not Combined image!!
      3%: Opening com...
      magic:0x202C7373, 0x4D4F5242
      Invalid response!
      
      

      我只修改了/home/make/xr806_openharmony/device/xradio/xr806/
      BUILD.gn

      import("//build/lite/config/subsystem/lite_subsystem.gni")
      import("//build/lite/config/component/lite_component.gni")
      import("//base/security/huks/build/config.gni")
      
      build_ext_component("libSDK") {
        exec_path = rebase_path(".", root_build_dir)
        outdir = rebase_path("$root_out_dir")
        command = "./build.sh ${outdir}"
        deps = [
          "//build/lite/:ohos",
          "//kernel/liteos_m:kernel",
          "os:liteos_glue",
        ]
        if (IsBootloader == "false") {
          deps += [
            "adapter/hals:adapter",
            #"adapter/console:app_console",
            "ohosdemo:ohosdemo"
          ]
        }
        if (disable_huks_binary == true) {
          deps += [ 
            "//base/security/huks/frameworks/huks_lite:huks_sdk",
          ]
        }
      }
      
      group("xr806") {
      }
      ````
      1 Reply Last reply Reply Quote Share 0
      • H
        HU_710774265 LV 4 last edited by

        根据
        XR806开发板原理图.pdf
        短接 核心版两个铜触点
        按下 重启
        就会进入下载模式 解决问题

        C 1 Reply Last reply Reply Quote Share 0
        • C
          cszzlsw LV 4 @HU_710774265 last edited by

          @hu_710774265 你这个方法有效,感谢

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策