Currently using RA8D1 DATA FLASH, Unit of programming for the data area:4/8/16 bytes To change the value to 8 bytes,Unit of erasure for the data area:***/128/256 bytes wants to be modified to 256 bytes, but there is no modification in FSP. The BSP_FEATURE_FLASH_HP_DF_WRITE_SIZE and BSP_FEATURE_FLASH_HP_DF_BLOCK_SIZE items in the BSP_FEATURE_H field are modified. Is there any way to modify it?
Hi Larry,
Thank you for your query!
The data flash programming and erase sizes for RA8D1 are hardware-defined and cannot be changed via FSP or by modifying BSP_FEATURE_FLASH_HP_DF_WRITE_SIZE and BSP_FEATURE_FLASH_HP_DF_BLOCK_SIZE. These macros reflect device capabilities but do not configure them. The supported units (4/8/16 bytes for programming and */128/256 bytes for erasing) are fixed per the hardware specification.
Kind regards,
PS
I don't understand. There's just no way to change it through programming by myself.
Thank you for your follow-up.
Unfortunately, the data flash write unit size and block erase size are hardware-defined features of the RA8D1 device and cannot be changed through user code or by modifying FSP or BSP settings.
These parameters are fixed in the flash memory architecture itself, and any changes to these values would require a different hardware configuration, which is not possible from the application side.
Sorry, maybe I misunderstood the hardware manual of RA8D1. If it can't be changed, why does the hardware manual state support for these? (4/8/16 bytes)
The hardware manual mentions support for 4/8/16-byte programming and 128/256-byte erasure to indicate the available options for these operations, which are fixed by the hardware architecture. While you can choose between these sizes, they cannot be changed beyond the hardware-defined values.
Hope this helps clarify!
Yes, my modification is on the support list. I want Unit of programming for the dataarea(changed from 4 bytes to 8 bytes),Unit of erasure for the data area(changed from *** bytes to 256 bytes)
Your desired values (8-byte programming and 256-byte erasure) are indeed supported by the hardware. However, these are not configurable defaults in FSP. Instead, you can use these supported sizes directly in your code during flash write and erase operations by ensuring your write size is 8 bytes and targeting 256-byte blocks for erase. There's no need to "set" these sizes globally, just structure your operations accordingly.
Could you please set the speed for me? I'm not very clear about it. Thank you very much
If you're referring to setting the speed for the flash programming or erasure process, the speed is typically determined by the system clock and the flash controller. Could you clarify which specific speed you're asking about?
Sorry, I made a mistake just now. What I mean is that it can be set to 8 bytes and 256 bytes. How should it be set