From SEGGER Wiki
Revision as of 09:18, 10 August 2022 by Leon (talk | contribs) (Recovering unresponsive devices)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The AmbiqMicro Apollo4 are ultra-low power, Cortex-M4 based.

Internal Flash

Supported Regions

The internal flash is divided into 2 different regions:

  • Reserved by boot code (0x00000 - 0x17FFF), not accesible.
  • Program Flash (0x18000 - 0x1FFFFFF)

J-Link supports the program flash space. The boot code area is not accessible and cannot be erased or programmed.

Evaluation Boards

Example Project

The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the NXP JN5189-DK006. It is a simple Hello World sample linked into the internal flash. SETUP

Recovering unresponsive devices

It is possible to put an Apollo4 device into an unresponsive state in which debug probes cannot establish a debug connection to the target device anymore.
This could be achieved by downloading an application which resets the device early in user code, causing the device to continuously reset itself.

An AMAP4BEVB board with an unresponsive device may be recovered by rewriting on-chip security configuration for the boot options. However, due to the confidentiality of the security implementation, you need to get in touch in Ambiq for details.