Re: [Emc-users] Rpi Pico

2021-01-23 Thread Dave Cole
achine Controller (EMC) Subject: Re: [Emc-users] Rpi Pico On Thu, Jan 21, 2021 at 7:56 PM Dave Cole wrote: I was thinking multiple RPi Picos to one RPi4, but for just one, that is probably the way to go. The Pico is a dual-core M0. So it is faster than I had originally thought. Micro-Python is po

Re: [Emc-users] Rpi Pico

2021-01-23 Thread Chris Albertson
ts/17720 > Pro Micro - https://www.sparkfun.com/products/17717 > > I just noticed, they are for pre-order. > > > -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: Friday, 22 January 2021 4:05 PM > To: Enhanced Machine Controll

Re: [Emc-users] Rpi Pico

2021-01-22 Thread Frank Tkalcevic
just noticed, they are for pre-order. -Original Message- From: Chris Albertson [mailto:albertson.ch...@gmail.com] Sent: Friday, 22 January 2021 4:05 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi Pico On Thu, Jan 21, 2021 at 7:56 PM Dave Cole wrote: > I was think

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Chris Albertson
On Thu, Jan 21, 2021 at 7:56 PM Dave Cole wrote: > I was thinking multiple RPi Picos to one RPi4, but for just one, that is > probably the way to go. > The Pico is a dual-core M0. So it is faster than I had originally thought. Micro-Python is ported to it so it might be very easy for many

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Dave Cole
I was thinking multiple RPi Picos to one RPi4, but for just one, that is probably the way to go. I'll try that first! The Pi Hat as the carrier board is also a good idea. On 1/21/2021 7:46 PM, Chris Albertson wrote: I'd bet SPI would work well but even easier would be to connect them to the

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Chris Albertson
I'd bet SPI would work well but even easier would be to connect them to the Pi4 with USB. Both sides have software that makes the USB look like a serial port and the physical connection is done with off the shelf cable. I've used M0 boards this way in the past and using USB lets you also cnet

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Dave Cole
Sparkfun had them in stock. On 1/21/2021 7:30 PM, Dave Cole wrote: I wonder if these could act as SPI slaves to the RPI 4? I've been trying to buy two from Adafruit and they keep selling out and then coming back in stock, and then selling out again! Dave On 1/21/2021 6:36 PM, andy pugh

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Chris Albertson
On Thu, Jan 21, 2021 at 3:39 PM andy pugh wrote: > On Thu, 21 Jan 2021 at 21:52, Chris Albertson > wrote: > > Are you sure? It is an ARM Cortex M0, like the STM32, but is it made by ST? > Sorry, It is much better than that. My mistake. It is a RP2040 microcontroller chip designed by

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Dave Cole
I wonder if these could act as SPI slaves to the RPI 4? I've been trying to buy two from Adafruit and they keep selling out and then coming back in stock, and then selling out again! Dave On 1/21/2021 6:36 PM, andy pugh wrote: On Thu, 21 Jan 2021 at 21:52, Chris Albertson wrote: This is

Re: [Emc-users] Rpi Pico

2021-01-21 Thread andy pugh
On Thu, 21 Jan 2021 at 21:52, Chris Albertson wrote: > This is an STM32 microcontroller. Are you sure? It is an ARM Cortex M0, like the STM32, but is it made by ST? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses,

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Chris Albertson
To answer some questions I looked it up... This is an STM32 microcontroller. The firmware makes it enumerate to a PC/Mac/Linux machine as a USB storage device. You program this this be drag-and-drop the binary file to the storage. (or do a "cp" from the command line) What software

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Kirk Wallace
I haven't been too keen on the Raspberry Pi products due to being partially closed source. It looks like that issue has been addressed. I'll be watching this space. http://linuxgizmos.com/raspberry-pi-goes-mcu-with-open-spec-pico/ On 1/21/21 12:43 AM, Sven Wesley wrote: For you people

Re: [Emc-users] Rpi Pico

2021-01-21 Thread John Dammeyer
> From: Sven Wesley [mailto:svenne.d...@gmail.com] > Den tors 21 jan. 2021 kl 17:51 skrev John Dammeyer : > > > No CAN bus port. No USB port. > > > > I guess it depends on how deep one wants to go into C programming as to > > what you might choose for independently controlled things like a tool

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Sven Wesley
Den tors 21 jan. 2021 kl 17:51 skrev John Dammeyer : > No CAN bus port. No USB port. > > I guess it depends on how deep one wants to go into C programming as to > what you might choose for independently controlled things like a tool > changer. I have PIC32 development boards and processors that

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Matthew Herd
Just looked again and can confirm it’s in one of their spec listings (1.8-5.5V), but not in another one. > On Jan 21, 2021, at 11:41 AM, Dave Cole wrote: > > It has some interesting sub processors to handle I/O. Reminds me of the sub > processors on the Beagle Board Black. >

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Jon Elson
On 01/21/2021 10:02 AM, Matthew Herd wrote: Agreed. It looks promising, but no more so than a "Blue Pill" or similar boards. Also, what voltages does it operate on? I wasn’t able to find that in the literature but I didn’t dig into their documentation that deeply. 3.3 - 5 V. That WAS in

Re: [Emc-users] Rpi Pico

2021-01-21 Thread John Dammeyer
Wesley [mailto:svenne.d...@gmail.com] > Sent: January-21-21 12:43 AM > To: Enhanced Machine Controller (EMC) > Subject: [Emc-users] Rpi Pico > > For you people out there who use an Arduino or RPi to communicate with > parts of the machine (tool changers, doors etc). Here's a cute and really

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Dave Cole
It has some interesting sub processors to handle I/O.   Reminds me of the sub processors on the Beagle Board Black. https://hackspace.raspberrypi.org/articles/what-is-programmable-i-o-on-raspberry-pi-pico Here are some docs: https://www.raspberrypi.org/documentation/pico/getting-started/ It

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Matthew Herd
Agreed. It looks promising, but no more so than a "Blue Pill" or similar boards. Also, what voltages does it operate on? I wasn’t able to find that in the literature but I didn’t dig into their documentation that deeply. Nonetheless, it seems like info that should be part of the specs. >

Re: [Emc-users] Rpi Pico

2021-01-21 Thread Jon Elson
On 01/21/2021 02:43 AM, Sven Wesley wrote: For you people out there who use an Arduino or RPi to communicate with parts of the machine (tool changers, doors etc). Here's a cute and really low priced alternative. https://www.raspberrypi.org/products/raspberry-pi-pico/ The blurb is pretty

[Emc-users] Rpi Pico

2021-01-21 Thread Sven Wesley
For you people out there who use an Arduino or RPi to communicate with parts of the machine (tool changers, doors etc). Here's a cute and really low priced alternative. https://www.raspberrypi.org/products/raspberry-pi-pico/ ___ Emc-users mailing list

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-13 Thread Jon Elson
On 01/13/2021 10:40 AM, Ralph Stirling wrote: I played around with sd on my RPi after I got things going with the USB flash. After dd copying the same image to the sd card, booting the pi successfully, and killing power, I never got a successful second boot. I would have to mount the sd card on

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-13 Thread Ralph Stirling
card. -- Ralph From: Jon Elson [el...@pico-systems.com] Sent: Wednesday, January 13, 2021 8:30 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd On 01/12/2021 10:48 PM, Thaddeus Waldner wrote: > I’m wondering what you pla

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-13 Thread Jon Elson
On 01/12/2021 10:48 PM, Thaddeus Waldner wrote: I’m wondering what you plan to use for flash memory on the Pi. Is the SD card a viable solution in this application? Would the Pi compute module with onboard flash memory be a workable solution? One issue with onboard flash memory is that

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-12 Thread Ralph Stirling
ents. >> Bioprinters, syringe pumps, bioreactors, routers, >> pick & place, hotwire foam cutters. I'm tired of >> random castoff pc's. >> >> Thanks again, >> -- Ralph >> >> From: Peter C. Wallace [p...@me

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-12 Thread Thaddeus Waldner
reactors, routers, >> pick & place, hotwire foam cutters. I'm tired of >> random castoff pc's. >> >> Thanks again, >> -- Ralph >> >> From: Peter C. Wallace [p...@mesanet.com] >> Sent: Monday, January 11, 2021

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-12 Thread Ralph Stirling
nge pumps, bioreactors, routers, > pick & place, hotwire foam cutters. I'm tired of > random castoff pc's. > > Thanks again, > -- Ralph > > From: Peter C. Wallace [p...@mesanet.com] > Sent: Monday, January 11, 2021 4:34 PM > T

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-11 Thread Peter C. Wallace
On Tue, 12 Jan 2021, Ralph Stirling wrote: Date: Tue, 12 Jan 2021 01:10:47 + From: Ralph Stirling Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd Ok, 7i90_ssremote.bit ligh

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-11 Thread Ralph Stirling
e [p...@mesanet.com] Sent: Monday, January 11, 2021 4:34 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd CAUTION: This email originated from outside the Walla Walla University email system. On Mon, 11 Jan 2021, Ralph Stirling wrote: > Date: Mon, 11 Jan 2021 2

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-11 Thread Peter C. Wallace
On Mon, 11 Jan 2021, Ralph Stirling wrote: Date: Mon, 11 Jan 2021 23:48:56 + From: Ralph Stirling Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd I've made a bit of progress now. I

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-11 Thread Ralph Stirling
: Monday, January 11, 2021 3:48 PM To: Enhanced Machine Controller (EMC) Subject: RE: [Emc-users] Rpi 3b+ to 7i90hd I've made a bit of progress now. I found a Digilent HS2 jtag dongle, and got to the point of (apparently) successfully loading an SPI bitstream to the 7I90 (chose 7i90_spi_svst4_8.bit

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-11 Thread Ralph Stirling
es briefly, and /DONE red led does go on during the load and goes off afterward. Thanks again. -- Ralph From: Peter C. Wallace [p...@mesanet.com] Sent: Friday, January 8, 2021 1:22 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi 3b+

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-08 Thread Peter C. Wallace
On Fri, 8 Jan 2021, Ralph Stirling wrote: Date: Fri, 8 Jan 2021 21:08:55 + From: Ralph Stirling Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd Not having Xilinx Impact tool on

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-08 Thread Ralph Stirling
chain. Am I heading down a rat hole, or getting close to success? Thanks again. -- Ralph From: Peter C. Wallace [p...@mesanet.com] Sent: Thursday, January 7, 2021 3:47 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd CAUTION

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Ralph Stirling
C. Wallace [p...@mesanet.com] Sent: Thursday, January 7, 2021 3:47 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd Yep, you need to have SPI firmware loaded in the 7I90HD default 7I90HD firmware is EPP, so a device with a EPP interface is needed to load the SPI

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Gene Heskett
o: "Enhanced Machine Controller (EMC)" > > > > > > To: "emc-users@lists.sourceforge.net" > > > Subject: [Emc-users] Rpi 3b+ to > > > 7i90hd > > > > > > I have a Raspberry Pi 3b+ successfully talking to a > > > Mesa 7

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 18:18:52 Peter C. Wallace wrote: > On Thu, 7 Jan 2021, Ralph Stirling wrote: > > Date: Thu, 7 Jan 2021 22:05:32 + > > From: Ralph Stirling > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "emc-users

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Peter C. Wallace
On Thu, 7 Jan 2021, Ralph Stirling wrote: Date: Thu, 7 Jan 2021 23:37:03 + From: Ralph Stirling Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd I assumed that the 7i90hd would re

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Ralph Stirling
g the 7c81, but not the 7i90hd. The clock from the pi is correct. Thanks again. -- Ralph From: Peter C. Wallace [p...@mesanet.com] Sent: Thursday, January 7, 2021 3:18 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd Look

Re: [Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Peter C. Wallace
On Thu, 7 Jan 2021, Ralph Stirling wrote: Date: Thu, 7 Jan 2021 22:05:32 + From: Ralph Stirling Reply-To: "Enhanced Machine Controller (EMC)" To: "emc-users@lists.sourceforge.net" Subject: [Emc-users] Rpi 3b+ to 7i90hd I have a Raspberry Pi 3b+ successfully ta

[Emc-users] Rpi 3b+ to 7i90hd

2021-01-07 Thread Ralph Stirling
I have a Raspberry Pi 3b+ successfully talking to a Mesa 7c81, but am now trying to get it working with a 7i90hd. I have a very compact pcb made to go from the 2x20 header on the pi to the 2x13 header on the 7i90hd. It is wired: Signal Rpi7i90hd SDI19 13 SDO 21 15

Re: [Emc-users] Rpi

2018-05-28 Thread Gene Heskett
On Monday 28 May 2018 12:17:55 jeremy youngs wrote: > So Gene, essentially an HDMI monitor is the sure bet. I think I will > find one of them That seems to be the best bet today. Tomorrow of coarse they have a new connector thats cheaper. The connector cost is likely the driving force, and an

Re: [Emc-users] Rpi

2018-05-28 Thread jeremy youngs
So Gene, essentially an HDMI monitor is the sure bet. I think I will find one of them -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [Emc-users] Rpi

2018-05-28 Thread Gene Heskett
On Monday 28 May 2018 01:04:10 jeremy youngs wrote: > I'm about to purchase the rpi 3 b to convert my other mill. I'm going > to use the steppers I took off this matson . Probably 7i90 as well. I > have a couple VGA monitor so I figured I'd get a HDMI to VGA cable . > Is there any reason not to

[Emc-users] Rpi

2018-05-27 Thread jeremy youngs
I'm about to purchase the rpi 3 b to convert my other mill. I'm going to use the steppers I took off this matson . Probably 7i90 as well. I have a couple VGA monitor so I figured I'd get a HDMI to VGA cable . Is there any reason not to get this? eBay item number 323251929837

Re: [Emc-users] Rpi

2018-05-03 Thread Jon Elson
On 05/02/2018 11:56 PM, Chris Albertson wrote: Yes, the Begal Board Black (BBB) has much lower general CPU performance compared to the Raspberry Pibut MUCH better IO performance especially with those on-chip PRUs. Well, I use this to test the CRAMPS boards, and also run my laser photoplotter

Re: [Emc-users] Rpi

2018-05-03 Thread Gene Heskett
On Thursday 03 May 2018 00:56:41 Chris Albertson wrote: > Yes, the Begal Board Black (BBB) has much lower general CPU > performance compared to the Raspberry Pibut MUCH better IO performance > especially with those on-chip PRUs. > > But still if you have a garage to store the computer and AC

Re: [Emc-users] Rpi

2018-05-02 Thread Chris Albertson
Yes, the Begal Board Black (BBB) has much lower general CPU performance compared to the Raspberry Pibut MUCH better IO performance especially with those on-chip PRUs. But still if you have a garage to store the computer and AC mains available for power why care about a few cubic inches and 20

Re: [Emc-users] Rpi

2018-05-02 Thread Jon Elson
On Wednesday 02 May 2018 11:16:29 jeremy youngs wrote: Given my issues with this computer I have decided to stop beating a dead horse. I'm going to rpi 3 this thing. Oh, one other option is the Beagle Bone. This has the option of using the PRU (programmable Realtime Unit) which is a 32-bit

Re: [Emc-users] Rpi

2018-05-02 Thread Gene Heskett
On Wednesday 02 May 2018 21:30:32 Jon Elson wrote: > > On Wednesday 02 May 2018 11:16:29 jeremy youngs wrote: > >> Given my issues with this computer I have decided to stop beating a > >> dead horse. I'm going to rpi 3 this thing. > > Yes, I agree with Gene, there are a number of decent X86 >

Re: [Emc-users] Rpi

2018-05-02 Thread Jon Elson
On Wednesday 02 May 2018 11:16:29 jeremy youngs wrote: Given my issues with this computer I have decided to stop beating a dead horse. I'm going to rpi 3 this thing. Yes, I agree with Gene, there are a number of decent X86 motherboards that are known to work well with LinuxCNC. I use old

Re: [Emc-users] Rpi

2018-05-02 Thread Gene Heskett
On Wednesday 02 May 2018 11:16:29 jeremy youngs wrote: > Given my issues with this computer I have decided to stop beating a > dead horse. I'm going to rpi 3 this thing. Now I may rain on your parade. Based on my experience trying to find a decent pre-emptible kernel, I'm not sure I'd recommend

Re: [Emc-users] Rpi

2018-05-02 Thread jeremy youngs
I just made these links public, sorry . -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___

[Emc-users] Rpi

2018-05-02 Thread jeremy youngs
Given my issues with this computer I have decided to stop beating a dead horse. I'm going to rpi 3 this thing. Gene I am addressing this to you, what is my build requirements? I.e. what hardware is needed essential? . I have the 7i90, an svga monitor, USB keyboard and mouse. The rpi has WiFi so it

[Emc-users] RPI stable kernel

2017-06-09 Thread Bertho Stultiens
Hi all, Can anybody suggest the most recent stable kernel for the RPI 3 with functional preempt rt patches? I've been runnning 4.9.30-rt20-v7+, but I've been seeing crashes (lockups) very often. The CPU(s) seems to be spinning at 100% because the SoC gets really warm. -- Greetings Bertho

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-07 Thread Gene Heskett
On Tuesday 06 June 2017 11:46:27 Bertho Stultiens wrote: > On 06/06/2017 03:30 AM, Gene Heskett wrote: > > Does the image I downloaded Saturday and wrote to an sd card > > yesterday have this stuff in it? > > No, you need to pull the most recent source-files (hm2_rpspi.c and > spi_common_rpspi.h)

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-06 Thread Gene Heskett
On Tuesday 06 June 2017 11:46:27 Bertho Stultiens wrote: > On 06/06/2017 03:30 AM, Gene Heskett wrote: > > Does the image I downloaded Saturday and wrote to an sd card > > yesterday have this stuff in it? > > No, you need to pull the most recent source-files (hm2_rpspi.c and > spi_common_rpspi.h)

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-06 Thread Bertho Stultiens
On 06/06/2017 03:30 AM, Gene Heskett wrote: > Does the image I downloaded Saturday and wrote to an sd card yesterday > have this stuff in it? No, you need to pull the most recent source-files (hm2_rpspi.c and spi_common_rpspi.h) from the mailing list (or the forum). Login as pi user and put

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-06 Thread Gene Heskett
On Monday 05 June 2017 10:20:03 Bertho Stultiens wrote: > On 06/04/2017 06:15 AM, john mcintyre wrote: > > Your saga continues, you must be related to a bulldog ,once locked > > on it cannot let go. > > Isn't this what you call a challenge? > > > Anyway, I've fixed a couple of things, like

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-05 Thread Peter C. Wallace
@lists.sourceforge.net> Subject: Re: [Emc-users] RPI saga continues - SPI probably solved On 06/04/2017 06:15 AM, john mcintyre wrote: Your saga continues, you must be related to a bulldog? ,once locked on it cannot let go. Isn't this what you call a challenge? Anyway, I've fixed a coup

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-05 Thread Bertho Stultiens
On 06/04/2017 06:15 AM, john mcintyre wrote: > Your saga continues, you must be related to a bulldog ,once locked > on it cannot let go. Isn't this what you call a challenge? Anyway, I've fixed a couple of things, like endianness, which I did wrong in the previous versions. This

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-03 Thread john mcintyre
Good day Gene , Your saga continues, you must be related to a bulldog ,once locked on it cannot let go. All the best john From: Gene Heskett <ghesk...@shentel.net> Sent: Sunday, 4 June 2017 9:47 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-03 Thread Gene Heskett
On Friday 02 June 2017 21:50:13 Bertho Stultiens wrote: > On 06/03/2017 03:36 AM, Gene Heskett wrote: > >> Has anybody done an implementation of affinity in linuxcnc already? > >> If yes, how is it setup? > > > > On the x86 stuff, in years past, we used "isolcpus"=3 (or whatever > > was the last

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Bertho Stultiens
On 06/03/2017 03:36 AM, Gene Heskett wrote: >> Has anybody done an implementation of affinity in linuxcnc already? If >> yes, how is it setup? > > On the x86 stuff, in years past, we used "isolcpus"=3 (or whatever was > the last core) as a kernel argument at kernel load time. > > On x86 stuff

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Gene Heskett
On Friday 02 June 2017 19:59:52 Bertho Stultiens wrote: > On 06/03/2017 01:08 AM, Gene Heskett wrote: > >>> 5mv? 4 amp box, haven't had a problem. > >> > >> And you do not see any red led on the pi blink then? > >> If yes, then you man need to add decoupling. > > > > Solid as a rock. > > That

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Bertho Stultiens
On 06/03/2017 01:08 AM, Gene Heskett wrote: >>> 5mv? 4 amp box, haven't had a problem. >> And you do not see any red led on the pi blink then? >> If yes, then you man need to add decoupling. > Solid as a rock. That should be fine then. Something different: I see that the hm2_rpspi module is

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Gene Heskett
On Friday 02 June 2017 18:35:32 Bertho Stultiens wrote: > On 06/03/2017 12:20 AM, Gene Heskett wrote: > [snip] > > >> The problems seem to stop now that I have attached a bench-PSU set > >> to 5V directly on the 40-pin header's 5V input. I needed to > >> increase the voltage to 5.1V after the red

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Bertho Stultiens
On 06/03/2017 12:20 AM, Gene Heskett wrote: [snip] >> The problems seem to stop now that I have attached a bench-PSU set to >> 5V directly on the 40-pin header's 5V input. I needed to increase the >> voltage to 5.1V after the red LED still was blinking once in a while >> (probably indicating too

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Gene Heskett
On Friday 02 June 2017 17:29:24 Bertho Stultiens wrote: > On 06/02/2017 01:46 AM, Bertho Stultiens wrote: > > Problem 1: > > The RPI3 has dynamic frequency scaling activated by default > > (ondemand governor). This makes the Pi hop between 600MHz and 1.2GHz > > core frequency. Very annoying and

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-02 Thread Bertho Stultiens
On 06/02/2017 01:46 AM, Bertho Stultiens wrote: > Problem 1: > The RPI3 has dynamic frequency scaling activated by default > (ondemand governor). This makes the Pi hop between 600MHz and 1.2GHz > core frequency. Very annoying and makes realtime rather > unpredictable. There are actually two lines

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-01 Thread Gene Heskett
On Thursday 01 June 2017 19:46:29 Bertho Stultiens wrote: > On 06/01/2017 02:13 AM, Gene Heskett wrote: > > Hi Bertho; I haven't heard any more, so I am wondering if you've > > found any more "magic beans"? > > Yes, I think I've tracked down (most of) the problem(s). There are > several factors

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-01 Thread Bertho Stultiens
On 06/01/2017 02:13 AM, Gene Heskett wrote: > Hi Bertho; I haven't heard any more, so I am wondering if you've found > any more "magic beans"? Yes, I think I've tracked down (most of) the problem(s). There are several factors that play a role. Not all are solved or maybe solvable, but the timing

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-01 Thread Bertho Stultiens
On 06/01/2017 02:13 AM, Gene Heskett wrote: > Hi Bertho; I haven't heard any more, so I am wondering if you've found > any more "magic beans"? Still looking into options. There is that persy dayjob taking away attention from the real work ;-) Seriously, it is exams-period and that requires some

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-31 Thread Gene Heskett
On Tuesday 30 May 2017 08:20:38 Bertho Stultiens wrote: > On 05/30/2017 02:32 AM, Bertho Stultiens wrote: > > After some digging I noticed that there might be a data-barrier > > problem, where peripheral register access can become out-of-order. > > The ARM has the __sync_synchronize() (via gcc)

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-30 Thread Gene Heskett
On Tuesday 30 May 2017 15:00:31 Chris Albertson wrote: > Gene, > > So many words here I can't see the problem. If if you are trying to > reliably export the P's screen to your "your computer" You might just > skip trying to use X11 and go with VNC.I run a VNC server on my > Pi3 and it has

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-30 Thread Chris Albertson
Gene, So many words here I can't see the problem. If if you are trying to reliably export the P's screen to your "your computer" You might just skip trying to use X11 and go with VNC.I run a VNC server on my Pi3 and it has been running continuously now for about a month. When I log in

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-30 Thread Gene Heskett
On Tuesday 30 May 2017 08:20:38 Bertho Stultiens wrote: > On 05/30/2017 02:32 AM, Bertho Stultiens wrote: > > After some digging I noticed that there might be a data-barrier > > problem, where peripheral register access can become out-of-order. > > The ARM has the __sync_synchronize() (via gcc)

Re: [Emc-users] RPI saga continues - SPI probably [not] solved

2017-05-30 Thread Bertho Stultiens
On 05/30/2017 02:28 PM, Jeff Epler wrote: > We already have a driver for hostmot2 that uses /dev/spidev*, > hm2_spi. hm2_rpspi exists because its contributor stated that on > their system, hm2_spi did not perform adequately. That reminds me of setting scheduling/cpu affinity. Maybe the solution

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-30 Thread Bertho Stultiens
On 05/30/2017 02:28 PM, Jeff Epler wrote: >> However, there already is a solution for this! The linux kernel has a >> SPI driver, which is quite good (used it before). It solves all the >> userspace problems and, to say the least, some very clever people have >> had a crack at this problem before.

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-30 Thread Jeff Epler
On Tue, May 30, 2017 at 02:20:38PM +0200, Bertho Stultiens wrote: > I suddenly realized that the SPI peripheral is configured and accessed > in userspace. That will fail miserably if not extremely careful, > especially on SMP. > > However, there already is a solution for this! The linux kernel

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-05-30 Thread Bertho Stultiens
On 05/30/2017 02:32 AM, Bertho Stultiens wrote: > After some digging I noticed that there might be a data-barrier problem, > where peripheral register access can become out-of-order. The ARM has > the __sync_synchronize() (via gcc) to insert DMB (data-memory-barrier) > instructions when you need

[Emc-users] RPi and the endless saga of SDcard grief.

2017-05-29 Thread Greg Bentzinger
List users; I have been a RPI user since the first B version came out. I been through the "Oops the O/s is toast again" routine more than I care to count. I blame it on very poor choices for the voltage regulator and the choices of the micro USB as a power connector. Arduino scroes an A for

[Emc-users] RPI saga continues

2017-05-29 Thread Bertho Stultiens
Hi all, Too happy too soon. That is what happens. There seems to be one additional problem when configuring the SPI port. After a restart of the Pi everything went to bad again. After some digging I noticed that there might be a data-barrier problem, where peripheral register access can become

Re: [Emc-users] RPi alternatives (for detectives)

2017-05-13 Thread Gene Heskett
On Thursday 11 May 2017 14:22:49 Gene Heskett wrote: > On Thursday 11 May 2017 13:24:08 TJoseph Powderly wrote: > > gene > > i was just reading about armbian preempt-rt sources > > > > look at https://github.com/armbian/build > > look at https://github.com/armbian/build/tree/master/config/boards

Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread Gene Heskett
On Thursday 11 May 2017 13:24:08 TJoseph Powderly wrote: > gene > i was just reading about armbian preempt-rt sources > > look at https://github.com/armbian/build > look at https://github.com/armbian/build/tree/master/config/boards for > boards > look at rt patch at >

Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread TJoseph Powderly
gene i was just reading about armbian preempt-rt sources look at https://github.com/armbian/build look at https://github.com/armbian/build/tree/master/config/boards for boards look at rt patch at

Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread Gene Heskett
On Thursday 11 May 2017 10:45:12 TJoseph Powderly wrote: > Erik hello > > On 05/11/17 14:01, Erik Christiansen wrote: > > Gene, what I bought is a Udoo X86, and on their forum there's talk > > of this and that not working too, at least until someone tells them > > how to do it. My only issue so

Re: [Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread TJoseph Powderly
Erik hello On 05/11/17 14:01, Erik Christiansen wrote: > Gene, what I bought is a Udoo X86, and on their forum there's talk of > this and that not working too, at least until someone tells them how to > do it. My only issue so far is that I'm a bit down the delivery list, > and it may yet be a

[Emc-users] RPi alternatives (for detectives)

2017-05-11 Thread Erik Christiansen
On 07.05.17 16:56, Gene Heskett wrote: > I'm very impressed with the lack of data on the up-shop.net web site as > to just what these atom powered things have, they don't even say how > wide the gpio count is, so I may have bought a very lightweight > paperweight, but the card was accepted for