Hi everybody, I need an help on using uClinux on stm32f103. The problem is I need to develop an application which makes to communicate microcontroller and PC via USB. So I made an application that I want to run from uClinux shell. To configure usb protocol, I need to change priority group and access to SCB -> AIRCR register (0xE000 0000 of Cortex-M3 internal peripherals memory). Moreover NVIC register are also located into Cortex-M3 internal peripherals memory. The problem is that when I launch my application from shell, I got a segmentation fault when the operating system runs the part related to "USB_interrupt_configuration". I think I don't have appropriate privilege to access to those registers. In fact when I run the function "__get_control()" included in "core_cm3.c" file, I got the value "0x0000003". Am I wrong? So what can I do to have complete access to stm32f103 registers when i develop an application that I want to run under uClinux operating system? Thanks in advance to all people who will help me to solve the problem. Best regards Neo.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev