Go to advanced search

by thof
Wed May 08, 2019 7:58 am
Forum: Compute Module
Topic: Flashing RaspberryPi CM3 in a production context
Replies: 5
Views: 697

Re: Flashing RaspberryPi CM3 in a production context

How about using a 3rd party software? We are using Etcher (https://www.balena.io/etcher/) that software has a check built in and has support for compute modules. It even supports writing one image to multiple devices simultaneously.
by thof
Wed May 08, 2019 6:04 am
Forum: Compute Module
Topic: Some CM3's not booting
Replies: 5
Views: 623

Re: Some CM3's not booting

Thanks @gsh for the tip! It turned out to have a FAT16 boot partition... not sure where that came from I was under the impression it was a Raspbian Lite image which was stripped and modified for our purpose. Did old Raspbian images have FAT16 partitions? Anyway problem solved, thanks! I will try to ...
by thof
Tue May 07, 2019 2:21 pm
Forum: Compute Module
Topic: Some CM3's not booting
Replies: 5
Views: 623

Some CM3's not booting

Hi all, I'm running into some issues and I have been scratching my head for some time, so I thought I would give you guys a go. We are using the compute module 3 on a custom board with custom raspbian based OS. All works, but sometimes we run into 'faulthy' cm3's while trying to boot. We flash our O...
by thof
Tue Oct 31, 2017 1:13 pm
Forum: Compute Module
Topic: Wifi Module Selection for Raspberry PI Compute
Replies: 3
Views: 2719

Re: Wifi Module Selection for Raspberry PI Compute

Any update on this, interested in your final design choice!
by thof
Wed Jan 04, 2017 12:05 pm
Forum: Advanced users
Topic: HOWTO: Set GPIO pins to a known state on boot
Replies: 5
Views: 3151

Re: HOWTO: Set GPIO pins to a known state on boot

Somehow I already had a feeling some things are being confused here, thanks for the explanation! For me the ideal situation would be to set a pin high (power an LED) as soon as power is applied and be later able to change the state of that pin in my program. This because my RPi is built in and I wou...
by thof
Tue Jan 03, 2017 5:17 pm
Forum: Advanced users
Topic: HOWTO: Set GPIO pins to a known state on boot
Replies: 5
Views: 3151

Re: HOWTO: Set GPIO pins to a known state on boot

Cool! But unfortunately I'm not being able to get it working.
Should you also add a dtoverlay=mygpio to /boot/config.txt?

What I want to do is create an overlay to set gpio6 or gpio16 high on boot...
by thof
Tue Dec 13, 2016 10:01 am
Forum: Official Foundation Display
Topic: WebKit + Gstreamer + WebGL + Canvas + MSE + EME (PI0/1/2/3)
Replies: 208
Views: 72247

Re: WebKit + Gstreamer + WebGL + Canvas + MSE + EME (PI0/1/2

Bump on this! This looks like a great approach of getting a GUI running! Would love to get this working, but on a RPi3 I'm running into several compiler errors! For the RPi3 there is not config file that includes wpe, so I tried to add this manually... unfortunately that requires additional librarie...
by thof
Fri Sep 23, 2016 3:13 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 109068

Re: Overlay to remap Pi 3 UART

Excellent, that works! Thanks for the quick response! For other that would like to use bluetooth through the miniuart and keep the old/original uart mapping for other things (old shields or whatever for example): Add the following to /boot/config.txt: dtoverlay=pi3-miniuart-bt core_freq=250 Change t...
by thof
Fri Sep 23, 2016 2:53 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 109068

Re: Overlay to remap Pi 3 UART

No problem if enable_uart=1 does nothing, I read somewhere it was good to add it anyway. For BLE tasks the baudrate should be enough... Changed the baudrate and rebooted, at first I thought it was working as the hciuart service was reporting: ● hciuart.service - Configure Bluetooth Modems connected ...
by thof
Fri Sep 23, 2016 2:27 pm
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 126
Views: 109068

Re: Overlay to remap Pi 3 UART

I would like to use the expertise here to find a solution to my problem. I would like to use the pi3-miniuart-bt overlay to have access to the uart same as on a rpi2 and still be able to use bluetooth. For this I added the following two lines in /boot/config.txt: dtoverlay=pi3-miniuart-bt enable_uar...
by thof
Thu Jan 28, 2016 1:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] PCF8523 loses time on reboot
Replies: 13
Views: 4570

Re: [SOLVED] PCF8523 loses time on reboot

Oke, solved it again...

in the file /lib/udev/hwclock-set you have to change two occurences of --systz to --hctosys:

Code: Select all

if [ yes = "$BADYEAR" ] ; then
    /sbin/hwclock --rtc=$dev --hctosys --badyear
else
    /sbin/hwclock --rtc=$dev --hctosys
fi
by thof
Thu Jan 28, 2016 1:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] PCF8523 loses time on reboot
Replies: 13
Views: 4570

Re: [SOLVED] PCF8523 loses time on reboot

Hmm, while the solution works for Jessie, under Wheezy this does not work... Removed fake-hwclock, edited /lib/udev/hwclock-set (although this shouldn't matter because there is no systemd). Now after a reboot I'm getting my original error again: hwclock: The Hardware Clock registers contain values t...
by thof
Thu Jan 07, 2016 12:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] PCF8523 loses time on reboot
Replies: 13
Views: 4570

Re: [SOLVED] PCF8523 loses time on reboot

It would be interesting to see in what situations this modification would be necessary, for me it's no problem doing this, but I would not have come up with this myself...
by thof
Thu Jan 07, 2016 12:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] PCF8523 loses time on reboot
Replies: 13
Views: 4570

Re: PCF8523 loses time on reboot

Excellent! I already removed fake-hwclock, but commenting out those lines seems to have done the trick!

Thanks!
by thof
Thu Jan 07, 2016 8:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] PCF8523 loses time on reboot
Replies: 13
Views: 4570

Re: PCF8523 loses time on reboot

Yes I did, I checked all connections and while digging through the datasheet it looks like this is the default behaviour. So I could try to interface with it and change the power switching mode, but I'm not sure it is stored or if it should be changed in a linux driver?
by thof
Wed Jan 06, 2016 6:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [SOLVED] PCF8523 loses time on reboot
Replies: 13
Views: 4570

[SOLVED] PCF8523 loses time on reboot

Hi all, First of all I'm not sure if this is the right subforum, so admins feel free to move it... I have a PCF8523 connected to a Raspberry Pi 2 B. I load the drivers through dtoverlay=i2c-rtc,pcf8523 The drivers are loaded and communication works with hwclock --debug for example, but after boot hw...
by thof
Sun Jun 01, 2014 8:41 am
Forum: General discussion
Topic: wifi hotspot access point default page?
Replies: 1
Views: 4094

Re: wifi hotspot access point default page?

I think what you are looking for is this: http://www.raspihub.com/go/7ac37d33d3d4 ... 7e353bf6fe
by thof
Mon Mar 04, 2013 2:15 pm
Forum: HATs and other add-ons
Topic: How to sense a 5v input with GPIO
Replies: 18
Views: 49244

Re: How to sense a 5v input with GPIO

Hi all, I have a question in line with this one. I want to use a 5V PIR sensor on a GPIO pin... so the output of the PIR is a 5V pulse. I tried connecting a 10k resistor in line with the output and connect this to the GPIO. This works, but I feel it is not the safest way to deliver this input to the...

Go to advanced search