Raspberry Pi 4

More
6 years 7 months ago #159225 by gtt38
Replied by gtt38 on topic Raspberry Pi 4

BeagleBrainz wrote: Someone forget to make that link shareable ? ;)

Yeah....lots of big ideas with MK, but not a lot of work done.

I saw a while ago that someone was working with the BBB, but bare metal, for cnc motion control. Tried look for the links, but to no avail.

Personally ATM I think the ol' X86 (_64) platform has the best long term viability. As long as the PC platform still has non-usb Ethernet running MESA Ethernet motion control is still a good long team option. Even more so for those that do commercial installations. Plus the fact I am unaware of the RPi being certified for industrial use.
Now what would be interesting is a BBB with similar specs to the RPi4 and still keeping the PRU subsystem.

That’s why I was talking about a STM32 which could be used as a PRU. Many packages available but a 64pin could be enough. I explored the possibility of porting Hostmot2 to a small CPLD too, it could be possible I think for Stepgen but I don’t think that it could support all the HM2 functions...

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #159226 by MrGreg
Replied by MrGreg on topic Raspberry Pi 4
@ blazini36 ( and indeed tommylight & all)

Yes as you may have guessed, I'm also V interested in reviving / resurrecting Picnc to run on Pi3 and prob more likely long term Pi4.

Re your comments Re Picnc on the MK forum, Guessing you mean this one?
groups.google.com/forum/#!topic/machinekit/wDCXCINWqTM

It's rather confused, the OP seems to have quite different intentions than his initial post suggested.

I think the subject is worthy of further discussion, but on a thread of its own. I will do that if there is any apparent further interest in the matter.

Re PiDiCnc ( Just saying for historical reference)
It has its roots in Picnc. The author/co author/whatever.. of PiDiCnc "Viktan" was quite active in the RPIforum topic where Picnc was started ( initially Linuxcnc)
See ( starts here & there 40+ pages of it, A Very long read)
www.raspberrypi.org/forums/viewtopic.php...ad3805e465d425241e2d
And referencing his driver here.
forum.linuxcnc.org/27-driver-boards/2974...stem?start=50#115691

The Author of Picnc is "kinsamanka" BTW

I was quite attracted to PiDiCnc, Have kept an eye in it over the last couple of years, but also have reservations about, lack of price info, future prospects, source? general inactivity on his website, to mention a few.
The reported price point of 80Euro does seem attractive and good value for money. As to whether it works on a Pi4? Best you ask them first.

I think I had better buy another Pi4 to do some more dedicated testing.

Cheers
MrGreg
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #159229 by gtt38
Replied by gtt38 on topic Raspberry Pi 4

MrGreg wrote: @ blazini36 ( and indeed tommylight & all)

Yes as you may have guessed, I'm also V interested in reviving / resurrecting Picnc to run on Pi3 and prob more likely long term Pi4.

Re your comments Re Picnc on the MK forum, Guessing you mean this one?
groups.google.com/forum/#!topic/machinekit/wDCXCINWqTM

It's rather confused, the OP seems to have quite different intentions than his initial post suggested.

I think the subject is worthy of further discussion, but on a thread of its own. I will do that if there is any apparent further interest in the matter.

Re PiDiCnc ( Just saying for historical reference)
It has its roots in Picnc. The author/co author/whatever.. of PiDiCnc "Viktan" was quite active in the RPIforum topic where Picnc was started ( initially Linuxcnc)
See ( starts here & there 40+ pages of it, A Very long read)
www.raspberrypi.org/forums/viewtopic.php...ad3805e465d425241e2d
And referencing his driver here.
forum.linuxcnc.org/27-driver-boards/2974...stem?start=50#115691

The Author of Picnc is "kinsamanka" BTW

I was quite attracted to PiDiCnc, Have kept an eye in it over the last couple of years, but also have reservations about, lack of price info, future prospects, source? general inactivity on his website, to mention a few.
The reported price point of 80Euro does seem attractive and good value for money. As to whether it works on a Pi4? Best you ask them first.

I think I had better buy another Pi4 to do some more dedicated testing.

Cheers
MrGreg

PiDiCnc Is using a simple Xc6slx9 with hostmot2. At this price I prefer buying a 7c81 by far. I’m using a XC6SLX16 with 96I/O in 3.3v for only 20€. For me a RPI is a cheap embedded solution so using a board which worth more than the RPI itself is too much, unless you need to control an industrial machine or something like that.
BTW I’m trying to install a realtime kernel on the last STM board, the STM32MP157. This could be the ultimate solution to have everything in one board (like the Zync or the De0 nano)
Last edit: 6 years 7 months ago by gtt38.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #159237 by blazini36
Replied by blazini36 on topic Raspberry Pi 4

BeagleBrainz wrote: Someone forget to make that link shareable ? ;)

Yeah....lots of big ideas with MK, but not a lot of work done.

I saw a while ago that someone was working with the BBB, but bare metal, for cnc motion control. Tried look for the links, but to no avail.

Personally ATM I think the ol' X86 (_64) platform has the best long term viability. As long as the PC platform still has non-usb Ethernet running MESA Ethernet motion control is still a good long team option. Even more so for those that do commercial installations. Plus the fact I am unaware of the RPi being certified for industrial use.
Now what would be interesting is a BBB with similar specs to the RPi4 and still keeping the PRU subsystem.

Yeah I forgot to share it the link...

drive.google.com/open?id=1ih-1KqdshXeu-BHIEUqMd9f8SUqrkrQf
also open sourced this project just hoping someone would contribute some improvements, it is fully usable as is though.
github.com/ShadeTechnik/socfpga-developement-OSHW

And actually the work is done for the DE10-Nano on MKSOCFPGA, and it's quite good. Problem is that MK has a split CNC and hal stack and they all but abandoned the CNC stack. I keep thinking they should just push to get these things merged into LCNC, the big MK names have left the project and it just seems to be hanging on with only a couple of guys. I was not a fan of the BBB. I think the PRUs are great but the way the I/O must be sacrificed to just use the HDMI or eMMC becomes confusing and kind of kills it.

I recall seeing the PIDICNC stuff when it was first being mentioned on here. I honestly wasn't super interested because I have very little reason not to just buy Mesa stuff especially now that they have a couple of Rpi boards if I'm going to buy something. Without open-source firmware it just doesn't do anything for me, even though it looks like great hardware. I don't get overly concerned about the price of a Mesa eth card and don't really feel any need to seek out cheaper hardware. It amazes me that Mesa can do what it does for the cost...I've spent more on a single end mill than most of the mesa boards I've bought.

That said my interest in the PICnc-like board is not based on cost really. I build obscure machines on a whim running on LinuxCNC and my main goal would be to work up a I/O board that is specific to that exact machine but have the environment be exactly the same. So for this I would hope that the firmware and drivers would get sorted and some general I/O PCB were designed that the community was fond enough of to keep working the code out for. Now if that firmware is easily configurable and modular I can take that same micro, plop it on whatever PCB I come up with for whatever machine I'm putzing around with and that's that.

I can do exactly that with MKSOCFPGA right now as it runs hostmot2 and that is perfect. The problem is Machinekit itself and since soc-fpga's are a bit too complicated for me to implement myself, I'm reliant on something like the DE10-nano or whatever dev board and it's lifecycle and limitations and whether MK has developed for it. With a board that runs a PIC or ARM microcontroller over spi, it can be controlled by any number of ARM boards or an Odroid-H2 that I'm so fond of if I need a bit more CPU for whatever else the machine is doing. In general I have no concerns about running anything on an rpi4, it is finally capable enough to do quite a bit but at the same time.....it's not a requirement to use the rpi, just something with a capable spi interface.

I did come across this:
easyeda.com/MX_Master/lcnc_bb

Which looks like a fully designed schematic of an overkill STM32 cortex M4 board. I messaged the author about if he's done anything with firmware or anything with it but I haven't heard back. Other than the ethernet interface rather than spi it looks pretty good. I don't have an issue with ethernet, for something like this I just prefer the abillity to plug the pi or whatever directly into a header and since SPI is on the GPIO header it's just a better package.
Last edit: 6 years 7 months ago by blazini36.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #159239 by gtt38
Replied by gtt38 on topic Raspberry Pi 4
I’m actually testing the port of the Hostmot2 firmware for an Artix 7 with XADC (analog for a 3D printer)
github.com/sleepybishop/artix_hostmot2
I’m using this cheap board :
fr.aliexpress.com/i/1000006630084.html

Please Log in or Create an account to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 7 months ago - 6 years 7 months ago #159241 by BeagleBrainz
Replied by BeagleBrainz on topic Raspberry Pi 4
This was my solution:
A cape that fits onto the BBB
Two daughter boards that connect via small ribbon cables.
I was able to bring out 34 lines fro I\O and the 25th to enable the outputs whilst keeping HDMI
I ran this until I switched to Linuxcnc with an ealry wheezy image that was well before things were split
This is my github with more info github.com/ozzyrob/
Last edit: 6 years 7 months ago by BeagleBrainz.

Please Log in or Create an account to join the conversation.

Time to create page: 0.366 seconds
Powered by Kunena Forum