Application powercycles on handset | developer.brewmp.com Application powercycles on handset | developer.brewmp.com

Developer

Application powercycles on handset

Forums:

Hello I would like to know if anyone can provide me with any insight on this problem.

I have been given a codebase which was initially being built for GCC, I was told to get it to compile and run on ARM. After doing some changes I managed to get it to run on the simulator just fine, and I was able to make a MOD file using the arm compiler. But when I run the mod file on a handset, it power cycles. Looking at the logger, I can see it powercycles somewhere around the point where I call 'new' for the first time.

Any help or insight regarding this issue will be wonderful.

Thanks!

Logick wrote:Hello I would like to know if anyone can provide me with any insight on this problem.
I have been given a codebase which was initially being built for GCC, I was told to get it to compile and run on ARM. After doing some changes I managed to get it to run on the simulator just fine, and I was able to make a MOD file using the arm compiler. But when I run the mod file on a handset, it power cycles. Looking at the logger, I can see it powercycles somewhere around the point where I call 'new' for the first time.
Any help or insight regarding this issue will be wonderful.
Thanks!
Have you overridden the new operator? i.e.
void* operator new(size_t size)
{
return MALLOC(size);

and the same for new[], delete, delete[]
?

Logick wrote:Hello I would like to know if anyone can provide me with any insight on this problem.
I have been given a codebase which was initially being built for GCC, I was told to get it to compile and run on ARM. After doing some changes I managed to get it to run on the simulator just fine, and I was able to make a MOD file using the arm compiler. But when I run the mod file on a handset, it power cycles. Looking at the logger, I can see it powercycles somewhere around the point where I call 'new' for the first time.
Any help or insight regarding this issue will be wonderful.
Thanks!
Have you overridden the new operator? i.e.
void* operator new(size_t size)
{
return MALLOC(size);

and the same for new[], delete, delete[]
?

Yes I have. And still power cycling on a handset.

Yes I have. And still power cycling on a handset.