How to write the Hex file from 3rd party IDE(eg:Keil) to PSoC6

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
shyo_2565646
Level 1
Level 1

Hello, good day!

When I use PSoC Programmer 3.27 to write Hex file to PSoC6, The following problem happened.

If I select a Hex file created by PSoC Creator, I can write the Hex file to PSoC normally,

But if I select a Hex file created by 3rd party IDE(Keil), the following message happeded.

"Hex file parsing failure. Unknown record type."

So I analyze the two Hex file.

Hex file created by PSoC Creator is listed as below.

:020000041000EA

:4000000000400208310100100D000000950100100000000000000000000000000000000000000000000000000000000091010010000000000000000091010010910100109B

:4000400091010010A5040010910100109101001091010010910100109101001091010010910100109101001091010010910100109101001091010010910100109101001049

Hex file created by Keil is listed as below.

:020000041000EA

:10000000D0160008B50100100D000000E701001037

:1000100000000000000000000000000000000000E0

The format is different, so I change the Hex file created by Keil  to the same format.(every line 64 bytes.)

But I also can't write the Hex to PSoC.

Can you tell me the reason, thank you.

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Maybe you can get more info regarding to this issue from thread - Different PSOC6 HEX record type from creator and KEIL MDK

View solution in original post

0 Likes
1 Reply
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Maybe you can get more info regarding to this issue from thread - Different PSOC6 HEX record type from creator and KEIL MDK

0 Likes