Go to advanced search

by gsh
Wed Jul 01, 2020 6:20 am
Forum: Compute Module
Topic: Custom IO Board not detecting
Replies: 12
Views: 540

Re: Custom IO Board not detecting

svema wrote:
Tue Jun 23, 2020 5:52 pm
Other thing is the manual says The USB port (Pins USB DP and USB DM) must be routed as 90 ohm differential PCB traces". Does this affect the board to get detected on Windows/Linux?
I'm assuming the traces are thrown randomly onto the board, in which case all bets are off!
by gsh
Tue Jun 30, 2020 3:17 pm
Forum: Compute Module
Topic: Custom IO Board not detecting
Replies: 12
Views: 540

Re: Custom IO Board not detecting

I would guess its a signal integrity issue, are you getting this on the CMIO board as well?
by gsh
Tue Jun 30, 2020 11:37 am
Forum: Compute Module
Topic: Custom IO Board not detecting
Replies: 12
Views: 540

Re: Custom IO Board not detecting

I'm not sure what your reply means, "But it should work in host mode?" is that a question or a statement? What do you mean by host mode in that question? Should Linux enumerate a keyboard when plugged into the board? Yes, as long as R12 is there or you are driving OTG_ID to GND (Although that also d...
by gsh
Wed Jun 24, 2020 3:14 pm
Forum: Compute Module
Topic: Custom IO Board not detecting
Replies: 12
Views: 540

Re: Custom IO Board not detecting

Yes, it's a definite possibility, all bets are off if you've not got the right differential impedance

Does it work when plugged into a Raspberry Pi? I assume it works fine with the CMIO board?

Gordon
by gsh
Wed Jun 24, 2020 10:13 am
Forum: Compute Module
Topic: Booting from USB using CM3+
Replies: 13
Views: 579

Re: Booting from USB using CM3+

You need the OTG_ID pin to be grounded if you want to boot from a mass storage device. You need it to float if you want to rpiboot it again. If its CM3Lite then you don't need to remove R12 because you can just remove the SD card instead... You need to boot the Pi with a working image (on eMMC or on...
by gsh
Wed Jun 24, 2020 8:49 am
Forum: Compute Module
Topic: Booting from USB using CM3+
Replies: 13
Views: 579

Re: Booting from USB using CM3+

With the pin floating, it'll try to boot in device mode, this means you need to plug the micro USB into a PC / Pi / Mac and run rpiboot to turn it into a mass storage device. The PC can then write to it as mass storage. If you drive the pin to ground it'll try to boot in host mode, which means it wi...
by gsh
Fri Jun 19, 2020 2:44 pm
Forum: Compute Module
Topic: CM3+ with eMMC no longer detected by usbboot after setting program_usb_boot_mode
Replies: 13
Views: 534

Re: CM3+ with eMMC no longer detected by usbboot after setting program_usb_boot_mode

Yes you still need to program that OTP bit to enable the host boot (I think the docs are wrong on that account), USB host boot isn't enabled by default because of the effect it has on device boot. Unfortunately the CMIO board (and all subsequent derivatives) have the resistor on them which is wrong ...
by gsh
Fri Jun 19, 2020 2:32 pm
Forum: Compute Module
Topic: CM3+ with eMMC no longer detected by usbboot after setting program_usb_boot_mode
Replies: 13
Views: 534

Re: CM3+ with eMMC no longer detected by usbboot after setting program_usb_boot_mode

The boot order is: 1) eMMC (or SD on a Pi) 2) USB device or host depending on the value of OTG_ID If there is a valid file system on the eMMC it will boot from that... The only way to stop this from happening is to delete / rename the bootcode.bin from the eMMC to stop it from booting from there. Ot...
by gsh
Fri Jun 19, 2020 9:19 am
Forum: Compute Module
Topic: CM3+ with eMMC no longer detected by usbboot after setting program_usb_boot_mode
Replies: 13
Views: 534

Re: CM3+ with eMMC no longer detected by usbboot after setting program_usb_boot_mode

So the issue is that the OTG_ID pin is used to select between HOST and DEVICE modes when booting... So by pulling it to GND it is pushed into HOST mode (USB mass storage or ethernet) When you boot (with a mass storage device plugged in), does it actually try and access the MSD? If it's spinning rust...
by gsh
Thu Jun 18, 2020 11:50 am
Forum: Compute Module
Topic: Booting from USB using CM3+
Replies: 13
Views: 579

Re: Booting from USB using CM3+

The signal R12 is attached to comes out as OTG_ID on the connector, so once removed you can connect the pin to GND to make it behave as a host (for MSD use) or leave it floating to behave as a device (and allow you to access it via rpiboot) If you don't do this, it means it will always boot from the...
by gsh
Wed Jun 17, 2020 11:07 am
Forum: Compute Module
Topic: Booting from USB using CM3+
Replies: 13
Views: 579

Re: Booting from USB using CM3+

It is not enabled by default for CM3+ because this would then mean you'd have to use the OTG signal to choose between USB device boot (rpiboot) or USB host boot (ethernet or mass storage). So you can enable it through the config.txt as on Pi 3, but will need to remove R12 from the OTG pin to let it ...
by gsh
Wed Jun 10, 2020 1:50 pm
Forum: Compute Module
Topic: CM3+ Hard Shutdown
Replies: 1
Views: 190

Re: CM3+ Hard Shutdown

Have you tried enabling overlayfs? Once you have your final build, enable overlayfs through raspi-config. Once you have done this your SD card becomes effectively read only, and updates done while running will not get written to the SD card, so you always start in the same state every time you boot....
by gsh
Sat Jun 06, 2020 6:11 pm
Forum: General discussion
Topic: why isn't USB-C networking enabled by default?
Replies: 11
Views: 743

Re: why isn't USB-C networking enabled by default?

In the end, it's not our call either, it's the kernel maintainers, although I do agree with them that just because people will be annoyed about changing APIs doesn't mean they shouldn't be changed... We should always strive for the best solutions to our software problems, not the most convenient, it...
by gsh
Sat Jun 06, 2020 1:39 pm
Forum: General discussion
Topic: why isn't USB-C networking enabled by default?
Replies: 11
Views: 743

Re: why isn't USB-C networking enabled by default?

It's clear from the kernel mailing lists, that the legacy gadget mode is going away in the long term. So relying on things like g_ether is a bad idea and I wouldn't encourage anyone to use it anymore. Otherwise, all those lovely tutorials available about how to set this up will soon be broken by the...
by gsh
Sat Jun 06, 2020 11:43 am
Forum: General discussion
Topic: why isn't USB-C networking enabled by default?
Replies: 11
Views: 743

Re: why isn't USB-C networking enabled by default?

Again, that doesn't describe setting up networking through the USB-C port, just how to enable the dwc2 driver. I believe g_ether is also no longer the 'right way' to enable an ethernet device on this port it should be done through configfs, which is more complex, I was wondering whether the OP was f...
by gsh
Sat Jun 06, 2020 6:56 am
Forum: General discussion
Topic: why isn't USB-C networking enabled by default?
Replies: 11
Views: 743

Re: why isn't USB-C networking enabled by default?

Isn't it just two lines in config.txt to enable Ethernet through the USB-C connector?

Do you have any instructions to follow to get it to work, I can then ask one of our engineers to investigate it.

Thanks

Gordon
by gsh
Fri Jun 05, 2020 1:27 pm
Forum: Compute Module
Topic: where to find compatible image sensor (camera) for CM
Replies: 8
Views: 537

Re: where to find compatible image sensor (camera) for CM

I would point out that that device is EOL so any available are only those that distributors have in stock. (i.e. unknown quantity)

So you may end up designing a board that you can't get components for...
by gsh
Tue Jun 02, 2020 7:34 am
Forum: Compute Module
Topic: [Kinda SOLVED] Custom camera module for CM3+: cables and crypto chip
Replies: 6
Views: 443

Re: Custom camera module for CM3+: cables and crypto chip

I can confirm that on the compute module products no crypto device is required.
by gsh
Sat May 30, 2020 12:25 pm
Forum: Troubleshooting
Topic: RPi4 freezes after last (today) update [solved]
Replies: 108
Views: 5953

Re: RPi4 freezes after last (today) update

Mine seems to be broken as well... I can't see any good video from youtube

Only way to watch it is to disable h264ify and let it play is VP9

Gordon
by gsh
Sat May 30, 2020 11:51 am
Forum: Troubleshooting
Topic: RPi4 freezes after last (today) update [solved]
Replies: 108
Views: 5953

Re: RPi4 freezes after last (today) update

Can you right click on the YouTube and get the stats to make sure it's h264 not vp8?

Gordon
by gsh
Fri May 29, 2020 3:12 pm
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 208
Views: 27996

Re: Raspberry Pi OS (64 bit) beta test version

Yes that should still work fine
by gsh
Fri May 29, 2020 10:26 am
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 208
Views: 27996

Re: Raspberry Pi OS (64 bit) beta test version

There's been a small update that you'll have in the 64 bit version that changes some clock division above 1500MHz, this means a slightly more reliable operation over 1500 but also slightly reduced memory bandwidth (about 2-3%). Of course the memory bandwidth reduction will only really be visible in ...
by gsh
Thu May 28, 2020 2:55 pm
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 208
Views: 27996

Re: Raspberry Pi OS (64 bit) beta test version

gordon77 wrote:
Thu May 28, 2020 2:28 pm
I've downloaded the 64bit beta, tried 2 cards, Sandisk Ultra 128GB and 32GB, using Pi Imager, both fail verification.
Are you sure you're using the latest version (should say v1.2 in the taskbar)
What operating system are you using?
by gsh
Thu May 28, 2020 7:08 am
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 208
Views: 27996

Re: Raspberry Pi OS (64 bit) beta test version

In the long term we'll keep both running at the same level for as long as is feasible. If the technology divides us we may have to switch to some long term stable solution. But I don't expect that to happen in the next few years.

Gordon

Go to advanced search