Page 1 of 1

Executing from Flash

Posted: Mon Jul 17, 2017 11:24 am
by raros
Hello,

I am facing Problems executing Code from Flash. Executing the code from RAM looks very good, but if i am loading the program to the flash i get stuck in the following loop:

do {
wait_mask = (*p_wait_mask);
/* Wait for all other cores/CPUs */
} while ( (bar->value & wait_mask) != wait_mask );

in the ee_tc_multicore.c file.

Maybe somebody can help to face this issue.

Re: Executing from Flash

Posted: Tue Jul 18, 2017 10:04 am
by e.guidieri
Hi,

It's difficult to help people that do not give context.

I suppose checking the other thread that you posted into, that you are trying to do a port on a new architecture, if this is the case what's happening is likely to be ascribed to an error in data initialization at startup.

Errico