New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWM.start generates runtime error: RuntimeError: Problem with the cape manager #288
Comments
There is an older version of u-boot bootloader on the emmc. This will prevent device tree overlays from being handled correctly by the bootloader. Delete the old version of the u-boot bootloader on the eMMC with this command: The BeagleBone will then boot from the newer version of u-boot bootloader on your SD card. |
Thanks for the quick reply but i have below error again and board never boots again from sdcard: Tried to use PWM after that then below error: After i restart it never boots again...! Not booting from even the internal memory as well as the SDCARD. |
please suggest me a flashable image version which you are uisng with this lib and have no issues... thanks, |
@RobertCNelson any suggestions? Was that the correct command to remove the old 2016 eMMC bootloader |
The current image for SD card by @RobertCNelson is here http://beagleboard.org/latest-images |
I am looking only for the adafruit python lib to wrok with my BBB as my project involves UART and ADC. I hope the link which you have shared satisfies my request. thanks :) |
Hello Pdp7, i tried to boot the image "bone-debian-9.5-lxqt-armhf-2018-10-07-4gb"this is with GUI(http://debian.beagleboard.org/images/bone-debian-9.5-lxqt-armhf-2018-10-07-4gb.img.xz) from SDCARD. 1.when i hold the boot button and power the BBB it dosent boot(only power LED glows).
Please let me know what went wrong?? thanks, |
@RobertCNelson any suggestions for @suraj051 to try? |
@suraj051 are you still having this issue? |
Yes I still face this issue. If I am also using the image which u suggested which ideally should not have any issues I think this is a major issue. Which prevents even basic usage. Please provide a working solution asap. Thanks. |
Is the SD card inserted when you apply power? The procedure should be:
@jadon @RobertCNelson any other suggestions? |
That's exactly what I am dng I think the command suggested by you screwed the boot loader and thus never booting again. Please try to reproduce issue and provide a working solution asap. |
Hello Pdp7, Could you please help me with this?? I am just asking to give inputs so that the library will work. I am even ready to flash different image. If your are responsible for this lib you might be having a test setup why can't u provide the same image config to me please. After having BBB if I cannot use basic peripherals like UART adc I am worried. Looking here I don't think anyone is using this lib actively. If you have any idea about some other library which works fine please point me in that direction. Thanks |
The PWM example from the first post in this issue does run without error on my BeagleBone Black:
The term 'cape' is often used as a synonym for Device Tree Overlay. Device Tree Overlays are now handled in the bootloader, instead of the cape manager driver in the Linux kernel. This is why the version of bootloader on the eMMC is very important. Please run the version script again:
I am in particularly interested in the lines that start with For reference, here is the output for the BeagleBone Black that I am testing on:
|
Thanks for the reply and suggesstions. Let me run the test and steps u suggested I will get back to you once done. As I am busy with some other activity it may take some time to reply. Please don't close this issue. |
@suraj051 are you still having this issue? |
Yes still I have did u check at your side ??
…On Tue 20 Nov, 2018, 1:18 PM Drew Fustini ***@***.*** wrote:
@suraj051 <https://github.com/suraj051> are you still having this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE0YBLT0HMVg5YDZHC1GC9vcoj3PrL3Rks5uw7POgaJpZM4XeyUG>
.
|
I am in particularly interested in the lines that start with bootloader. |
@suraj051 please reopen if still an issue |
Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): BeagleBone black,
Linux beaglebone 4.14.67-ti-r73 #1 SMP PREEMPT Thu Aug 30 00:08:52 UTC 2018 armv7l GNU/Linux
Image used:bone-debian-9.5-iot-armhf-2018-08-30-4gb.img
Python version (run python -version or python3 -version): Python 2.7.13
Error message you are receiving, including any Python exception traces:
Traceback (most recent call last):
File "", line 1, in
RuntimeError: Problem with the cape manager
RuntimeError: Problem with the cape manager
File "", line 1
RuntimeError: Problem with the cape manager
List the steps to reproduce the problem below (if possible attach code or commands
to run):
import Adafruit_BBIO.PWM as PWM
PWM.start("P8_13", 25, 1000)
/********************************************************************************************/
Sorry for the delay in response, below is the outcome of the "sudo /opt/scripts/tools/version.sh"
/*******************************************************************************************************/
debian@beaglebone:$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[73593ebe3b7d3cc381eeb502d45ccb33a6ec5e78]
eeprom:[A335BNLT00A52414BBBK4307]
model:[SanCloud_BeagleBone_Enhanced]:WiFi AP Broken on Mainline
dogtag:[BeagleBoard.org Debian Image 2018-08-30]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.03-00002-gac9cce7c6a]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.03-00001-gd12d09f]:[location: dd MBR]
kernel:[4.14.67-ti-r73]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.4.20180914.0-0rcnee0stretch+20180914]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0stretch+20180517]
pkg:[kmod]:[23-2rcnee1stretch+20171005]
pkg:[librobotcontrol]:[1.0.2-git20180926.0-0rcnee0stretch+20180927]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.057871] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.059112] gpio-of-helper ocp:cape-universal: ready
END
The text was updated successfully, but these errors were encountered: