I'm trying to run a simple "Hello World" program on the simulator but it keeps crashing with a Segmentation fault.
Why is this happening?
The two most common reasons for this are:
1- You are trying to run a bare-metal program compiled without the "-msim" compiler switch. This switch is necessary in order to run bare-metal (bfin-elf) executables on the simulator.
2- You are trying to run a dynamic FDPIC (bfin-linux-uclibc) executable. Support for dynamic FDPIC was added after 2010R1. Previous releases only support statically linked executables.
might be good to point people here:
that explains how to invoke the sim for the diff types of apps