Program without erase

From SEGGER Knowledge Base
Jump to navigation Jump to search

This article describes the J-Link feature: Program without erase.

Description

Some devices have a non volatile memory which does not need to be erased before it can be programmed.
These device mostly have some kind of FRAM, MRAM or RRAM instead of traditional flash memory embedded.
J-Link does support this, when this feature is enabled for your device and Flash Bank.

Programming

No erase is done in front of programming.

Erasing

In order to erase a device, this can be done by an explicit erase command.
J-Link Commander: erase
J-Flash: Sector (F3) or chip erase (F4).
When doing this the selected area is programmed with a predefined erased value.