Easier switching between DSF and Standalone mode?
-
The Duet starts in standalone if there is an SD card, and it can open /sys/config.g.
When running in standalone mode, you could switch to Pi with
M471 S"/sys/config.g" T"/sys/config.g.current" M999
Depending on the network configuration in the FAT partition config.g and the Pi network config, you might have to load a different web page. They really can't be the same, the Pi is still up and on the network even when the Duet is standalone.
I don't know of any way to switch back without taking the card out of the Duet; when running in Pi, the FAT partition on the card in the Duet is not accessible. I tried "0:/sys..." "1:/sys...", etc. Those are various directories on the Pi.
-
@Danal Yeah I'm not worried about ip addresses since I have different static ones assigned to the Duet3 and SBC. It's just getting the Duet into standalone mode without having to keep removing covers and popping the card out. I'd use an sd card extender but we've been warned to not do that.
-
Yeah, I believe it will require a change to get more than halfway there.
Be nice if "1:/..." was the Duet's SD, when running in Pi.
-
Thinking more about this, it's be really nice to have the Duet's DS card available while in DSF mode to maybe cache a print file instead of getting it line by line from DSF when the DSF isn't adding any value.
-
Too bad the Pi
cancan't act as a SPI slave; does the jetson suffer the same limitation? -
@bearer said in Easier switching between DSF and Standalone mode?:
Too bad the Pi
cancan't act as a SPI slave; does the jetson suffer the same limitation?The Jetson SPIs works in slave mode in most circumstances. Unfortunately I became the SPI "expert" for the Jetsons and got a community award from nvidia for it.
-
@gtj0 said in Easier switching between DSF and Standalone mode?:
Thinking more about this, it's be really nice to have the Duet's DS card available while in DSF mode to maybe cache a print file instead of getting it line by line from DSF when the DSF isn't adding any value.
Except DSF actually processes quite a few of the gcodes. Non move.
-
@Danal Yeah but it doesn't do anything special with them. At least not at the current time. I always wondered why the DSF just didn't preprocess a print file and ship the file to RRF to print but that's a subject for another decade.
-
@gtj0 said in Easier switching between DSF and Standalone mode?:
SPIs works in slave mode
would have been a neat trick to use the same interface and just switch the SBC to emulate a SD card, but Pi's can't do that unless you get another award?
-
@bearer Not a chance
-
@gtj0 said in Easier switching between DSF and Standalone mode?:
@Danal Yeah but it doesn't do anything special with them. At least not at the current time. I always wondered why the DSF just didn't preprocess a print file and ship the file to RRF to print but that's a subject for another decade.
M23 HemeraToolPlateToolBoardHoles.gcode M24
The duet can't do that, the file would be not found. Preprocess and ship... well, then what about M20 (list), and rename and delete and so forth.
So move EVERYTHING back to the Duet. Except, run the web server on the Pi, but not the controlserver (or, probably better phrasing, the control server become a very thin interface.) Right or Wrong, this is not the path that Dave and Chris chose.
-
This feature is already planned for firmware 3.02.
-
@Danal said in Easier switching between DSF and Standalone mode?:
@gtj0 said in Easier switching between DSF and Standalone mode?:
@Danal Yeah but it doesn't do anything special with them. At least not at the current time. I always wondered why the DSF just didn't preprocess a print file and ship the file to RRF to print but that's a subject for another decade.
M23 HemeraToolPlateToolBoardHoles.gcode M24
The duet can't do that, the file would be not found. Preprocess and ship... well, then what about M20 (list), and rename and delete and so forth.
So move EVERYTHING back to the Duet. Except, run the web server on the Pi, but not the controlserver (or, probably better phrasing, the control server become a very thin interface.) Right or Wrong, this is not the path that Dave and Chris chose.
I'm not suggesting the current path is Right or Wrong. I was just wondering. There certainly could be benefits to having the DCS send gcode line by line. We're just not at that point yet. Like I said "...that's a subject for another decade." Given that "stay at home" has forced me to have 2 double-decker BLT sandwiches with extra mayo this week, I probably won't live that long.
-
@dc42 said in Easier switching between DSF and Standalone mode?:
This feature is already planned for firmware 3.02.
Good news! Thanks!
-
@Danal said in Easier switching between DSF and Standalone mode?:
M23 HemeraToolPlateToolBoardHoles.gcode M24
The duet can't do that, the file would be not found. Preprocess and ship... well, then what about M20 (list), and rename and delete and so forth.
If that doesn't work already (have you tried it with the latest RRF and DCS?) then I'm sure it would be possible to make it work.
-
@gtj0 said in Easier switching between DSF and Standalone mode?:
Given that "stay at home" has forced me to have 2 double-decker BLT sandwiches with extra mayo this week, I probably won't live that long.
Dang, man, I need to visit, lockdown or no.