Skip to content

Flash Algorithm function 'Init' parameter 'clk' is not used anymore and should be deprecated in our documentation #422

Description

@HansSchneebauer

The Flash Programming Algorithm function 'Init' is described in this document:
https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/algorithmFunc.html#Init

The parameter 'clk' is described there as 'clock frequency', but it is unclear if the CPU clock or an external clock is meant. Only a few Flash algorithms use this second parameter as an external clock value. However, with our current implementation of µVision and Keil Studio, this parameter is not set to a useful value. µVision currently passes the value 12.000.000 and the Keil Studio (piOCD) passes the value 0.
I think we should mark this parameter as deprecated in this specification, and we should check which Flash algorithms are using it. One example is the Renesas RA6M1/2/3 Flash algorithm.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions