Hello All
I am looking at F28035.CMD and there FLASHB appears in PAGE 1 section and that is also not referenced anywhere else in the CMD file. Can someone explain why it is appearing in PAGE 1 that is meant for data memory. Is there any harm to move it to PAGE 0 to make more flash area for code? Can some one explain?
Also I read about .ebss initialization to zero's to be accomplished with the following directive and I was not successful with that. Please give the right directive for inclusion in CMD file.
Thanks
Sayee
SECTIONS
{
...
..ebss : > RAML2 = 0x00
(or) some such construct and that I could not get to work (initializing)
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML2 : origin = 0x008C00, length = 0x000400 /* on-chip RAM block L2 */
FLASHB : origin = 0x3F6000, length = 0x001000 /* on-chip FLASH */