own cap 100% CPU?

Hello!

I build an own cap with Inputs, outputs (relay) and Rs232.
When I put the cape on the BBB, the power LED is on, and also the CPU and Heartbeat LED is on and keep on.
Seems the BBB CPU is on 100%?

Is it possible to setup a log while booting?

A debug serial FTTI cable I doesn´t have right now.

Thank you!

Sounds more like you may be creating an interrupt and have no SW to answer it. You really need to get the serial cable o see what is going on.

Gerald

Thank you!

Serial cable I order today. Need to wait now.

Hello!

Now I have the debug cable.
Here is a boot without my cap. Power from USB:

<14><\0><\r><\n>

U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)<\r><\n>

reading args<\r><\n>

spl_load_image_fat_os: error reading image args, err - -1<\r><\n>

reading u-boot.img<\r><\n>

reading u-boot.img<\r><\n>

<\r><\n>

<\r><\n>

U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)<\r><\n>

<\r><\n>

I2C: ready<\r><\n>

DRAM: 512 MiB<\r><\n>

NAND: 0 MiB<\r><\n>

MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1<\r><\n>

*** Warning - readenv() failed, using default environment<\r><\n>

<\r><\n>

Net: not set. Validating first E-fuse MAC<\r><\n>

cpsw, usb_ether<\r><\n>

Hit any key to stop autoboot: 1 <\b><\b><\b> 0 <\r><\n>

gpio: pin 53 (gpio 53) value is 1<\r><\n>

Card did not respond to voltage select!<\r><\n>

mmc0(part 0) is current device<\r><\n>

Card did not respond to voltage select!<\r><\n>

gpio: pin 56 (gpio 56) value is 0<\r><\n>

gpio: pin 55 (gpio 55) value is 0<\r><\n>

gpio: pin 54 (gpio 54) value is 0<\r><\n>

mmc1(part 0) is current device<\r><\n>

gpio: pin 54 (gpio 54) value is 1<\r><\n>

SD/MMC found on device 1<\r><\n>

reading uEnv.txt<\r><\n>

1473 bytes read in 5 ms (287.1 KiB/s)<\r><\n>

gpio: pin 55 (gpio 55) value is 1<\r><\n>

Loaded environment from uEnv.txt<\r><\n>

Importing environment from mmc …<\r><\n>

Checking if uenvcmd is set …<\r><\n>

gpio: pin 56 (gpio 56) value is 1<\r><\n>

Running uenvcmd …<\r><\n>

reading zImage<\r><\n>

3717760 bytes read in 206 ms (17.2 MiB/s)<\r><\n>

reading initrd.img<\r><\n>

2869128 bytes read in 161 ms (17 MiB/s)<\r><\n>

reading /dtbs/am335x-boneblack.dtb<\r><\n>

25080 bytes read in 9 ms (2.7 MiB/s)<\r><\n>

Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]<\r><\n>

Flattened Device Tree blob at 88000000<\r><\n>

Booting using the fdt blob at 0x88000000<\r><\n>

Using Device Tree in place at 88000000, end 880091f7<\r><\n>

<\r><\n>

Starting kernel …<\r><\n>

<\r><\n>

Uncompressing Linux… done, booting the kernel.<\r><\n>

[ 0.383105] omap2_mbox_probe: platform not supported<\r><\n>

[ 0.549652] tps65217-bl tps65217-bl: no platform data provided<\r><\n>

[ 0.614898] bone-capemgr bone_capemgr.9: slot #0: No cape found<\r><\n>

[ 0.652004] bone-capemgr bone_capemgr.9: slot #1: No cape found<\r><\n>

[ 0.689113] bone-capemgr bone_capemgr.9: slot #2: No cape found<\r><\n>

[ 0.726221] bone-capemgr bone_capemgr.9: slot #3: No cape found<\r><\n>

[ 0.744938] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed<\r><\n>

[ 0.779292] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8<\r><\n>

[ 0.790961] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22<\r><\n>

[ 0.798259] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single<\r><\n>

Loading, please wait…<\r><\n>

[ 1.098874] bone-capemgr bone_capemgr.9: failed to load firmware ‘CAPE-BONE-MY-00A0.dtbo’<\r><\n>

[ 1.107899] bone-capemgr bone_capemgr.9: loader: failed to load slot-7 CAPE-BONE-MY:00A0 (prio 0)<\r><\n>

Scanning for Btrfs filesystems<\r><\n>

systemd-fsck[298]: rootfs: clean, 77345/230144 files, 469161/919296 blocks<\r><\n>

[ 6.119657] c_can_platform 481cc000.d_can: invalid resource<\r><\n>

[ 6.187620] c_can_platform 481d0000.d_can: invalid resource<\r><\n>

<\r><\n>

Debian GNU/Linux 7 beaglebone ttyO0<\r><\n>

<\r><\n>

default username:password is [debian:temppwd]<\r><\n>

<\r><\n>

Support/FAQ: Beagleboard:BeagleBoneBlack Debian - eLinux.org<\r><\n>

<\r><\n>

The IP Address for usb0 is: 192.168.7.2<\r><\n>

beaglebone login: [ 12.722950] libphy: PHY 4a101000.mdio:01 not found<\r><\n>

[ 12.728053] net eth0: phy 4a101000.mdio:01 not found on slave 1<\r><\n>

Not sure why he write "failed to load firmware ‘CAPE-BONE-MY-00A0.dtbo’ " But with this I can boot and work.

I put my own cap on top and boot again (Power from my cape):

<6><\0>G??EW?!I(<4>hX<6>?Z<5><11>Ye5)[&`R<7>??X<22>?hP<18>dZd<5>dYSl<7>?6?reading args<\r><\n>

spl_load_image_fat_os: error reading image args, err - -1<\r><\n>

reading u-boot.img<\r><\n>

reading u-boot.img<\r><\n>

<\r><\n>

<\r><\n>

U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)<\r><\n>

<\r><\n>

I2C: ready<\r><\n>

DRAM: 512 MiB<\r><\n>

NAND: 0 MiB<\r><\n>

MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1<\r><\n>

*** Warning - readenv() failed, using default environment<\r><\n>

<\r><\n>

Net: not set. Validating first E-fuse MAC<\r><\n>

cpsw, usb_ether<\r><\n>

Hit any key to stop autoboot: 1 <\b><\b><\b> 0 <\r><\n>

gpio: pin 53 (gpio 53) value is 1<\r><\n>

Card did not respond to voltage select!<\r><\n>

mmc0(part 0) is current device<\r><\n>

Card did not respond to voltage select!<\r><\n>

gpio: pin 56 (gpio 56) value is 0<\r><\n>

gpio: pin 55 (gpio 55) value is 0<\r><\n>

gpio: pin 54 (gpio 54) value is 0<\r><\n>

mmc1(part 0) is current device<\r><\n>

gpio: pin 54 (gpio 54) value is 1<\r><\n>

SD/MMC found on device 1<\r><\n>

reading uEnv.txt<\r><\n>

1473 bytes read in 5 ms (287.1 KiB/s)<\r><\n>

gpio: pin 55 (gpio 55) value is 1<\r><\n>

Loaded environment from uEnv.txt<\r><\n>

Importing environment from mmc …<\r><\n>

Checking if uenvcmd is set …<\r><\n>

gpio: pin 56 (gpio 56) value is 1<\r><\n>

Running uenvcmd …<\r><\n>

reading zImage<\r><\n>

3717760 bytes read in 206 ms (17.2 MiB/s)<\r><\n>

reading initrd.img<\r><\n>

2869128 bytes read in 161 ms (17 MiB/s)<\r><\n>

reading /dtbs/am335x-boneblack.dtb<\r><\n>

25080 bytes read in 9 ms (2.7 MiB/s)<\r><\n>

Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]<\r><\n>

Flattened Device Tree blob at 88000000<\r><\n>

Booting using the fdt blob at 0x88000000<\r><\n>

Using Device Tree in place at 88000000, end 880091f7<\r><\n>

<\r><\n>

Starting kernel …<\r><\n>

<\r><\n>

Uncompressing Linux… done, booting the kernel.<\r><\n>

[ 0.459086] omap2_mbox_probe: platform not supported<\r><\n>

[ 0.667742] tps65217-bl tps65217-bl: no platform data provided<\r><\n>

[ 0.738828] bone-capemgr bone_capemgr.9: slot #0: No cape found<\r><\n>

[ 0.777888] bone-capemgr bone_capemgr.9: slot #1: No cape found<\r><\n>

[ 0.813044] bone-capemgr bone_capemgr.9: slot #2: No cape found<\r><\n>

[ 0.848199] bone-capemgr bone_capemgr.9: slot #3: No cape found<\r><\n>

[ 0.871847] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed<\r><\n>

[ 0.909180] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8<\r><\n>

[ 0.923774] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22<\r><\n>

[ 0.932895] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single<\r><\n>

Loading, please wait…<\r><\n>

mount: relocation error: mount: symbol strcasecmp, version GLIBC_2.4 not defined in file libc.so.6 with link time reference<\r><\n>

mount: relocation error: mount: symbol strcasecmp, version GLIBC_2.4 not defined in file libc.so.6 with link time reference<\r><\n>

/scripts/init-top/udev: line 14: can’t create /sys/kernel/uevent_helper: nonexistent directory<\r><\n>

[ 1.532405] BUG: spinlock bad magic on CPU#0, init/96<\r><\n>

[ 1.539037] Unable to handle kernel NULL pointer dereference at virtual address 00000251<\r><\n>

[ 1.549596] pgd = de258000<\r><\n>

[ 1.553124] [00000251] *pgd=00000000<\r><\n>

[ 1.557799] Internal error: Oops: 5 [#1] SMP THUMB2<\r><\n>

[ 1.564161] Modules linked in:<\r><\n>

[ 1.568149] CPU: 0 Not tainted (3.8.13-bone47 #1)<\r><\n>

[ 1.574753] PC is at spin_dump+0x38/0x64<\r><\n>

[ 1.579873] LR is at spin_dump+0x2f/0x64<\r><\n>

[ 1.584991] pc : [] lr : [] psr: 600000b3<\r><\n>

[ 1.584991] sp : de253d70 ip : 00000000 fp : 00100100<\r><\n>

[ 1.599964] r10: c0825186 r9 : de2352f8 r8 : de235cd0<\r><\n>

[ 1.606776] r7 : de235300 r6 : de2352fc r5 : de235300 r4 : 0000003d<\r><\n>

[ 1.615294] r3 : c0694a28 r2 : dead4ead r1 : ffffffff r0 : 00000029<\r><\n>

[ 1.623816] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment user<\r><\n>

[ 1.633463] Control: 50c5387d Table: 9e258019 DAC: 00000015<\r><\n>

[ 1.640980] Process init (pid: 96, stack limit = 0xde252240)<\r><\n>

[ 1.648363] Stack: (0xde253d70 to 0xde254000)<\r><\n>

[ 1.654052] 3d60: 00000060 c0694ab6 0000000f de235300<\r><\n>

[ 1.664734] 3d80: 00000000 c0225e49 de252000 80000013 00000000 de2352fc de235300 de235cd0<\r><\n>

[ 1.675417] 3da0: de2352f8 c0825186 00100100 c045b6cb de2348a0 c045b533 00100873 de22ec28<\r><\n>

[ 1.686100] 3dc0: de9627c4 de9627b4 de22ec28 de2348a0 00000000 de22eb20 de234980 c009df43<\r><\n>

[ 1.696782] 3de0: 00287000 de22eb20 00000000 00001000 de253e38 de22ec28 00008000 de22ebd0<\r><\n>

[ 1.707461] 3e00: de228ac0 c0097b33 de253e38 de22eac8 de22eac8 de22be40 de110d40 de22adc0<\r><\n>

[ 1.718135] 3e20: de22be40 de111144 00000000 c009ba81 204ecd1d 1389868c de22be40 00000001<\r><\n>

[ 1.728807] 3e40: 00000000 c079e784 00513000 00000043 00000400 de245000 c009b797 80000013<\r><\n>

[ 1.739485] 3e60: de22be8c de110d40 de22adc0 de22be40 de22be40 00000000 de22be40 00000000<\r><\n>

[ 1.750168] 3e80: de110d40 c002a30d 00000000 de22be40 de22bac0 c00ad6d5 de224474 de224440<\r><\n>

[ 1.760849] 3ea0: de22adc0 00000002 c07e63a0 df352e40 00000000 c00d5c8b de22adc0 00000080<\r><\n>

[ 1.771532] 3ec0: 00000000 c0099a61 00000000 00000000 de252000 de2243c0 be883feb de252000<\r><\n>

[ 1.782208] 3ee0: 00000000 de22adc0 00000001 befffe9a de252000 de252000 00000000 de253eb8<\r><\n>

[ 1.792892] 3f00: 00000017 de253f14 00000008 c022df4d c08adcc0 de22adc0 fffffff8 c07e724c<\r><\n>

[ 1.803567] 3f20: 00000000 c07e63a0 c07e63b0 00000000 c00d5a9d c00acc11 00000000 00000060<\r><\n>

[ 1.814242] 3f40: 00000060 00000001 df061010 de22adc0 00000001 df17cec0 df061010 0008929c<\r><\n>

[ 1.824917] 3f60: 000892ac 00000000 00000000 c00adcbf 00000000 de110fac df061000 000892ac<\r><\n>

[ 1.835593] 3f80: 0008929c 0000000b c000c1c4 de252000 00000000 c00adf19 0008929c 00089274<\r><\n>

[ 1.846271] 3fa0: ffffffff c000c021 0008929c 00089274 00089274 0008929c 000892ac 000892ac<\r><\n>

[ 1.856954] 3fc0: 0008929c 00089274 ffffffff 0000000b ffffffff 000915bc ffffffff 00000000<\r><\n>

[ 1.867635] 3fe0: 0000000b be880f7c b6eaa133 b6e4ef96 80000030 00089274 7e6c4ff1 1df7cef2<\r><\n>

[ 1.878343] [] (spin_dump+0x38/0x64) from [] (do_raw_spin_lock+0x15/0xfc)<\r><\n>

[ 1.889485] [] (do_raw_spin_lock+0x15/0xfc) from [] (_raw_spin_lock_irqsave+0xd/0x10)<\r><\n>

[ 1.901989] [] (_raw_spin_lock_irqsave+0xd/0x10) from [] (__down_write_nested+0xf/0x84)<\r><\n>

[ 1.914718] [] (__down_write_nested+0xf/0x84) from [] (unlink_anon_vmas+0x4b/0x104)<\r><\n>

[ 1.926989] [] (unlink_anon_vmas+0x4b/0x104) from [] (free_pgtables+0x2f/0x6a)<\r><\n>

[ 1.938691] [] (free_pgtables+0x2f/0x6a) from [] (exit_mmap+0x7d/0x128)<\r><\n>

[ 1.949620] [] (exit_mmap+0x7d/0x128) from [] (mmput+0x37/0xaa)<\r><\n>

[ 1.959630] [] (mmput+0x37/0xaa) from [] (flush_old_exec+0x3a9/0x43c)<\r><\n>

[ 1.970329] [] (flush_old_exec+0x3a9/0x43c) from [] (load_elf_binary+0x1ef/0xcb8)<\r><\n>

[ 1.982377] [] (load_elf_binary+0x1ef/0xcb8) from [] (search_binary_handler+0x87/0x25a)<\r><\n>

[ 1.995100] [] (search_binary_handler+0x87/0x25a) from [] (do_execve+0x1d7/0x29c)<\r><\n>

[ 2.007136] [] (do_execve+0x1d7/0x29c) from [] (sys_execve+0x21/0x2c)<\r><\n>

[ 2.017826] [] (sys_execve+0x21/0x2c) from [] (ret_fast_syscall+0x1/0x46)<\r><\n>

[ 2.028960] Code: 4b0a f04f 31ff b11c (f8d4) 1214 <\r><\n>

[ 2.035215] —[ end trace c3e1aefa5f748bfb ]—<\r><\n>

Segmentation fault<\r><\n>

There seems a lot of wrong? First line beginn with unnormal Chars.
And continue until he load my own CAP. Then a lot of errors.

I order Solderless Flexible Breadboard Jumper Cable Wires. Then I can connect Pin by Pin and always boot betweem and checkl with I/O are made the trouble.

But maybe someone see the error in the debug log?