Navigation

    Freqchip开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Recent
    1. Home
    2. Mars
    M
    • Continue chat with Mars
    • Start new chat with Mars
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Mars

    @Mars

    2
    Reputation
    234
    Posts
    3754
    Profile views
    3
    Followers
    0
    Following
    Joined Last Online

    Mars Follow

    Posts made by Mars

    • RE: FR800X central notify接收数据最大只能接收20个字节,超过的丢失

      是的,太强了,最好在链接事件的地方用软件定时器延迟1-2s去更新mtu,因为连接的时候交互服务信息,这时候去更新mtu不是最好的

      posted in FR800x
      M
      Mars
    • RE: fr8016的OTA升级成功,但是程序有时候没有起来,会是什么原因导致的。

      0_1750125261555_bd58c0e5-6291-45ad-adfb-c0bbcb15e223-image.png image size 要填你ota固件的大小,4K的倍数

      posted in FR801xH
      M
      Mars
    • RE: 直接把SDK里的例程examples\none_evm\ble_simple_peripheral 编译烧录后,用手机蓝牙调试工具搜索不到这个蓝牙,怎么解?

      看日志已经广播了,你的板子是我们开发板吗,如果不是的话你的板子的频偏需要调一下

      posted in FR801xH
      M
      Mars
    • RE: FR8018HA怎么进行flash读写

      #include "os_timer.h"

      os_timer_t timer_update_id;
      uint8_t flag =0;
      uint8_t read_data[128]={0};
      uint8_t read_data_W[128]={0};
      void timer_update_task(void* vag)
      {
      co_printf("%s, mem (0x%x)\r\n", func, os_get_free_heap_size());
      // ool_write( , );

      if(flag==0)
      {
      	flash_read(0x3F000,128,&read_data[0]);
      	co_printf("\r\n Read flash\r\n");
      	show_reg(read_data,128,1);
      	flag=1;
      }
      else if(flag ==1)
      {
      	flash_erase(0x3F000,0x1000);
      	for(uint8_t i =0;i<128;i++)
      	{
      		read_data[i]=i;
      	}
      	show_reg(read_data,128,1);
      	flag=2;
      }
      
      else if(flag ==2)
      {
      	flash_write(0x3F000,128,&read_data[0]);
      	flag=3;
      }
      else if(flag ==3)
      {
      	flash_read(0x3F000,128,&read_data_W[0]);
      	co_printf("\r\n read_data_W\r\n");
      	show_reg(read_data_W,128,1);
      	os_timer_stop(&timer_update_id);
      }
      

      }
      void timer_task_send(uint8_t on_off, uint32_t ms, bool num)
      {
      #if 1
      static uint8_t flag = 1;
      if(flag)
      {
      os_timer_init(&timer_update_id,timer_update_task,NULL);
      }
      if(on_off)
      {
      os_timer_start(&timer_update_id,ms,num);
      }
      else
      {
      os_timer_stop(&timer_update_id);
      }
      flag=0;
      #endif
      }

      参考一下,写的地址不能写在代码区,A、B区之外,计算A、B区就是image_size*2之后就是用户可以操作的flash

      posted in FR801xH
      M
      Mars
    • RE: KEIL5导入软件包失败,要怎么解决

      https://gitee.com/YgqMars/freqchip/blob/master/ARM.CMSIS.5.9.0.pack

      posted in FR801xH
      M
      Mars
    • RE: FR306设备做ble host/central流程问题

      配置初始化的参数
      gap_security_param_t smp_param = {
      .mitm = true,
      .secure_connection = false,
      .bond = true,
      .rsp_mode = ENABLE_AUTO_RSP,
      .oob_used = GAP_OOB_AUTH_DATA_NOT_PRESENT,
      .io_cap = GAP_IO_CAP_KB_ONLY, // OR GAP_IO_CAP_KB_ONLY
      };
      gap_security_param_init(&smp_param);
      第一在GAP_EVT_SMP_SEC_REQ中加入绑定
      0_1749713107039_382ab402-6168-4f74-92c5-7bb7a70a2783-image.png !
      第二、加入在GAP_EVT_SMP_TK_REQ加入填写密钥
      0_1749713144449_ccb76782-0389-4dd6-be59-ae2b4783e6d7-image.png

      posted in FR306x
      M
      Mars
    • RE: 使用FR8003A作为perpheral出现莫名复位重启现象

      寄板子过来也行,我这边是深圳办的 官网有地址

      posted in FR800x
      M
      Mars
    • RE: 使用FR8003A作为perpheral出现莫名复位重启现象

      可以过来我们这边 帮你调一下

      posted in FR800x
      M
      Mars
    • RE: 使用FR8003A作为perpheral出现莫名复位重启现象

      @rikzhang 要看一下频偏

      posted in FR800x
      M
      Mars
    • RE: 直接把SDK里的例程examples\none_evm\ble_simple_peripheral 编译烧录后,用手机蓝牙调试工具搜索不到这个蓝牙,怎么解?

      把你的日志截图看看

      posted in FR801xH
      M
      Mars