Skip to content
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

keyboard always stop at bootloader #16

Open
fkpwolf opened this issue Mar 15, 2022 · 0 comments
Open

keyboard always stop at bootloader #16

fkpwolf opened this issue Mar 15, 2022 · 0 comments

Comments

@fkpwolf
Copy link

fkpwolf commented Mar 15, 2022

I created a bootloader for my keyboard: DAGK 6064. It works and after reboot the keyboard stops at bootloader. But after I flashed a customized qmk firmware at offset 0x200, the keyboard still stoped at bootloader.

I have updated SN32F240B.ld with content:

flash0 (rx) : org = 0x00000200, len = 64k - 0x200

Before I changed size of my firmware, it works well (of course, I flashed it at 0x000 offset).

My code changes for the new keyboard

#elif defined(TARGET_DAGK_64PRO)  //SN32F248B
#include "SN32F240B.h"
#define SN32_BOOTLOADER_ADDRESS 0x1FFF0301
#define BOOT0_GPIO SN_GPIO2
#define BOOT0_PIN 2
/* Escape */
#define BLKEY_INPUT_GPIO SN_GPIO3
#define BLKEY_INPUT_PIN 11
#define BLKEY_OUTPUT_GPIO SN_GPIO0
#define BLKEY_OUTPUT_PIN 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant