Product Header in non-volatile memory

2 posts / 0 new
Last post
motred
Offline
Last seen:5 years 3 months ago
Expert
加入:2014-01-20 21:48
Product Header in non-volatile memory

Hi Dialog,

I am preparing to use a Dual Image Bootloader as specified in UM-B-012 using an external M24M01 EEPROM. In order to generate the product header in the last sector of the EEPROM, I am attempting to load a memory header description file into the SmartSnippets Memory Header/NVDS Programmer.

The file I'm using contains this:
2签名MagicNumber
2 Version VersionNumber
4 Offset1 Offset_image_1
4 Offset2 Offset_image_2

我的问题是:
1. I would like to include default values for these items in the text file. Is this possible?

2. Is there a way to write the Product Header from the CLI instead of from SmartSnippets?

3. I want to also include BDADDRESS and XTRIM values in the Product Header. Should these be located at any specific offset in the header file?

4. Is there anything else that should go in this header file?

Thanks.

motred
Offline
Last seen:5 years 3 months ago
Expert
加入:2014-01-20 21:48
After further investigation,

After further investigation, it seems like the best thing to do is to use the CLI for SmartSnippets to upload the product header during production. Default values can then be included in the hex file fed into that command.

My only remaining question is about the organization of the rest of the Product Header. Bytes 12 and up are listed as reserved in Table 4 of UM-B012. Can any of those be used to store the BD Address and XTRIM values?