Hi,
Whe I'm correct, each processor mode has its own stack size. I use HalCoGen to generate system initialization code. HalCoGen generates the sys_core.asm which seems to contain code to set the different stack pointers:
userSp .word 0x08000000+0x00001000
svcSp .word 0x08000000+0x00001000+0x00000100
fiqSp .word 0x08000000+0x00001000+0x00000100+0x00000100
irqSp .word 0x08000000+0x00001000+0x00000100+0x00000100+0x00000100
abortSp .word 0x08000000+0x00001000+0x00000100+0x00000100+0x00000100+0x00000100
undefSp .word 0x08000000+0x00001000+0x00000100+0x00000100+0x00000100+0x00000100+0x00000100
But I see no way to make HalCoGen use other values. I want to use larger stacks. How can I do that?