1-Wire Implementation on PocketBeagle

I am trying to implement the 1-Wire protocol to read a DS18B20 temperature sensor on the PocketBeagle. So far I have been able to correctly read the temperature on a BeagleBone Black (BBB) using the following guide:

http://www.bonebrews.com/temperature-monitoring-with-the-ds18b20-on-a-beaglebone-black/

I changed the .dts file below to use the same GPIO port on the BBB (P8.11 - GPIO45) as on the PocketBeagle (P2.33 - GPIO45) on line 19 and added the missing semicolon on line 37. I checked the GPIO offset for both of these pins and they are the same, so it should be the same signal.

`
/*

Give this a shot:

https://gist.github.com/RobertCNelson/dfd4f707a89b83c9366ecfcdc24321b0

In fragment 0, we drop the cape-universal pinmux for P2_33, this
free's up the pin for dedicated functions.

In fragment 1, no change

In fragment 2, &gpio2 -> &gpio1

Regards,

I cant help you with a pocket beagle but i can help.
dont reflash. put a bootable SD card in boot and mount the emmc

mount -t ext4 /dev/mmcblk1p1 /mnt/emmcext
cd /mnt/emmcext/boot

comment out the offending line in your uEnv.txt file

umount /mnt/emmcext

and reboot

Looking at my old example:

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-W1-P9.12-00A0.dts#L41-L55

we'll need a nother change..

Regards,

No eMMC on the PocketBeagle..

Regards,