1845069_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1845069_en-US

1845069_en-US

[JN5189] Size of a flash memory page

hello

It seems that the flash page size for the JN5189 is 512 bytes, as defined in the SDK's app_flash.h file with '#define APP_FLASH_PAGE_SIZE 512'.

Is it possible to modify this part to change the unit for writing to flash to 256 bytes?

I tested by changing only APP_FLASH_PAGE_SIZE and it seems to read but not write.

Do I need further modifications?

Is changing the page size not supported originally?

Could you guide me on the best approach to take?


Thank you.

Jonny9.

Re: [JN5189] Size of a flash memory page

Hi,


Thank you for the confirmation.


The Page size is something related to the internal flash of the MCU and not should be changed.


Regards,

Ricardo

Re: [JN5189] Size of a flash memory page

Hi,


I made a mistake.

The name I used for #define was FLASH_PAGE_SIZE, not APP_FLASH_PAGE_SIZE.

For your reference, the base code is 'jn5189dk6_zigbee_ed_rx_on_bm'.

That part is located in 'fsl_flash.h'.

I apologize for any confusion this may have caused.


Best Regards,

Jonny9

Re: [JN5189] Size of a flash memory page

Hi,


Could you please confirm #define you are using? I could not find it on SDK.


Regards,

Ricardo

Re: [JN5189] Size of a flash memory page

Hello,


I am using version 2.6.10.


Best Regards,

Jonny9

Re: [JN5189] Size of a flash memory page

Hello,


Hope you are doing well. Could you please clarify what SDK version are you using?


Best Regards,

Ricardo

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 04:17 PM
更新者: