BlueKitchen Btstack flash bank with imxrt1064

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

BlueKitchen Btstack flash bank with imxrt1064

跳至解决方案
367 次查看
bshannon
Contributor III

Greetings,

My team is using BlueKitchen's Bluetooth API for our product. Their API offers a tlv flash bank implementation that can be used to store paired connection keys to flash. Currently, we are using NXP's fsl_romapi to write to do this, and it's working. However, we are wasting memory calling the program page function to write a connection key that is approximately 30 bytes long. So our questions are:

  1. Is it possible to write to flash without writing a page at a time, if so how do we do this? (Sdk example?)
  2. If we write a few bytes at a time will this have a negative impact on the flash over a period of time?

 

BlueKitchen Info:

https://github.com/bluekitchen/btstack

https://github.com/bluekitchen/btstack/blob/master/platform/embedded/btstack_tlv_flash_bank.c 

标签 (1)
0 项奖励
1 解答
322 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @bshannon,

1. I'm afraid it is not possible to write to flash without writing one page at a time.

2. No, there is no negative impact for writing few bytes at a time.

BR,
Edwin.

在原帖中查看解决方案

0 项奖励
1 回复
323 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @bshannon,

1. I'm afraid it is not possible to write to flash without writing one page at a time.

2. No, there is no negative impact for writing few bytes at a time.

BR,
Edwin.

0 项奖励