Sammy-C21 CAN errors
-
@JoergS5 said in Sammy-C21 CAN errors:
i think that is not relevant when building the SAMMYC21 configuration as dc42 has taken care if it all for us.
-
I also loaded the firmware binary through the ICE as well, possibly overwriting the bootloader and thus removing the clock multiplier fix?
If I am following this correctly that is.
Thanks,
-
@R3D said in Sammy-C21 CAN errors:
I also loaded the firmware binary through the ICE as well,
use the SAMMYC21-Debug build config in that case
(edit ref: https://duet3d.dozuki.com/Wiki/Using_the_Sammy-C21_development_board_with_Duet_3#Section_Debugging_your_own_firmware) -
I did, in my previous comments I did specify this.
Thanks,
-
@R3D maybe you can debug sammy and check can communication. The sammy has a SWD connector (but the pins must be soldered).
-
So i have the ICE in the SAMMY with both powered on, I have it connected in atmel studio 7 in the device programming tab, but I am having trouble locating any information regarding the CAN bus.
Any suggestions?
Thanks,
-
It's been over a month since I tested the SammyC21 firmware build. I've just built and loaded the debug build through ICE and I am getting the same issue - no CAN connection. I'll fix this today if i don't run out of time.
-
Currently, the release build works (loaded over CAN by the bootloader), but the debug build loaded via the ICE doesn't.
-
I've just fixed the SammyC21 debug build and committed the fix to github. The main change was in the .cproject file, and I had to do a clean and then a build to get the change included in the binary.
-
Works, Thanks a million @dc42, now on to calibration.