Smart effector not remembering sensitivity
-
I agree with you, the code looks wrong. I'll see if I can reproduce that problem.
-
Yes I can reproduce it. I'm sorry about this. I guess nobody else is using custom sensitivity!
Have you tried moving the sensitivity command to the end of config.g and using G4 to insert a delay before it? The delay will have to be long enough for the LED to have stoppled flashing.
-
I am not an embedded developer. Do you have a small guide how to flash the firmware? I will make a push request in github.
-
Definition of M672 S105:8:247 in the config file is useless, because I can just change the sensitivity every third run.
I guess there is another issue with the error handling, because the checksum check is false, but the led blinks three times. -
I think I got it, the LED blinks probably one time because of the check, and two times because it resets ^_^
I misinterpreted this as three blinksif (!nvDataValid && (PINA & BITVAL(PortADuetInputBitNum)) == 0) { nvData.flags = 0; UpdateEEPROM(); FlashLed(2); }
-
What works is to put M672 in the bed file and finish with a reset 131:131.
-
@dgrat, thanks for your PR. I have accepted it, made some other minor changes, tested it, and published a new release at https://github.com/dc42/Duet3dSmartEffector/releases/tag/2.01.
Flashing the firmware requires an AVR programmer, such as AVRISP, TinyISP, or an Arduino running the ArduinoISP sketch. The pads on top of the Smart Effector have the standard 6-pin ISP layout. We use spring-loaded pins to make contact with them.
If you are based in the UK then I can reprogram your Smart Effector. Send me a chat message if you would like to arrange this.
-
@dc42 I am living in Germany, and I guess, I anyway had to learn it. I will test it out, when I get my pogo pin connector.
-
@dc42
Okay I flashed the firmware with avrdude. Seems to work now. -
I just got a old smarteffector that seems to have this very same problem.
No sensitivity store, and need to program it every power cicle.
Is it there any instruction on how to flash fw to smarteffector? It´s a V2. So don´t know the best or latest fw to install
-
@apak said in Smart effector not remembering sensitivity:
I just got a old smarteffector that seems to have this very same problem.
No sensitivity store, and need to program it every power cicle.
Is it there any instruction on how to flash fw to smarteffector? It´s a V2. So don´t know the best or latest fw to install
Everything to know about the smart effector can be found here: https://docs.duet3d.com/en/Duet3D_hardware/Accessories/Smart_Effector
If you're still stuck, please create a new thread with all the details.