Search found 9 matches

by ryan.yu@boneco.ch
2025年 Feb 20日 09:49
Forum: TuyaOS-工具讨论
Topic: BK7231NSP 烧录问题请教
Replies: 1
Views: 3698

BK7231NSP 烧录问题请教

用的是TUYA OS,设备的固件也需要烧录到涂鸦模组芯片里
1.请问目前用的BK_Writer 烧录工具,重新烧录时无法保留授权码,会全部擦除覆盖,请问如何解决?
2.请问烧录时代码中需要加入授权码吗?如果模组已经自带授权码了
3.另外芯片我选了T2对吗?好像没有对应的BK7231NSP选项

by ryan.yu@boneco.ch
2025年 Feb 20日 08:35
Forum: TuyaOS-联网单品开发
Topic: 【操作指南】联网设备的烧录授权
Replies: 8
Views: 32133

Re: 【操作指南】联网设备的烧录授权

请问用的是TUYA OS,模组TCS905-U,烧录软件用的是BK_writer.
1.请问如何只擦除固件,原来的授权码保留?
2.请问如果是用这个BK_Writer软件烧录,新的固件代码里不带授权码,是否可以?如何操作,目前试了下好像是无法连接联网
3.请问如果还是用这个烧录软件,新的固件代码里含有授权码? 那烧录完会取用新的授权码吗?

d6c9e6fb08217606faff8a4d887aa82.png
by ryan.yu@boneco.ch
2025年 Feb 19日 13:06
Forum: TuyaOS-联网单品开发
Topic: 【操作指南】联网设备的烧录授权
Replies: 8
Views: 32133

Re: 【操作指南】联网设备的烧录授权

yingtao_33 2025年 Feb 19日 10:10

请问你用的是什么框架

用的是TCS905-U模组,内置是BK7231NSP这款芯片,通过代码的方式将授权信息写入到 flash,每次都得把授权码写入代码中吗?有没有办法反复烧录可以不擦除授权码在开发阶段?

by ryan.yu@boneco.ch
2025年 Feb 19日 10:04
Forum: TuyaOS-联网单品开发
Topic: 【操作指南】联网设备的烧录授权
Replies: 8
Views: 32133

Re: 【操作指南】联网设备的烧录授权

请问TUYA OS,如何操作可以反复烧录,不擦除授权码信息?谢谢

by ryan.yu@boneco.ch
2025年 Feb 19日 09:43
Forum: TuyaOS-工具讨论
Topic: BK7231NSP固件分区
Replies: 1
Views: 3984

BK7231NSP固件分区

请问下 BK7231NSP这款芯片的TCS905U模组的固件分区是怎么样的?

by ryan.yu@boneco.ch
2024年 Sep 25日 09:48
Forum: TuyaOS-Networked Device Development
Topic: the SPI communications “hangs” randomly-urgently
Replies: 5
Views: 8829

Re: the SPI communications “hangs” randomly-urgently

but every SPI can transfer data in full duplex. we final have found the problem in the Tuya System and could manage to apply a solution that works for us. Please find attached the updated document. could you please check and change the TUYA System as well? thank you

by ryan.yu@boneco.ch
2024年 Sep 24日 15:24
Forum: TuyaOS-Networked Device Development
Topic: the SPI communications “hangs” randomly-urgently
Replies: 5
Views: 8829

Re: the SPI communications “hangs” randomly-urgently

we found the following comment in the file “software/TuyaOS/vendor/t2/beken_os/beken378/driver/spi/spi_master_bk7231n_new.c”: // 全双工收发接口,也可仅发送或仅接收 //存在问题,收发同时时,接收会丢掉一个字节,在2M频率下 int bk_spi_master_dma_xfer(struct spi_message *spi_msg) This function is call by tkl_spi_transfer(SPI_ID, spi_send_buffer, ...
by ryan.yu@boneco.ch
2024年 Sep 24日 08:36
Forum: TuyaOS-Networked Device Development
Topic: the SPI communications “hangs” randomly-urgently
Replies: 5
Views: 8829

Re: the SPI communications “hangs” randomly-urgently

thanks very much for your propose. It was a little confusing. But we have found a solution, The program is working but in hardware it does NOT work, because the Chip-Select Pin does not work correct. could you please give some advise for us, thank you / spi init / STATIC TUYA_SPI_BASE_CFG_T spi_cfg ...
by ryan.yu@boneco.ch
2024年 Sep 18日 16:11
Forum: TuyaOS-Networked Device Development
Topic: the SPI communications “hangs” randomly-urgently
Replies: 5
Views: 8829

the SPI communications “hangs” randomly-urgently

the SPI communications “hangs” randomly. Please find attached the analysis of the problem and the modified tuya_app_main.c from the quickstart demo. can you check this on a T2 Demo Board and can you run the spi in a Loop for a few minutes at least and with the function “tkl_spi_transfer(SPI_ID, spi_...