BlueKitchen Btstack flash bank with imxrt1064

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BlueKitchen Btstack flash bank with imxrt1064

Jump to solution
764 Views
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 

Labels (1)
0 Kudos
Reply
1 Solution
719 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
720 Views
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 Kudos
Reply