eeprom_stub - CDX replacement stub to allow interacting with EEPROM over UART#27
Open
m-kozlowski wants to merge 2 commits intoAsmageddon:masterfrom
Open
eeprom_stub - CDX replacement stub to allow interacting with EEPROM over UART#27m-kozlowski wants to merge 2 commits intoAsmageddon:masterfrom
m-kozlowski wants to merge 2 commits intoAsmageddon:masterfrom
Conversation
…ver UART Standalone firmware replacing the CDX slot (+host side: eeprom_tool.py). Provides binary framed protocol over USART3 for EEPROM read/write/erase, plus native bootloader Q/R frame compatibility for resmed_flash.py - Basic Read/Write/Erase operations (full/partial) - FAT12 filesystem access (requires pyfatfs) - Header checksum fixing - auto baud negotiation
Author
|
Author
|
While it's possible to flash it with openocd, the preferred and best tested method is the flasher from #22
|
Add spin delays before and after the WREN transaction in eeprom_wren() to guarantee both CS gaps: wait_ready->WREN and WREN->WRITE. Fixes #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standalone firmware replacing the CDX slot (+host side: eeprom_tool.py).
Provides binary framed protocol over USART3 for EEPROM read/write/erase,
plus native bootloader Q/R frame compatibility for resmed_flash.py
Designed to be used as a CDX image, so it can be flashed using the original bootloader.
It preserves the original memory layout and basic compatibility with the ResMed protocol, so reverting to standard firmware can also be done conveniently using the UART flasher.