Devmem2 Bus Error
Contents |
view ♦ ♦ | Report Content bus error in c as Inappropriate ♦ ♦ Overo devmem2 bus error Hi,
Bus Error Linux
I've been looking around and fiddling but haven't been able to fix this
Bus Error (core Dumped) Linux
issue. I'm trying to get PWM working, I have some code that worked before on an Overo-Air but with my new one
Bus Error (core Dumped) C
it doesn't work. Calling: devmem2 0x48088024 w 0x00000000 Gives me a Bus error I have google quite a few things and have tried the following: • CONFIG_OMAP_RESET_CLOCKS - Disabling this in the kernel config (via menuconfig) • ARCH_HAS_HOLES_MEMORYMODEL - This is enabled in the how to debug bus error config Just to make sure I'm actually compiling the kernel right (with new config) Bitbake -c menuconfig virtual/kernel cp ${OVEROTOP}/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-3.2-r103git/.config \ ${OVEROTOP}/org.openembedded.dev/recipes/linux/linux-omap3/Overo/defconfig Bitbake -c clean virtual/kernel Bitbake virtual/kernel Bitbake omap-console-image Then I flash the nand with the compile images in: ${OVEROTOP}/tmp/work/deploy/glibc/image/Overo/ If anyone has any suggestions as it if I'm doing the build/config wrong or what I need to fix in my config I would really appreciate it. Thanks------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ gumstix-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gumstix-users Philipp Lutz Reply | Threaded Open this post in threaded view ♦ ♦ | Repor
Timing Data Converters Development Tools Digital Signal Processors (DSP) DLP® Products & MEMS Embedded Software bus error core dumped c++ Interface Isolation Logic Microcontrollers OMAP™ Applications Processors (Read Only) how to solve bus error in linux Power Management RF & Digital Radio Sensor Products Haptics & Touch Wireless Connectivity /etc Support gdb bus error Blogs Analog Wire Analog: The real world Behind the Wheel ConnecTIng Wirelessly Enlightened: The TI DLP® Blog Fully Charged Industrial Strength Launch Your http://gumstix.8.x6.nabble.com/Overo-devmem2-bus-error-td4965238.html Design Learn E2E Motor Drive & Control MSP Low-Power Plays On the Grid Power House Precision Hub The Process Think. Innovate TI Live @... Tools Insider University Program Groups Corporate Citizenship TI University Program Russian E2E (сообщество E2E) Japanese E2E (日本語コミュニティ) Learn E2E Launch Your Design Motor Drive https://e2e.ti.com/support/arm/sitara_arm/f/791/t/326750 & Control Videos More Cancel Sitara™ Processors Sitara Processors Forum Mentions Tags More Cancel Sign In to Post Sign In to Post Cancel Go to Processors Forums Amplifiers Switches & Multiplexers Applications Processors Clock and Timing Data Converters Development Tools Digital Signal Processors (DSP) DLP® Products & MEMS Embedded Software Interface Isolation Logic Microcontrollers OMAP™ Applications Processors (Read Only) Power Management RF & Digital Radio Sensor Products Haptics & Touch Wireless Connectivity /etc Support Announcements Amplifiers Switches & Multiplexers Applications Processors Clock and Timing Data Converters Development Tools Digital Signal Processors (DSP) DLP® Products & MEMS Embedded Software Interface Isolation Logic Microcontrollers OMAP™ Applications Processors (Read Only) Power Management RF & Digital Radio Sensor Products Haptics & Touch Wireless Connectivity /etc Support More Cancel Answered AM335x memory map UARTx bus error Intellectual 590 points Marco Destro Hi all, I'm using the BeagleBon
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business http://stackoverflow.com/questions/212466/what-is-a-bus-error Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up What is a bus error? up vote 156 down vote favorite 49 What does the "bus error" message mean, and how does it bus error differ from a segfault? c unix segmentation-fault bus-error share|improve this question edited Oct 18 '15 at 10:44 Cool Guy 15.8k51952 asked Oct 17 '08 at 14:48 raldi 7,249216178 add a comment| 15 Answers 15 active oldest votes up vote 151 down vote accepted Bus errors are rare nowadays on x86 and occur when your processor cannot even attempt the memory access requested, typically: using a processor instruction with an address that does not satisfy its bus error in alignment requirements. Segmentation faults occur when accessing memory which does not belong to your process, they are very common and are typically the result of: using a pointer to something that was deallocated. using an uninitialized hence bogus pointer. using a null pointer. overflowing a buffer. PS: To be more precise this is not manipulating the pointer itself that will cause issues, it's accessing the memory it points to (dereferencing). share|improve this answer edited Oct 17 '08 at 15:18 answered Oct 17 '08 at 15:12 bltxd 5,72322336 52 They aren't rare; I'm just at Exercise 9 from How to Learn C the Hard Way and already encountered one... –11684 Mar 26 '13 at 20:12 5 Another cause of bus errors (on Linux anyway) is when the operating system can't back a virtual page with physical memory (e.g. low-memory conditions or out of huge pages when using huge page memory.) Typically mmap (and malloc) just reserve the virtual address space, and the kernel assigns the physical memory on demand (so called soft page faults.) Make a large enough malloc, and then write to enough of it and you'll get a bus error. –Eloff Jul 14 '15 at 0:09 add a comment| up vote 58 down vote A segfault is accessing memory that you're not allowed to access. It's read-only, you don't