Newer
Older
mbed-os / targets / TARGET_Cypress / TARGET_PSOC6 / sb-tools / prepare / policy_single_stage_CM4.json
{
    "debug" :
    {
        "m0p" : {
            "permission" : "disabled",
            "control" : "firmware",
            "key" : 5
        },
        "m4" : {
            "permission" : "allowed",
            "control" : "firmware",
            "key" : 5
        },
        "system" : {
            "permission" : "enabled",
            "control" : "firmware",
            "key" : 5,
            "syscall": true,
            "mmio": true,
            "flash": true,
            "workflash": true,
            "sflash": true,
            "sram": true
        },
        "rma" : {
            "permission" : "allowed",
            "destroy_fuses" : [
                {
                    "start" : 888,
                    "size" : 136
                },
                {
                    "start" : 648,
                    "size" : 104
                }
            ],
            "destroy_flash" : [
                {
                    "start" : 268435456,
                    "size" : 851968
                },
                {
                    "start" : 269483520,
                    "size" : 16
                }
            ],
            "key" : 5
        }
    },
    "wounding" :
    {
    },
    "boot_upgrade" :
    {
        "title": "upgrade_policy",
        "firmware": [
            {
                "boot_auth": [
                    3
                ],
                "id": 0,
                "launch": 4,
                "smif_id": 0,
                "upgrade": false,
                "upgrade_auth": [
                    3
                ],
                "resources": [
                    {
                        "type": "FLASH_PC1_SPM",
                        "address": 269287424,
                        "size": 65536
                    },
                    {
                        "type": "SRAM_SPM_PRIV",
                        "address": 134348800,
                        "size": 65536
                    },
                    {
                        "type": "SRAM_DAP",
                        "address": 134397952,
                        "size": 16384
                    }
                ]
            },
            {
                "boot_auth": [
                    8
                ],
                "id": 4,
                "monotonic": 0,
                "smif_id": 0,
                "upgrade": true,
                "upgrade_auth": [
                    8
                ],

                "resources": [
                    {
                        "type": "BOOT",
                        "address": 268435456,
                        "size": 327680
                    },
                    {
                        "type": "UPGRADE",
                        "address": 268763136,
                        "size": 327680
                    }
                ]
            }
        ]
    }
}