Skip to content

Fix broken bossac serial operations #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootloaders/zero/sam_ba_monitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef _MONITOR_SAM_BA_H_
#define _MONITOR_SAM_BA_H_

#define SAM_BA_VERSION "2.0"
#define SAM_BA_VERSION "2.1"

/* Enable the interfaces to save code size */
#define SAM_BA_BOTH_INTERFACES 0
Expand Down
4 changes: 2 additions & 2 deletions bootloaders/zero/sam_ba_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ void serial_open(void)
/* Wait for synchronization */
}

/* Baud rate 115200 - clock 8MHz -> BAUD value-50436 */
uart_basic_init(BOOT_USART_MODULE, 50436, BOOT_USART_PAD_SETTINGS);
/* Baud rate 115200 - clock 48MHz -> BAUD value-50436 */
uart_basic_init(BOOT_USART_MODULE, 63020, BOOT_USART_PAD_SETTINGS);

//Initialize flag
b_sharp_received = false;
Expand Down
Binary file modified bootloaders/zero/samd21_sam_ba.bin
100644 → 100755
Binary file not shown.
Loading