Hi,
I`m developing system using boot to saram, unfortunately there is a lack of free ram to fit my code into while debugging. I was hoping that if i change cmd file move dram do L1SARAM, and then i will have HOSARAM whole for my .text 8K (0x3FA000 - 0x3C000), but... when i moved DRAM like below i`m getting verification error ;/
MEMORY
{
PAGE 0 :
/* For this example, H0 is split between PAGE 0 and PAGE 1 */
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000002, length = 0x0003FE
RAML0 : origin = 0x008000, length = 0x001000
PRAMH0 : origin = 0x3FA000, length = 0x002000
RESET : origin = 0x3FFFC0, length = 0x000002
BOOTROM : origin = 0x3FF000, length = 0x000FC0
PAGE 1 :
/* For this example, H0 is split between PAGE 0 and PAGE 1 */
BOOT_RSVD : origin = 0x000400, length = 0x000080 /* Part of M1, BOOT rom will use this for stack */
RAMM1 : origin = 0x000480, length = 0x000380 /* on-chip RAM block M1 */
DRAMH0 : origin = 0x3F9000, length = 0x001000
}
Is there any chance to get more that 4K ram for debugging? Actually i`ve splitted program in few parts because the whole project will not fit into the ram. The can driver consumes about 6K, so to debug it i must have more that 4K. Any ideas? Maybe the problem is because te l0,l1 saram is secure zone, and h0 saram is not secured?