Open tinkerBOY-git opened 4 years ago
@tinkerBOY-git did you ever find a fix for this?
Bootloader works fine on ATSAMD21E15B but I cannot get BOSSA 1.7.0-mattairtech-3 to upload a binary file. It hangs/stuck on when it's time to "write".
/* If ARDUINO_EXTENDED_CAPABILITIES is defined and set to 1, 3 additional commands
* will become available which will speed up programming when using the Arduino
* IDE or the bossac tool standalone. Set to 0 with 4KB bootloaders.
* Size: ~904B. This is defined and set to 1 by default (except with 4KB).
*/
//For SAMC21E16
#define ARDUINO_EXTENDED_CAPABILITIES 0
I was able to get the write to work by turning off extended capabilities in the board_definitions_x.h
file which disables multipage fast write mode. I'm guessing the reduced RAM doesn't allow for this write mode? Everything works after building the bootloader with this option off only it take s~80sec vs ~5sec to upload the FW and it seem to not want to verify unless I separate out the command.
Bootloader works fine on ATSAMD21E15B but I cannot get BOSSA 1.7.0-mattairtech-3 to upload a binary file. It hangs/stuck on when it's time to "write".