-
1. Re: FM4 S6E2C2 2048k FLASH + 40k ?
bharadhwajas_91 Jan 27, 2017 1:34 AM (in response to stdec_1820326)Hi Steven ,
Please note that the flash memory of the S6E2C series consists of two macros (called as Macro #0 and #1 in S6E2Cx Flash Programming Guide).
Please refer to Pg No 11 of the flash programming manual
http://www.cypress.com/file/252581/download
The first sector of the 40k of flash memory belongs to the Macro #0 and remaining 32k to the Macro #1.
For all of the sectors in the flash memory (both of Macro #0 and #1), it is necessary to issue the erase command to each Macro #0 and #1.
What is the development tool you are using?
Which erase command was used, flash erase command or sector erase command? -
2. Re: FM4 S6E2C2 2048k FLASH + 40k ?
stdec_1820326 Jan 30, 2017 5:58 AM (in response to stdec_1820326)Hello, I am indeed aware that those sectors belong to 2 macro's. But my problem is that I cannot erase SA3#0 ? I'm using eclipse IDE with IAR workbench plugin. I'm using sector erase command. I can share the code for that if you like but I'm not having troubles in the 2k flash range for erasing sectors, and I don't see any difference why that 0x40.. range is different.
kind regards
-
3. Re: FM4 S6E2C2 2048k FLASH + 40k ?
bharadhwajas_91 Feb 14, 2017 7:34 AM (in response to stdec_1820326)Yes ,please do share your code.