Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > How to get usable HEX firmware from another one PSoC?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



How to get usable HEX firmware from another one PSoC?
Moderator:
RKRM

Post Reply
Follow this topic



How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 1:25 AM PST
Top Contributor
31 Forum Posts

PSoC Programmer read firmware to LOG.TXT file. It has strange format for such purpose. Also I translate this text to .BIN (with plain flash-firmware inside). But after convert with intel bin2hex program I get .HEX, that doesn't complete for put firmware back to the another PSoC (I know now, what were is need some additional fields with CRC and etc.)

Is there exist a direct way to use this readed firmware again?




Re: How to get usable HEX firmware from another one PSoC?

H L posted on 21 Feb 2012 02:36 AM PST
Top Contributor
679 Forum Posts

 There is no need to change the format if you are using the PSoC programmer software. 

When you say use hex file from another one? What does that mean? Do you want to program it to another chip with the same number or you want to program another chip which is a different number?

 



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 03:10 AM PST
Top Contributor
31 Forum Posts

Want to program firmware from another one DevKit to my own (both has C8C3866AXI-40, with different serial number, probably). For a last purpose want universal HEX firmware, which wouldn't be protected by serial number (as in examples, thats fits to all).



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 03:22 AM PST
Top Contributor
31 Forum Posts

At now have this results (log.txt, bin, intel-hex from bin).



Re: How to get usable HEX firmware from another one PSoC?

H L posted on 21 Feb 2012 04:14 AM PST
Top Contributor
679 Forum Posts

Looks like you copy the content of a chip and program that to another chip. 

I think you do not have the original software. or not he original hex file. 

If you check the hex file produced by Creator, you should find there are more data than the hex file you have. You need those data for programming of a PSoC. 

 



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 05:00 AM PST
Top Contributor
31 Forum Posts

Yes, I do not have original software. I know that here there should be additional data.

 

How to complete HEX? Is were any way to do it (by hands, or soft)?

 

I have slightly read cypress hex format annotation. I sure, that I can do it, but it requires more time. May be it can be more easy?



Re: How to get usable HEX firmware from another one PSoC?

U2 posted on 21 Feb 2012 05:21 AM PST
Cypress Employee
589 Forum Posts

 We already have an App note how this can be achived. Have checked it out? 

You can find it here, http://www.cypress.com/?rID=57435



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 08:14 AM PST
Top Contributor
31 Forum Posts

Thanks.

 

It seems that it is necessary to write reversed parser :) There is no sense to do programmer.



Re: How to get usable HEX firmware from another one PSoC?

H L posted on 21 Feb 2012 02:17 PM PST
Top Contributor
679 Forum Posts

I think it would be easier to get the orignal software and hex file.

 

If you still have the project, it should be easy to do.



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 02:29 PM PST
Top Contributor
31 Forum Posts

This is not my project :) I talks about this pre-programmed firmware here, but nobody help me to find it :(

 

Anyway though the firmware will be :D



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 21 Feb 2012 02:29 PM PST
Top Contributor
31 Forum Posts

Talk about there:

http://www.cypress.com/?app=forum&id=2232&rID=59445



Re: How to get usable HEX firmware from another one PSoC?

H L posted on 21 Feb 2012 04:58 PM PST
Top Contributor
679 Forum Posts

Then you should be able to use the hex file posted by dasq to program the other chip.

The hex file can be read by a psoc programmer. you don't need to copy the content of a programmed psoc chip.

 



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 22 Feb 2012 12:27 AM PST
Top Contributor
31 Forum Posts

Dasg gives link to another demo (not what I'm want and not about what I'm talking about). :D



Re: How to get usable HEX firmware from another one PSoC?

Gautam Das posted on 22 Feb 2012 03:53 AM PST
Cypress Employee
742 Forum Posts

Hi hexus,

 

I have attached the self test hex file in the topic you had created before. It is at the following link, http://www.cypress.com/?app=forum&id=2232&rID=59445&message=posted

Hope this will be of help.



Re: How to get usable HEX firmware from another one PSoC?

hexus posted on 22 Feb 2012 05:07 AM PST
Top Contributor
31 Forum Posts

Hi dasg!

Thanks! It's very helpfully.

 

Strange that there were Programmer doesn't Read silicon into usable HEX-format (as it possible in another mCU). Latter will return to this question again, maybe it would be possible to write by me true parser for it purpose. AN73054 would be helpfully.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20