Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

NXP/ST Power Architecture: Rejecting FLASH operation. No valid entry address in RCHW

01-Dec-2023

Before performing a FLASH download, winIDEA verifies if the Entry point address specified in the Symbol file (ELF file) matches the Application start address specified in the first valid RCHW record of the download image. If this doesn't match, FLASH programming is rejected and a warning is shown: 

  • Rejecting FLASH operation, device would be improperly configured. No valid entry address in RCHW in the Progress window
  • Error programming


Possible solution:

It is recommended to follow these steps:

  • Verify the entry point address
  • Verify the content of the boot records for correctness
  • Disable the Image checker


Verify entry point address

Perform the following steps to find the entry point specified in your Symbol file:

1. Open Debug / Configure session / Applications / App / Symbol files.


2. Right-click on the Default elf file and select Dump ELF. The generated file is automatically opened in a text editor.


3.  The Entry point address is displayed in the top section of the file.


If multiple .elf files are used in your application, only the Default file for debugging (as selected in Debug / Configure Session / Applications / App / Symbol Files) is considered by the Image checker. 


Verify contents of the boot records

1. Prior to FLASH programming perform a download in Demo Mode.

2. Use the Load Map to inspect the boot record (RCHW) locations as specified in the TRM of the selected SoC.

3. At the first location which contains a valid boot tag, inspect the subsequent 4 byte aligned location for the Application start address.


Disable Image checker

If you are confident that your device will boot properly (e.g. the entry point address is specified elsewhere, such as a bootloader defined in a separate .elf file), you can disable the Image checker by changing the following settings:

1. Open Hardware / CPU Options / Debugging.

2. Uncheck option Check if program entry point is reachable.

3. Set the option If device is about to be programmed to non-destructive state to Allow programming.


More resources:

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!