Welcome! Log In Create A New Profile

Advanced

Custom firmware name

Posted by dorro1971 
Custom firmware name
September 10, 2022 01:26PM
Hi all, thank you fir a great forum!

I am thinking of trying to swap out the control board on my raise3d pro2 plus.

I have bigtreetech sk3 with the same processor as the original board so I hope the touchscreen tablet will recognize the usb device..

But....i would like to modify the code so it provides this over usb-serial at start up...

I'm using visual code studio too if that helps any.

FIRMWARE_NAME:RAISE3D_Pro2
FIRMWARE_VERSION:0-0-66
FIRMWARE_BUILD:20181019114553
BOARD_VERSION:Raise3D_Motion_Board_V2
BOARD_SERIAL:112150102
PARAMETERS_VERSION:0-0-66
Compiled: Apr 21 2016
echo: Last Updated: Apr 21 2016 13:44:00 | Author: (none, default config)
echo: Free Memory: 3074 Bytes PlannerBufferBytes: 1232 Bytes
echo: Hardcoded Default Settings Loaded
echo: Steps per unit:
echo: M92 X80.00 Y80.00 Z800.00 E6640.00
echo: M201 Maximum Acceleration (mm/s2): X9000.00 Y9000.00 Z100.00 E10000.00
echo: M203 Maximum feedrates (mm/s): X300.00 Y300.00 Z16.00 E50.00
echo: Accelerations: P=printing, R=retract and T=travel
echo: M204 P500.00 T1000.00 R3000.00
echo: Advanced variables: S=Min feedrate (mm/s), T=maximum XY jerk (mm/s), B=minimum segment time (us), J=junction deviation, X=maximum X jerk (mm/s), Y=maximum Y jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
echo: M205 S0.05 R5.00 B30000.00 J0.020 X5.00 Y5.00 Z0.50 E5.00
echo: Home offset (mm):
echo: M206 X0.00 Y0.00 Z0.00
echo: M208 X305.00 Y305.00 Z305.00
echo: PID settings:
echo: M301 P0.035 I1.145 D0.089
echo: Support Fast Stop
echo: Filament settings: Disabled
echo: Z-Probe Offset (mm):
echo: M851 Z0.00
init finished

I'm not sure about the echos.....but I still don't quite know if it's even possible or where to start!

Any help would be most gratefully received.

Many thanks in advance for and advice....

Ian

Edited 2 time(s). Last edit at 09/10/2022 01:52PM by dorro1971.
Re: Custom firmware name
September 10, 2022 07:38PM
You want some custom text strings to come out the USB port after powerup/reset and before the standard text?

I'm pretty sure the "before the standard text" part will require custom coding.

I'm pretty sure you can automate the custom text strings by using the STARTUP_COMMANDS script in configuration_adv.h. Don't know where/when they'll get spit out after a powerup/reset.

I think the following will send out the text you want.

#define STARTUP_COMMANDS "M118 FIRMWARE_NAME:RAISE3D_Pro2\nFIRMWARE_VERSION:0-0-66\nM118 FIRMWARE_BUILD:20181019114553\nM118 BOARD_VERSION:Raise3D_Motion_Board_V2\nM118 BOARD_SERIAL:112150102\nM118 PARAMETERS_VERSION:0-0-66"
Re: Custom firmware name
September 11, 2022 06:43AM
brilliant!

Thank you very much

I'll try it and report back...

I'm sure establishing communications will be more involved than simply sending the same text...but you never know!
Sorry, only registered users may post in this forum.

Click here to login