Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #10983 > unrolled thread

Raspberry Pi 3 breaks the serial port

Started byDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
First post2016-03-04 16:19 +0000
Last post2016-03-05 20:15 +0000
Articles 7 — 3 participants

Back to article view | Back to comp.sys.raspberry-pi


Contents

  Raspberry Pi 3 breaks the serial port David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-03-04 16:19 +0000
    Re: Raspberry Pi 3 breaks the serial port Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-03-04 22:57 +0000
      Re: Raspberry Pi 3 breaks the serial port David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-03-05 09:13 +0000
        Re: Raspberry Pi 3 breaks the serial port mm0fmf <none@invalid.com> - 2016-03-05 09:30 +0000
          Re: Raspberry Pi 3 breaks the serial port David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-03-05 09:59 +0000
            Re: Raspberry Pi 3 breaks the serial port mm0fmf <none@invalid.com> - 2016-03-05 12:11 +0000
              Re: Raspberry Pi 3 breaks the serial port David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-03-05 20:15 +0000

#10983 — Raspberry Pi 3 breaks the serial port

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2016-03-04 16:19 +0000
SubjectRaspberry Pi 3 breaks the serial port
Message-ID<nbcccj$o33$1@dont-email.me>
Next problem with the RPi-3 is that they have broken the serial port on 
pins 14 and 15!  I've looked at some of the fixed here:

   https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223

but no joy so far.

Wretched people!

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [next] | [standalone]


#10991

FromTheo Markettos <theom+news@chiark.greenend.org.uk>
Date2016-03-04 22:57 +0000
Message-ID<9wj*VsOTv@news.chiark.greenend.org.uk>
In reply to#10983
David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
> Next problem with the RPi-3 is that they have broken the serial port on 
> pins 14 and 15!  I've looked at some of the fixed here:
> 
>    https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223
> 
> but no joy so far.

I'm told it works with UART0.  This is bare metal - ie without whatever
Linux/Device Tree does on top of it.  I did a brief test with booting
NOOBS/Raspbian and got some messages out - I don't know what to expect and
only had the TX pin wired so couldn't interact with it, but the messages
looked OK.

Theo

[toc] | [prev] | [next] | [standalone]


#10992

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2016-03-05 09:13 +0000
Message-ID<nbe7qq$efu$1@dont-email.me>
In reply to#10991
On 04/03/2016 22:57, Theo Markettos wrote:
> David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
>> Next problem with the RPi-3 is that they have broken the serial port on
>> pins 14 and 15!  I've looked at some of the fixed here:
>>
>>     https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223
>>
>> but no joy so far.
>
> I'm told it works with UART0.  This is bare metal - ie without whatever
> Linux/Device Tree does on top of it.  I did a brief test with booting
> NOOBS/Raspbian and got some messages out - I don't know what to expect and
> only had the TX pin wired so couldn't interact with it, but the messages
> looked OK.
>
> Theo

Theo,

It may well produce messages out, but what I need (and what worked on 
the RPi-1 and RPi-2) is to access data coming in on that port from a 
9600 baud serial GPS device.  Sending isn't critical, receiving it is.

On the RPi-2 I could make a couple of changes:

- removing ttyAMA0 string(s) from /boot/cmdline.txt

- commenting out lines in /etc/inittab
   (not required with Raspbian Jessie)

and check access with:

   minicom -b 9600 -o -D /dev/ttyAMA0
or:
   cgps -s

but this appears broken on the RasPi-3.  Not amused, as there are dozens 
of devices relying on this!

-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#10993

Frommm0fmf <none@invalid.com>
Date2016-03-05 09:30 +0000
Message-ID<nbe8qv$hii$1@dont-email.me>
In reply to#10992
On 05/03/2016 09:13, David Taylor wrote:
> On 04/03/2016 22:57, Theo Markettos wrote:
>> David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
>>> Next problem with the RPi-3 is that they have broken the serial port on
>>> pins 14 and 15!  I've looked at some of the fixed here:
>>>
>>>     https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223
>>>
>>> but no joy so far.
>>
>> I'm told it works with UART0.  This is bare metal - ie without whatever
>> Linux/Device Tree does on top of it.  I did a brief test with booting
>> NOOBS/Raspbian and got some messages out - I don't know what to expect
>> and
>> only had the TX pin wired so couldn't interact with it, but the messages
>> looked OK.
>>
>> Theo
>
> Theo,
>
> It may well produce messages out, but what I need (and what worked on
> the RPi-1 and RPi-2) is to access data coming in on that port from a
> 9600 baud serial GPS device.  Sending isn't critical, receiving it is.
>
> On the RPi-2 I could make a couple of changes:
>
> - removing ttyAMA0 string(s) from /boot/cmdline.txt
>
> - commenting out lines in /etc/inittab
>    (not required with Raspbian Jessie)
>
> and check access with:
>
>    minicom -b 9600 -o -D /dev/ttyAMA0
> or:
>    cgps -s
>
> but this appears broken on the RasPi-3.  Not amused, as there are dozens
> of devices relying on this!
>

Are you saying the DT and firmware fixes in that blog post don't work?

[toc] | [prev] | [next] | [standalone]


#10994

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2016-03-05 09:59 +0000
Message-ID<nbeagi$m9r$1@dont-email.me>
In reply to#10993
On 05/03/2016 09:30, mm0fmf wrote:
[]
>>>>     https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223
[]

> Are you saying the DT and firmware fixes in that blog post don't work?

So far:

- I have removed ttyAMAO references from /boot/cmdline.txt

- I have added, to /boot/config.txt

dtoverlay=pps-gpio,gpiopin=18
dtoverlay=pi3-disable-bt

- I have updated the firmware /only/ with rpi-update.

Thanks to your post, I see that there is a pi3-disable-bt-overlay.dtb 
file available, which I have now downloaded, but I don't know where to 
place that file, or what other edits I may need to make to enable it. 
Is that the firmware fix you mean?

Thanks!
-- 
Cheers,
David
Web: http://www.satsignal.eu

[toc] | [prev] | [next] | [standalone]


#10995

Frommm0fmf <none@invalid.com>
Date2016-03-05 12:11 +0000
Message-ID<nbei8s$h0p$1@dont-email.me>
In reply to#10994
On 05/03/2016 09:59, David Taylor wrote:

> but I don't know where to place that file,


find / -name \*.dtb is probably a good place to start.

Googling for "using overlays with jessie pi" gives, amongst others,

https://www.raspberrypi.org/documentation/configuration/device-tree.md

[toc] | [prev] | [next] | [standalone]


#10998

FromDavid Taylor <david-taylor@blueyonder.co.uk.invalid>
Date2016-03-05 20:15 +0000
Message-ID<nbfek2$u0t$1@dont-email.me>
In reply to#10995
On 05/03/2016 12:11, mm0fmf wrote:
> On 05/03/2016 09:59, David Taylor wrote:
>
>> but I don't know where to place that file,
>
>
> find / -name \*.dtb is probably a good place to start.
>
> Googling for "using overlays with jessie pi" gives, amongst others,
>
> https://www.raspberrypi.org/documentation/configuration/device-tree.md

Thanks.  I actually used the "locate" command to find where .dtb files 
should be placed.  Copying the .dtb file there, and edit 
/boot/config.txt, all is now well.  Many thanks for your help!

Now to tackle the failure of gpsd to auto-start.  Good looking help on 
this group about that as well.

-- 
Cheers,
David GM8ARV
Web: http://www.satsignal.eu

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.raspberry-pi


csiph-web