Hi,
Why does the following line (from StarterwarePackage) generate an exception when run in a the static_BeagleBone_CortexA project fro SYSbios crash the system when executed after main(), i.e
void main()
{
GPIO1Pin23PinMuxSetup(); /*This causes exception*/
Swi_post(swi0);
Swi_post(swi1);
Clock_start(clk1);
//GPIO1ModuleClkConfig();
BIOS_start();
}.,
however when moved into the startup code i.e. the code that runs before main, it executes correclty. Does Sysbios maybe prevent a user from accessing hardware registers directly? If so, what is the correct way to access hardware directly from Sysbios assuming that I would want to write my own hardware drivers?
I wanted to get a simple LED flasher running, but ran into this problem when enabling GPIO1 clocks as seen above
Thanks
Graeme