Eitan Tal
Eitan Tal
After poking the problem a bit further (hitting it with a stick), It turns out the problem has much to do with the drill being the first piece. (root node)...
This is my suggestion: ``` if (GetActiveBank() == FLASH_BANK_2) { // Switch over boot from Bank2 to Bank1, by disabling BFB2 flag OBInit.USERConfig = OB_BFB2_DISABLE; } else { // Switch...
I'm changing the condition inside the if(). I don't want to blindly toggle BFB2. From `(((OBInit.USERConfig) & (OB_BFB2_ENABLE)) == OB_BFB2_ENABLE)` to `(GetActiveBank() == FLASH_BANK_2)`
Worse yet, because the two firmware images are essentially identical, you could end up with the other firmware's interrupt vector table and use it successfully without even knowing it. But...
Right, ok. That should be a broader warning, as I didn't use a piston, but a gantry, and they were two different objects that joined together, and the gantries were...