Skip to content

Commit

Permalink
fix hc32l13x series ram size and enable double buffering
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidegit authored Aug 10, 2023
1 parent 19764c3 commit 44bad61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyocd/target/builtin/target_HC32L13x.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
'page_size' : 0x200,
'analyzer_supported' : False,
'analyzer_address' : 0x00000000,
'page_buffers' : [0x20000800], # Enable double buffering
'page_buffers' : [0x20000800, 0x20001000], # Enable double buffering
'min_program_length' : 0x200,
}

Expand Down Expand Up @@ -91,7 +91,7 @@ class HC32L130(CoreSightTarget):
FlashRegion( start=0x00000000, length=0x10000, sector_size=0x200,
is_boot_memory=True,
algo=FLASH_ALGO),
RamRegion( start=0x20000000, length=0x1000)
RamRegion( start=0x20000000, length=0x2000)
)

def __init__(self, session):
Expand All @@ -110,7 +110,7 @@ class HC32F030(CoreSightTarget):
FlashRegion( start=0x00000000, length=0x10000, sector_size=0x200,
is_boot_memory=True,
algo=FLASH_ALGO),
RamRegion( start=0x20000000, length=0x1000)
RamRegion( start=0x20000000, length=0x2000)
)

def __init__(self, session):
Expand Down

0 comments on commit 44bad61

Please sign in to comment.