flash protected using CY90460

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

cross mob
XiaoPing_Yang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi  Sir , 

      How to excute flash protected when using CY90460?

      Thanks.

0 Likes
1 Solution

Hi Xiaoping,

I think should be

    .SECTION MODEDATA ,LOCATE =0xFFFDF

     .data.b 0x00

;MB90F462A

    .SECTION FLASH_SECURITY, LOCATE =0xFF001

;MB90F463A

;    .SECTION FLASH_SECURITY, LOCATE =0xFE001

     .data.b 0x01

.END __start

Roy Liu

View solution in original post

0 Likes
7 Replies
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

Hi,

Do you mean "protect the content of the flash memory from being read from external pins"  by " flash protected "?

Roy Liu
0 Likes

Hi Roy,

Yes.The customer don't want the program be read by others.

在 2019-04-22 11:38:57,RoyL_01 <community-manager@cypress.com> 写道:

>|

>| |

>|

>Cypress Developer Community

>|

>|

>flash protected using CY90460

>reply from RoyL_01 in 8-bit,16-bit and 32-bit Proprietary - View the full discussion

>Hi,

>Do you mean "protect the content of the flash memory from being read from external pins" by " flash protected "?

>| Reply to this message by replying to this email, or go to the message on Cypress Developer Community |

>| Start a new discussion in 8-bit,16-bit and 32-bit Proprietary by email or at Cypress Developer Community |

>| Following flash protected using CY90460 in these streams: Inbox |

>This email was sent by Cypress Developer Community because you are a registered user.

>You may unsubscribe instantly from Cypress Developer Community, or adjust email frequency in your email preferences

>|

>|

0 Likes

Refer to this description:

One predefined address of the flash memory is assigned to the Flash Security Controller (MB90F462,

MB90F462A: FF0001H; MB90F463A: FE0001H). If the protection code of "01H" is written in this address,

access to the flash memory is restricted. Once the flash memory is protected, preforming the chip erase

operation only can unlock the function otherwise read/write access to the flash memory from any external

pins is not generally possible.

Roy Liu
0 Likes

Hi Roy ,

     In  .asm file ,

     .SECTION MODEDATA ,LOCATE =0xFFFDF

     .data.b 0x00

     .END     __start

    

     If is this change right?I don't have a chip now .

    .SECTION MODEDATA ,LOCATE =0xFFFDF

     .data.b 0x00

    .SECTION   CONST,LOCATE =0xFFFFF

     .data.b 0x01

     .END     __start

     Thanks.

0 Likes

What's each line of below doing? Write data 00 to address 0xFFFDF, and 01 to 0xFFFFF?

    .SECTION MODEDATA ,LOCATE =0xFFFDF

     .data.b 0x00

    .SECTION   CONST,LOCATE =0xFFFFF

     .data.b 0x01

     .END     __start

Roy Liu
0 Likes
lock attach
Attachments are accessible only for community members.

Hi  Roy ,

    The customer want flash protect  be  executed  in his starts.asm . I just write the code to ask if it is right  according to the datasheet.

    The attached is his .asm file.How to modify the code to realize flash proctect.

    Thanks.

0 Likes

Hi Xiaoping,

I think should be

    .SECTION MODEDATA ,LOCATE =0xFFFDF

     .data.b 0x00

;MB90F462A

    .SECTION FLASH_SECURITY, LOCATE =0xFF001

;MB90F463A

;    .SECTION FLASH_SECURITY, LOCATE =0xFE001

     .data.b 0x01

.END __start

Roy Liu
0 Likes