This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[C2000] the intel hex format by using hex2000

Dear Champ,

Our customer ask the behavior of hex2000 when we try to convert the intel hex format.

They find the the data length of the stream  will be continuous , even the address is continuous.

For example: This is customer's code

The length is change from 0x20 to 0x12 suddenly  but the address is still continuous.


:20ACB00000000000FFFE8CBE000000000000FFFF8E7E000000B0FFFF8E7F000000B1FFFFC9
:20ACC0008EBE00000000FFFF8EBF00000000FFFF8F0400000000FFFF8F0500000000FFFFBC
:12ACD00007FF00000000FFFF8EFE0000000000000000E2
:20ACD900FE02767ED1C78F008DDE9A80767FF9B39641767ED1CB9241FE820006FE0A767F5D
:20ACE9003CE1764083837640833802401E465CAD761F0237DC8AA8428A0E8F408DE6DC017D
:20ACF9000646767FF8D296435200ED11761F023756BFFF0402011E465CADDC8A8F408DC42B
:20AD0900A8428A0E0646767FF8D29643FE8A0006FE0602011E46761F0237C51C92C796032A
:20AD1900C50E92C796041B03FFFFED132803A00A8F008DE28F408DC3A84206468A1C767F75
:20AD2900F8D29643761F02372B02061C09011E0E1B03A00AED2792025207ED242B038F007D
:20AD39008DE28F408DC3A84206468A1C767FF8D29643761F0237FF2002095601001C280362
:20AD4900A00A8F008DE28F408DC3A8428A1C0646767FF8D29643761F02372B02061C090188
:20AD59001E0EFE860006FE06761F0237C51C92C79603C50E92C796041B04FFFFEC132B046E
:20AD690002011E468F008DE28F408DC4A8428A0E0646767FF8D29643761F02370241560177
:20AD7900000EFE860006FE069643761F0237962602011E468F008DE2A8428A1CA8A98F40A6
:20AD89008DE609011E1C0646767FF8D296449A00767F3D4AFE860006FE0AA044A8422B4528
:20AD990002001E481E4A064403421E4A02001E48064A0F48680C064207488AA992C4724579
:20ADA900020107481E48064A0F4867F68A4E924596C49A01FE8A00067622761F002A1A002B
:20ADB9000001CC06F0FF1AA902009606CC06FFF050029606CC07FFE0500296071A0401FFE9
:16ADC9001A0501FF761AF6077700FF690006190156C3FFFF0006AC
:20ADD4008C1000008C0500008C0500008C0500008C0500008C0500008C0500008C050000CC
:20ADE4008C0500008C0500008C0500008C0500008C0500008C0500008C0500008C050000C7

 Why the our hex2000 have such kind feature ? or somethign is we misss??/

BR

Brian Chang

  • The hex converter will insert newlines after certain things like sections.  This is strictly for the benefit of a human reading the file, and shouldn't affect the operation.

  • Hello  Archaeologist,

    Is it also will to insert newlines between each objects file since the the file that customer provided is not in the boudary of section.

    However , customer concern it because they implement the ISP function and use the hex file to download from PC site.

    They would like to confirm the behaviors of hex2000 and then design the control follow.

     

    BR

    Brian

  • The documentation does not specify where or if extra newlines will occur.  The hex output should function the same regardless of the newlines.  Does the customer have a specific concern that this will cause a problem?


    Perhaps the customer would prefer to use --image mode, which does not emit extra newlines?