Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all articles
Browse latest Browse all 761

HEX format PSoC Creator

$
0
0

Hi all,

 

    I've created a new Keil project exporting PSoC Creator original project.

Now, to obtain output .hex file from Keil compilation, the toolchain call CyElfTool.exe as postbuild rule to execute to inject checksum at fixed flash address 0x90300000.

I've compared the .hex file generated by Keil without postbuild rule and the .hex file generated by CyElfTool.exe as postbuild rule.

They are quite different. One is Intel Hex 16 and Cypress in Intel Hex 64

My problem is that I have to verify the 2 .hex file and verify that CyElfTool.exe doesn't modify anything a part checksum injection, so i'm looking for a tool that can convert one in the other or viceversa.

Here Keil .hex file:

:020000040000FA
:10000000001000204D0800000B0700000B07000047
:1000100010B544480068012189040843414908603B
:10002000182000F083F93F480068012189048843C3
:100030003C4908603C48486010203C490863C006C1
...

...

Hexe Cypress .hex file (by CyElfTool.exe):

 

:40000000001000204D0800000B0700000B07000010B54448006801218904084341490860182000F083F93F4800680121890488433C4908603C48486010203C490863C00666
:40004000384988600020086037481130384908603849092000F050F9092000F043F900203549C86010BD70B500BF72B600BF012032490877002411E0062060433049451881
:40008000284600F0F1F8064668792A79000210430146304600F010F9601CC4B2022CEBD32849294800F022FE332000012749886077204002C86099200004254908610862A3
:4000C0000B208004886299200004086305208107086206201F49086018480078022108431649087008464078C321084014301349487008460078162108431049087003204F
:40010000C00415498860062014490860FF20B23088601B20C00112498860FFF779FF00F0CAF870BD00010B400600008000020240000002406504000000020B4000700F4088
:400140009E0F0000080E0000E00D00000000014000500F4000800F4000010440000204400003044000F002F800F03EF80CA030C8083824182D18A246671EAB4654465D463E
:40018000AC4201D100F030F87E460F3E0FCCB6460126334200D0FB1AA246AB46334318470C0E00002C0E0000103A02D378C878C1FAD8520701D330C830C101D504680C60CE

 

Many thank Guys

 

PS: PSoCs ROCKS!!! 


Viewing all articles
Browse latest Browse all 761

Trending Articles