MOD54415 Startup Time

Discussion to talk about hardware related topics only.
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: MOD54415 Startup Time

Post by pbreed »

EnableAutoupdate
Should not matter...order wise other than after initstack...
DBrunermer
Posts: 67
Joined: Thu Apr 21, 2011 7:06 am
Location: Pittsburgh, PA

Re: MOD54415 Startup Time

Post by DBrunermer »

Thanks for all your help so far, but I think it might be none of the above.

Of the 64MB of RAM for the device, I allocate 63MB as sort of a big heap for some other operation:
unsigned long all_memory[15615072];

When I change that to:
unsigned long all_memory[1];

it boots up super-fast.

Do you have any suggestions? Would malloc or memalign be a better way to go than declaring it in code?
Thanks, Dan
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: MOD54415 Startup Time

Post by pbreed »

Static global memory gets zerored...

Hummm I can fix this by adding an attribute and editing the linker script...
alas I'd rather not have to have you modify the linker script.
One of will get back to you... probably monday...

For now just do a malloc... (I dislike malloc's in embedded systems.)
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: MOD54415 Startup Time

Post by pbreed »

DBrunermer
Posts: 67
Joined: Thu Apr 21, 2011 7:06 am
Location: Pittsburgh, PA

Re: MOD54415 Startup Time

Post by DBrunermer »

Thanks again, I'll give that a try. I did do the malloc, though, and that seems to be OK for now. I'm with you, on an embedded platform I'd rather have everything predefined.
Post Reply