This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to flash some pages without erasing others ?

Hi.

We are using Keil uV4 IDE and ULINK2 (and AT91SAM7X512 MCU).
We have the following situation/configuration:
- Our data is located at the end of the FLASH memory.
- Our firmware is located at the beginning of the FLASH memory.

We have problem debugging this because:
While entering debug session/mode of uV4, Keil always seems to erase whats already in flash.
Also the data at the end of flash (previously downloaded by SAM-BA), which the firmware uses!

We'll appreciate comments to how to solve this problem.

Regards Terje Bøhler

Parents
  • Thanks, but I cannot find such "Flash Download" setting:
    In "Option for target XXX" there is a "Debug" pane available. But no such "Flash Download pane" exists.
    And while in/during Debug Session, the "Debug" pane (from the top menu) shows a "Debug Settings..." option.
    This lead us to a "ARM Target Driver Setup" menu, but no "Flash Download pane" exists.
    I'll appreciate a clarification on this issue.

    Best regards
    Terje Bøhler

Reply
  • Thanks, but I cannot find such "Flash Download" setting:
    In "Option for target XXX" there is a "Debug" pane available. But no such "Flash Download pane" exists.
    And while in/during Debug Session, the "Debug" pane (from the top menu) shows a "Debug Settings..." option.
    This lead us to a "ARM Target Driver Setup" menu, but no "Flash Download pane" exists.
    I'll appreciate a clarification on this issue.

    Best regards
    Terje Bøhler

Children
No data