A method for refreshing storage elements of memory resources included in a memory device , the method comprising: setting information in register space to not select a normal refresh mode, to select an on-the-fly mode, and to choose one on-the-fly mode setting from amongst first (1x/2x) and second (1x/4x) on-the-fly mode settings, wherein the first on-the-fly mode setting comprises: - a first set (On the Fly 1x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a first refresh cycle time and - a first average refresh interval time; and - a second set (On the Fly 2x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a second refresh cycle time and - a second average refresh interval time; wherein the first refresh cycle time is different from the second refresh cycle time and the first average refresh interval time is different from the second average refresh interval time; and the second on-the-fly mode setting comprises: - a third set (On the Fly 1x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a third refresh cycle time and - a third average refresh interval time; and - a fourth set (On the Fly 4x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a fourth refresh cycle time and - a fourth average refresh interval time; wherein the third refresh cycle time is different from the fourth refresh cycle time and the third average refresh interval time is different from the fourth average refresh interval time; dynamically triggering selection between: - the first and second sets of refresh cycle time (tRFC) and average refresh interval time (tREFI) information in case the first on-the-fly mode setting is chosen by the information set in the register space; and - the third and fourth sets of refresh cycle time (tRFC) and average refresh interval time (tREFI) in case the second on-the-fly mode setting is chosen by the information set in the register space, in response to detecting a refresh rate trigger based either on timimg or traffic at the memory device to refresh the storage elements of the memory resources . - a first set (On the Fly 1x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a first refresh cycle time and - a first average refresh interval time; and - a first refresh cycle time and - a first average refresh interval time; and - a second set (On the Fly 2x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a second refresh cycle time and - a second average refresh interval time; - a second refresh cycle time and - a second average refresh interval time; - a third set (On the Fly 1x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a third refresh cycle time and - a third average refresh interval time; and - a third refresh cycle time and - a third average refresh interval time; and - a fourth set (On the Fly 4x) of refresh cycle time (tRFC) and average refresh interval time (tREFI), comprising: - a fourth refresh cycle time and - a fourth average refresh interval time; - a fourth refresh cycle time and - a fourth average refresh interval time; - the first and second sets of refresh cycle time (tRFC) and average refresh interval time (tREFI) information in case the first on-the-fly mode setting is chosen by the information set in the register space; and - the third and fourth sets of refresh cycle time (tRFC) and average refresh interval time (tREFI) in case the second on-the-fly mode setting is chosen by the information set in the register space, in response to detecting a refresh rate trigger based either on timimg or traffic at the memory device to refresh the storage elements of the memory resources . <EOS>