Raspberry pi and Grand Central

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jamesob
 
Posts: 16
Joined: Fri Jul 30, 2010 7:12 am

Raspberry pi and Grand Central

Post by jamesob »

Hi there

I am after little bit of help

I have a grand central and a raspberry pi 3 with Arduino installed but I can't seem to get he Grand central visible in the serial ports, I have added the Adafruit SAMD in the board manager but it still not visible

The raspberry pi works fine with the other boards that I have ie a UNO, MKR100 and Vidor400, pico

and the grand central works fine on on my Mac Laptops

The grand central has been update to latest bootloader version: v3.15.0

I am running a Raspberry Pi OS 32bit OS but have tried a 64bit as well but it not helping

It feel like I am missing a driver somewhere but can't find it any where

Any help would be greatly appreciated

Cheers

James

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry pi and Grand Central

Post by adafruit_support_carter »

Try checking dmesg to see what, if anything, is happening when the Grand Central is plugged in.

Start with the Grand Central unplugged.

Then run this on the Pi in a command line terminal window:

Code: Select all

dmesg -w
Then plug in the Grand Central and watch for any new messages to show up.

User avatar
jamesob
 
Posts: 16
Joined: Fri Jul 30, 2010 7:12 am

Re: Raspberry pi and Grand Central

Post by jamesob »

Thanks for getting back to me,

In the Demesg it report issue of Under-voltage detected! I tried a few different power supply to the raspberry pi and the board but nothing really changed, I've now order a official raspberry pi power adaptor just to rule that out

Is there a grand central very power hungry compared to other boards, like a UNO or MKR 4000 ?

Cheers

James

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry pi and Grand Central

Post by adafruit_support_carter »

Is there a grand central very power hungry compared to other boards, like a UNO or MKR 4000 ?
Easy enough to test with the Pi. If you watch dmesg output when plugging in those boards, do they generate under-voltage warnings?

User avatar
jamesob
 
Posts: 16
Joined: Fri Jul 30, 2010 7:12 am

Re: Raspberry pi and Grand Central

Post by jamesob »

I've got a powered 2.5A power supply, but unfortunately it still not working,

when I run 'dmesg -w' and plug the board in via usb no extra message are shown

On my MacBook 2012 (with usb 3) the board works every time, on my MacBook m1 (with usb-c ) it can be be a little hit and miss but neither works if I use a hub (however it used to). The raspberry pi the board powers up but isn't visible in the serial ports

Could this be a firmware issue or could of my board developed a fault

Any help would be greatly appreciated

Cheers

James

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry pi and Grand Central

Post by adafruit_support_carter »

How are you connecting to the Pi? Do you have a keyboard/monitor attached? Or are you sshing in?

User avatar
jamesob
 
Posts: 16
Joined: Fri Jul 30, 2010 7:12 am

Re: Raspberry pi and Grand Central

Post by jamesob »

The other boards don't report a under voltage issue also when you plug it in you can see but you do get to see useful I info like the board make serial port etc

If you plug in the grand central board in with out using a external power supply (on the board not the raspberry pi) then in the dmesg output it flags under voltage issue but no more info

If you plug it in with a power supply then you get no info at all

What I am trying to working out is it worth getting another grand central or will this not work with a raspberry pi either

Any Help would be greatly appreciated

Cheers

James

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry pi and Grand Central

Post by adafruit_support_carter »

It's still unclear how you are interacting with the Pi. SSH? something else?

Try double pressing the reset button on the GC to get into bootloader mode. That should generate messages.

User avatar
jamesob
 
Posts: 16
Joined: Fri Jul 30, 2010 7:12 am

Re: Raspberry pi and Grand Central

Post by jamesob »

Sorry forgot to add, I am using a usb mouse/keyboard and monitor, but have tried disconnecting everything and ssh in instead but not change

I've just tried pressing he reboot button and nothing appears in the dmesg output, it would noting that the keyboard and mouse show up dmesg when I start up

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry pi and Grand Central

Post by adafruit_support_carter »

Not sure what the issue is.

The USB on the Pi seems fine since keyboard and mouse are working.

The Grand Central is fine since it works on a Mac.

I just test plugging a Grand Central into a Pi with nothing but a USB cable (no extra power) and got this in dmesg:
[21702.044389] usb 1-1.1.2: new full-speed USB device number 8 using dwc_otg
[21702.195578] usb 1-1.1.2: New USB device found, idVendor=239a, idProduct=8031, bcdDevice= 1.00
[21702.195614] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21702.195632] usb 1-1.1.2: Product: Grand Central M4
[21702.195646] usb 1-1.1.2: Manufacturer: Adafruit
[21702.195659] usb 1-1.1.2: SerialNumber: 2C856B735335353334202020FF184B20
[21702.198825] cdc_acm 1-1.1.2:1.0: ttyACM0: USB ACM device
And after double pressing reset, this:
[21755.508287] usb 1-1.1.2: USB disconnect, device number 8
[21756.314236] usb 1-1.1.2: new full-speed USB device number 9 using dwc_otg
[21756.448704] usb 1-1.1.2: New USB device found, idVendor=239a, idProduct=0031, bcdDevice=42.01
[21756.448740] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21756.448757] usb 1-1.1.2: Product: Grand Central M4 Express
[21756.448771] usb 1-1.1.2: Manufacturer: Adafruit Industries
[21756.448785] usb 1-1.1.2: SerialNumber: 2C856B735335353334202020FF184B20
[21756.454038] cdc_acm 1-1.1.2:1.0: ttyACM0: USB ACM device
[21756.455960] usb-storage 1-1.1.2:1.2: USB Mass Storage device detected
[21756.456601] scsi host0: usb-storage 1-1.1.2:1.2
[21756.461047] hid-generic 0003:239A:0031.0003: hiddev96,hidraw1: USB HID v1.00 Device [Adafruit Industries Grand Central M4 Express] on usb-3f980000.usb-1.1.2/input3
[21757.515275] scsi 0:0:0:0: Direct-Access Grand Ce ntral M4 Express 1.00 PQ: 0 ANSI: 2
[21757.515927] sd 0:0:0:0: Attached scsi generic sg0 type 0
[21757.516876] sd 0:0:0:0: [sda] 8000 512-byte logical blocks: (4.10 MB/3.91 MiB)
[21757.517366] sd 0:0:0:0: [sda] Write Protect is off
[21757.517389] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[21757.517868] sd 0:0:0:0: [sda] No Caching mode page found
[21757.517888] sd 0:0:0:0: [sda] Assuming drive cache: write through
[21757.538899] sda:
[21757.539458] sd 0:0:0:0: [sda] Attached SCSI removable disk
Are any of the LEDs on the Grand Central coming on when double press reset?

User avatar
jamesob
 
Posts: 16
Joined: Fri Jul 30, 2010 7:12 am

Re: Raspberry pi and Grand Central

Post by jamesob »

Thankyou so much for looking into this and going to trouble testing on you own set up

when I double press while connected to the pi I can alter between red on the Neo pixel and and just the green/yellow on the smaller leds, but matter what I try I can't get the Neo pixel to go green

on the Mac's I can switch between green and red on the Neo pixel

Cheers

James

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry pi and Grand Central

Post by adafruit_support_carter »

Getting red on the NeoPixel after double pressing reset is an indication of a USB connection issue.

How many different USB cables have you tried?

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”