Hi,
I wanted to create a baremetal project. After I stated from an empty main() project, I realized that it needs a special entry start_boot(). I then use .cmd file from StarterWare to this project. Although the main() content and include, library path etc. almost are the same with a StarterWare example project, it runs not successfully. It does not echo in the UART console as the StarterWare example project. It runs to somewhere not intentionally, as it can only pause and stop it forcefully.
int main(void) {
// printf("hello\n");
unsigned int index = 0u;
unsigned int count = 0u;
/* Configure and enable the MMU. */
_MMUConfigAndEnable();
/* Enable all levels of Cache. */
CacheEnable(CACHE_ALL);
It can stop at the above MMU config line. Then, it will run somewhere when steps next.
I don't know what is wrong.
My main question is how I can create a project for using StarterWare library etc. resources.
Thanks,