导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. zealsoft
    Z
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 419
    • 主题 4
    • 帖子 6
    • 最佳 0
    • 群组 0

    zealsoftLV 3

    @zealsoft

    419
    积分
    0
    声望
    1
    资料浏览
    6
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    zealsoft 取消关注 关注

    zealsoft 发布的最新帖子

    • 回复: buildroot构建的镜像为什么没有了wifi

      @whycan 就是按照v853的文档上操作的。
      (1) ./build.sh config # 配置编译模式和项目文件
      (2) ./build.sh # 编译
      (3) ./build.sh pack # 打包

      发布在 V Series
      Z
      zealsoft
    • buildroot构建的镜像为什么没有了wifi

      以前用openwrt构建镜像一直正常。最近希望使用buildroot构建sysroot,但是用buildroot构建的镜像启动后好像缺了好多东西,wifi应用也没有了。这是为什么?谢谢指导。

      发布在 V Series
      Z
      zealsoft
    • 采用GPADC的查询模式总是不能获得电压

      在裸机环境按照手册的说明设置GPADC0为查询模式,但总是得不到电压值。
      在设置连续转换模式之后和使能ADC之后读取GP_CTRL,发现总是默认值0x800000,和设置啥无关。
      哪些帮忙看看,谢谢。
      程序大致如下:
      unsigned int ra;
      unsigned int x, d;

      /* init GPADC */
      /* 1. Write 0x1 to the bit[16] of GPADC_BGR_REG (Offset: 0x09EC) to dessert reset. */
      PUT32(GPADC_BGR, 1 << 16);
      /* 2. Write 0x1 to the bit[0] of GPADC_BGR_REG (Offset: 0x09EC) to enable the GPADC clock. */
      PUT32(GPADC_BGR, 1);
      /* 3. Write 0x2F to the bit[15:0] of GP_SR_CON (Offset: 0x0000) to set the acquiring time of ADC.
         4. Write 0x1DF to the bit[31:16] of GP_SR_CON (Offset: 0x0000) to set the ADC sample frequency divider. */
      PUT32(GP_SR_CON, 0x1df002f);
      /* 5. Write 0x2 to the bit[19:18] of GP_CTRL (Offset: 0x0004 ) to set the continuous conversion mode.*/
      ra = GET32(GP_CTRL) & ~(0x03 << 18);
      PUT32(GP_CTRL, ra | (0x02 << 18));
      /* 6. Write 0x1 to the bit[0] of GP_CS_EN (Offset: 0x0008) to enable the analog input channel. */
      ra = GET32(GP_CS_EN);
      PUT32(GP_CS_EN, ra | 1);
      /* 7. Write 0x1 to the bit[16] of GP_CTRL (Offset: 0x0004) to enable the ADC function.*/
      ra = GET32(GP_CTRL);
      ra = GET32(GP_CTRL) & ~(0x09 << 16);
      PUT32(GP_CTRL, ra | (0x09 << 16));
      
      /* queue the key states */
      while(1)
      {
          /* 8. Read the bit[0] of GP_DATA_INTS (Offset: 0x0038), if the bit is 1, then data conversion is complete.*/
          x = GET32(GP_DATA_INTS);
      if(x & 1)
      {
         d = GET32(GP_CH0_DATA) & 0xfff;
         hexstring(d);
      }
          DELAY(0x1000000);
      }
      
      发布在 V Series
      Z
      zealsoft
    • 回复: 全志v853没有启用/dev/mem

      @whycan 谢谢,等疫情结束回到办公室再试吧,笔记本硬盘太小,编译不了

      发布在 V Series
      Z
      zealsoft
    • 全志v853没有启用/dev/mem

      今天测试一个程序时,发现没有/dev/mem。是我的固件太老了,还是需要自己编译内核启用这个设备?

      发布在 V Series
      Z
      zealsoft
    • V853下载源代码总是报告error: unpack-objects died of signal 9

      下载源代码时,总是遇到下面的错误,是哪里设置不对吗?

      Fetching projects: 87% (65/74) Fetching project product/linux/external/qt
      remote: Counting objects: 6, done.
      remote: Compressing objects: 100% (5/5), done.
      error: unpack-objects died of signal 9
      fatal: unpack-objects failed

      发布在 代码下载问题专区
      Z
      zealsoft