Monday, December 11th 2017, 2:23pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Pratheesh P

Beginner

Date of registration: Jun 22nd 2017

Posts: 5

1

Tuesday, September 19th 2017, 1:42pm

[SOLVED] BTL_ImageCreator can combine multiple binaries?

Hi,

In our custom hardware, we are using EMLOAD for flashing the FW Images. Other than EMLOAD, we are having 3 more Binaries, in which 2 binaries reside in internal Flash memory and another Binary reside in external NAND Flash.

We are checking how we can combine all these 3 Binaries along with the EMLOAD Image, so that we can flash all these Images in production setup, using KEIL in a single step.

Our queries are:

1. Does BTL_ImageCreator can combine 4 Images including EMLOAD?
2. Is the CRC residing in FWInfoArea is calculated considering the non-filled areas in Flash excluding EMLOAD area and FWInfoArea? As we are having the external NAND Flash memory, the CRC calculation includes this memory too?


Regards,
Pratheesh

SEGGER - Oliver

Super Moderator

Date of registration: Nov 14th 2007

Posts: 41

2

Monday, September 25th 2017, 2:26pm

Hi Pratheesh,

Sorry for the delay but I think you already received my vacation note from one of my colleagues.

1. Does BTL_ImageCreator can combine 4 Images including EMLOAD?

The purpose of the BTL Image Creator is to prepare ONE firmware image for direct flashing instead of updating via emLoad. Optional it can be combined with emLoad itself for direct flashing. It is not meant to combine multiple firmware images.

Of course you can first combine multiple firmware images or parts of one large image that has different addresses into one big firmware file using other tools like J-Flash (merge command). These commands are avaulable on command line as well and do not even need a J-Flash license.

2. Is the CRC residing in FWInfoArea is calculated considering the non-filled areas in Flash excluding EMLOAD area and FWInfoArea? As we are having the external NAND Flash memory, the CRC calculation includes this memory too?

The CRC is built over all firmware areas that emLoad is able to update. This means it also includes your NAND, or at least the portions of the NAND that you have declared to be part of any emLoad firmware area. Empty bytes here are expected to be 0xFF .

Best regards,
Oliver