Question about Sammy-C21 board
-
@T3P3Tony
https://docs.duet3d.com/en/Duet3D_hardware/Duet_3_family/Using_the_Sammy-C21_development_board_with_Duet_3#duet3d-firmware-source-code-for-sammyc21
Sorry I have overseen that the section is for the source code.But still can't get it to see the right release.
Shouldn't it show 3.5.4 and switch when you select a different version in the branch pulldown?
Or is it just because the zip file for the version is missing?I would suggest putting the section Loading firmware at the end. And i think it needs a bit of a rework
I am still confused as to why the firmware has to be adapted. The table shows many ports that can be used as input.
The original request was here
As far as i can see, standard io's can do the job.
What am I missing here? -
@DIY-O-Sphere said in Question about Sammy-C21 board:
As far as i can see, standard io's can do the job.
What am I missing here?Can at least answer this! As an example, some folks have modified the source to allow the Sammy-C21 to drive 2x external drivers. The 'example' source (or standard release) is set up to only drive a single external driver. For the 2x external driver version, this has been used by some as part of the ERCF multi-filament system, as seen here: https://forum.duet3d.com/topic/27573/canned-ercf-board-v1-0-beta2/24
-
@DIY-O-Sphere the releases are now released as part of the main RepRapFirmware repository. E.g.:
https://github.com/Duet3D/RepRapFirmware/releases/download/3.6.0-beta.3/Duet3Firmware_SAMMYC21.bin
You can select the source branch in GitHub for the expansion project, here is 3.5-dev:
https://github.com/Duet3D/Duet3Expansion/tree/3.6-dev
You are correct that the default firmware has lots of IO enabled so if that's enough for @fcwilt then they won't need to modify it. If however they need more, they can.
-
@T3P3Tony said in Question about Sammy-C21 board:
T3P3Tony
administrators
8 Feb 2025, 20:51@DIY-O-Sphere the releases are now released as part of the main RepRapFirmware repository. E.g.:
With the hint of @sebkritikel I got that.....would be nice to add that to the documentation....
@T3P3Tony said in Question about Sammy-C21 board:
You are correct that the default firmware has lots of IO enabled so if that's enough for @fcwilt then they won't need to modify it
Hallelujah....
-
Hi,
As part of my quest to figure out how to use the Eclipse IDE to create custom Sammy code I keep encountering things that lead to questions.
In the github sections for Duet3BootLoader and Duet3Expansion there are a couple of lines for which I need guidance.
This is the first line: Modify your PATH environment variable to include the 'bin' folder of the GNU ARM Eclipse istallation.
I added this :
C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin
Is that correct?
This was already present:
C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin
Is it also correct?
This is the second line: Run "which rm" and "which make" to make sure that rm and make will be fetched from that folder.
On my computer running Windows 11 "which" is not recognized.
What is it supposed to do? Where is it supposed to be found?
Thanks.
Frederick
-
-
@fcwilt moved to firmware dev category. This is outside of my knowledge!
-
@fcwilt Before you go too far down the rathole of building firmware and bootloaders, are you sure you actually need to build either of them? From other comments in this thread (and your previous one), it would seem that the standard build for the Sammy-C21 board may do all that you need. If you only want a set of firmware that allows the Sammy to do whatever it is you need, then please provide details of the functions you require and hopefully we can help work out if you need to modify/build the firmware or not.
Of course if you want to build the firmware/bootloader "just because" then ignore this message and carry on (good luck!).
-
I think the standard firmware will work fine.
I would just like to understand how to do it. I did embedded process controller programs years ago, but back then the development environment consisted of an text editor and a compiler. The Eclipse IDE seems to have many more moving parts.
Frederick
-
@fcwilt said in Question about Sammy-C21 board:
On my computer running Windows 11 "which" is not recognized.
Try "where rm" and "where make" instead.
BTW I no longer suggest using Gnu Arm Eclipse. Use MSYS2 instead. See https://github.com/Duet3D/RepRapFirmware/wiki/Building-RepRapFirmware.
-
@dc42 said in Question about Sammy-C21 board:
Try "where rm" and "where make" instead.
That works.
BTW I no longer suggest using Gnu Arm Eclipse. Use MSYS2 instead. See https://github.com/Duet3D/RepRapFirmware/wiki/Building-RepRapFirmware.
Good to know.
Perhaps the documentation should be updated?
Frederick
-
@fcwilt the documentation already says to use MSYS2. Where in it did you find a reference to Gnu ARM Eclipse?
-
@dc42 said in Question about Sammy-C21 board:
@fcwilt the documentation already says to use MSYS2. Where in it did you find a reference to Gnu ARM Eclipse?
When reading about the Sammy hardware here...
... there are links near the bottom to github.
Follow these links and there is mention of things needing to be done.
This is just one of the links:
github.com/Duet3D/Duet3Expansion
The link you provided is much more comprehensive.
Thanks much.
Frederick
-
@fcwilt I've updated the Github repo readme to point at the wiki, which has the correct instructions and a link to the main RRF build instructions. https://github.com/Duet3D/Duet3Expansion/wiki/Building-Duet3Expansion
Ian
-