ALL '1' Hex File Create

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

cross mob
RyYo_1406951
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted

■English
Is there a way to create a Hex file whose "User's Flash (Program)" area is All "1"?

■Japanese
「User's Flash(Program)」領域がAll「1」のHexファイル作成する方法はありますか?

本質問は以下スレッド続きとなります。

Flash Write ALL 1/0

0 Likes
8 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I understand your question, but what is the reason? what do you want with an all-0xff hex-file?

Bob

0 Likes
Anonymous
Not applicable

At a guess, he wants a method of measuring some operation being performed either by recording the operation into flash, or by the flash chip being programmed with the firmware image (if that is what he is measuring)

Here's the original post: Flash Write ALL 1/0

0 Likes

Bob-san

■English

"ALL 1 Hex File" is necessary because I want to do a retention test of Flash.

■Japanese

Flashのリテンションテストを行いたいため、"ALL 1 Hex File"が必要です。

0 Likes

A flash retention specification was already made by Cypress, you really may trust that. Check the PSoC family datasheet.

You do not need to check the whole flash for retainig data, a single row would do.

BTW: What will the CPU do when executing all '1' program?

Bob

>A flash retention specification was already made by Cypress, you really may trust that. Check the PSoC family datasheet.

>You do not need to check the whole flash for retainig data, a single row would do.

⇒Since we want to check not only Cypress data but also by me, a Hex file of All "1 (0xFF)" is necessary.

0 Likes
Anonymous
Not applicable

A program of all 0xFF would have odd behavior when running, since you wouldn't be allowing for a small section of space to be used for a running application.

You could try using some sort of hack with a programmer to write/read to the chip the "1"s and "0"s, but that would be a lot of effort.

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Ryuuji san,

Creating a hexfile with all ones will be not helpful as check sum verification is an important step as per programming spec and it will note be possible. Can't you check this at some specific rows(as bob suggested) if you want to do it ?

Best Regards,
VSRS

0 Likes

回答ありがとうございました

0 Likes