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.
Solved! Go to Solution.
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
Hello,
Hope you are doing well. Could you please clarify what SDK version are you using?
Best Regards,
Ricardo
Hello,
I am using version 2.6.10.
Best Regards,
Jonny9
Hi,
Could you please confirm #define you are using? I could not find it on SDK.
Regards,
Ricardo
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
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