name: HC32F005-Series
manufacturer:
  id: 0x78
  cc: 0xD
variants:
- name: HC32F005C6PA
  cores:
  - name: main
    type: armv6m
    core_access_options: !Arm
      ap: !v1 0
  memory_map:
  - !Nvm
    range:
      start: 0x0
      end: 0x8000
    cores:
    - main
    access:
      boot: true
  - !Ram
    range:
      start: 0x20000000
      end: 0x20001000
    cores:
    - main
  flash_algorithms:
  - hc32f005
- name: HC32F005C6UA
  cores:
  - name: main
    type: armv6m
    core_access_options: !Arm
      ap: !v1 0
  memory_map:
  - !Nvm
    range:
      start: 0x0
      end: 0x8000
    cores:
    - main
    access:
      boot: true
  - !Ram
    range:
      start: 0x20000000
      end: 0x20001000
    cores:
    - main
  flash_algorithms:
  - hc32f005
flash_algorithms:
- name: hc32f005
  description: HC32F005 Flash
  default: true
  instructions: QLpwR8C6cEdwtV9MIGiABoUPIdAA8LL4IGgBIQhDIGDgaAAF/NUA8Kn4IGgwIYhDIGAA8KP4AS0E0AItBdADLQrRBeAgaAIhBOAgaAQhAeAgaAghiEMgYADwkPggaP8hwTGIQyBgAPCJ+CBoAyVtAqhDIGAA8IL44GioQ+BgAPB3+EJMICAgYADwcvgXIGBgAPBu+BsgoGAA8Gr4PEjgYADwZvg7SCBhAPBi+BggYGEA8F748CCgYQDwWvh9IMAA4GEAIHC9ACBwR3C1L0wgasAG/NQA8Ez4L0ggYwDwSPggagMhCEMgYgAlLWAgasAG/NQA8D34JWMAIHC9cLUjTAVGIWrIBvzUAPAy+CJIIGMA8C74IGqACIAAgBwgYgAmLmAgasAG/NQA8CL4JmMAIHC997UWRg9GACQA8Bn4E00VSChjAPAU+ChqgAiAAEAcKGIG4ACYMV0BVShqwAb81GQcvEL20wDwA/gAIChj/r0GSApJwWIKScFicEcCSAdJgWAHSYFgcEcAIABAAAACQFBGAADgIgIA//8AAFpaAAClpQAAAAAAAA==
  pc_init: 0x9
  pc_uninit: 0xc7
  pc_program_page: 0x133
  pc_erase_sector: 0xfd
  pc_erase_all: 0xcb
  data_section_offset: 0x1a4
  flash_properties:
    address_range:
      start: 0x0
      end: 0x8000
    page_size: 0x200
    erased_byte_value: 0xff
    program_page_timeout: 100
    erase_sector_timeout: 3000
    sectors:
    - size: 0x200
      address: 0x0
  cores:
  - main
