Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F207ZG sectors not written out (sectors : null) #126

Closed
JanneKiiskila opened this issue Oct 18, 2019 · 4 comments
Closed

STM32F207ZG sectors not written out (sectors : null) #126

JanneKiiskila opened this issue Oct 18, 2019 · 4 comments
Assignees

Comments

@JanneKiiskila
Copy link
Contributor

JanneKiiskila commented Oct 18, 2019

See originating PR; ARMmbed/mbed-os#11707

The Keil CMSIS-pack file has this for the

        <!-- *************************  Device 'STM32F207ZG'  ***************************** -->
        <device Dname="STM32F207ZG">
          <memory id="IROM1"                               start="0x08000000" size="0x00100000" startup="1" default="1"/>
          <memory id="IRAM1"                               start="0x20000000" size="0x00020000" init   ="0" default="1"/>
          <algorithm name="CMSIS/Flash/STM32F2xx_1024.FLM" start="0x08000000" size="0x00100000"             default="1"/>
          <algorithm name="CMSIS/Flash/STM32F2xx_OPT.FLM"  start="0x1FFFC000" size="0x00000010"             default="0"/>
          <algorithm name="CMSIS/Flash/STM32F2xx_OTP.FLM"  start="0x1FFF7800" size="0x00000210"             default="0"/>
          <feature type="ADC"           n="24"      m="12"/>
          <feature type="IOs"           n="114"/>
          <variant Dvariant="STM32F207ZGTx"> <feature type="QFP" n="144"/> </variant>
        </device>

The current index.json under tools/arm_pack_manager has this information:

        "name": "STM32F207ZGTx", 
        "processor": {
            "Symmetric": {
                "core": "CortexM3", 
                "fpu": "None", 
                "mpu": "Present", 
                "units": 1
            }
        }, 
        "sectors": [
            [
                134217728, 
                16384
            ], 
            [
                134283264, 
                65536
            ], 
            [
                134348800, 
                131072
            ], 
            [
                536836096, 
                528
            ], 
            [
                536854528, 
                16
            ]
        ], 

So, the information seems to be essentially there, but it is not parsed out somehow / generated to the output.

Output is:

    "name": "STM32F207ZGTx", 
    "processor": {
        "Symmetric": {
            "core": "CortexM3", 
            "fpu": "None", 
            "mpu": "Present", 
            "units": 1
        }
    }, 
    "sectors": null, 
@theotherjimmy
Copy link
Collaborator

theotherjimmy commented Oct 18, 2019

@JanneKiiskila This package does not populate sectors. That is done by the CPM wrapper in Mbed OS

@JanneKiiskila
Copy link
Contributor Author

JanneKiiskila commented Oct 29, 2019

So, @theotherjimmy should the issue be moved over to Mbed OS? GitHub has this nifty "transfer issue" feature nowadays. :-)

@theotherjimmy
Copy link
Collaborator

theotherjimmy commented Oct 29, 2019

Yeah, that's a good idea. I can't move this issue to Mbed OS.

@JanneKiiskila
Copy link
Contributor Author

Created new issue, cant' transfer due to sync script issues.
-> see ARMmbed/mbed-os#11798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants