- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
in our project we are using the micro CY8C4024LQI-S411 (4000S Family).
In our production line we use the Segger Flash programmer.
We would like to protect the code from reading after programming.
We know that this is possible following these steps:
1 - In PSoc Creator setting "Chip Protection" to Protected
2- In PSoc Programmer checking the "Enable" flag of "Programmer Options"
Is it possible to do the same using the Segger Flash Programmer (Jlink Software)?
Is there a specific register in PSoc4 - 4000S that should be set?
Thank you very much for your help
Francesco
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nonvolatile memory programming refers to the programming of flash memory in the PSoC® 4 device. This chapter explains the different functions that are part of device programming, such as erase, write, program, and checksum calculation.Cypress-supplied programmers and other third-party programmers can use these functions to program the PSoC 4 device with the data in an application hex file.
Please check this discussion , it discusses the limitation of Jlink to program hex file generated by PSoC Creator:
J-Flash should only be used with data files that solely contain (programmable) flash addresses.
This limitation comes because Jlink can't program Nonvolatile memory in the PSoC® 4 device
Please check page#211 of this document, as all system calls are part of Nonvolatile memory
http://www.cypress.com/file/230701/download
So, it seems from all this above info that JLINK can't change the chip protection setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The last type of nonvolatile information in flash is chip-level protection. This consists of one byte that restricts access to the chip’s resources (register, SRAM, and flash) by an external programmer or debugger.
Please check page# 7-8 and #43 of this doc:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nonvolatile memory programming refers to the programming of flash memory in the PSoC® 4 device. This chapter explains the different functions that are part of device programming, such as erase, write, program, and checksum calculation.Cypress-supplied programmers and other third-party programmers can use these functions to program the PSoC 4 device with the data in an application hex file.
Please check this discussion , it discusses the limitation of Jlink to program hex file generated by PSoC Creator:
J-Flash should only be used with data files that solely contain (programmable) flash addresses.
This limitation comes because Jlink can't program Nonvolatile memory in the PSoC® 4 device
Please check page#211 of this document, as all system calls are part of Nonvolatile memory
http://www.cypress.com/file/230701/download
So, it seems from all this above info that JLINK can't change the chip protection setting