Qmk_firmware: EEPROM support for Massdrop arm_atsam (CTRL & ALT)

Created on 13 Dec 2018  路  4Comments  路  Source: qmk/qmk_firmware

Per the datasheet for ATSAMD51J18A the MCU has a SmartEEPROM function that allows up to 64K of EEPROM storage.

I am working on implementing this in tmk_core/common/arm_atsam/eeprom.c as that file is already set up to handle eeprom simulation in memory and it should be fairly simple to configure SmartEEPROM.

discussion help wanted question

Most helpful comment

Well I'm sorry I missed this issue, but my implementation is actually implementing SmartEEPROM support, with a fallback to original functionality if SmartEEPROM is not enabled on the chip.
Enabling SmartEEPROM can be done with a change that I've made to mdloader, referenced in #6068
So for sure I believe it exactly solves this issue.

All 4 comments

Well, check out the STM stuff too. I think that has some of the same limitations/issues that ATSAM has, so it would be a good place to look.

I've been watching this ticket, can I offer to help in some way?

There is a PR that adds persistent storage. So it maybe worth checking that out.

Well I'm sorry I missed this issue, but my implementation is actually implementing SmartEEPROM support, with a fallback to original functionality if SmartEEPROM is not enabled on the chip.
Enabling SmartEEPROM can be done with a change that I've made to mdloader, referenced in #6068
So for sure I believe it exactly solves this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jetpacktuxedo picture jetpacktuxedo  路  3Comments

henrebotha picture henrebotha  路  4Comments

fredizzimo picture fredizzimo  路  4Comments

BenRoe picture BenRoe  路  3Comments

ghost picture ghost  路  3Comments