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

Bug uploading TI-TXT to FRxx devices that use upper FRAM (20-bit addresses) #2

Open
wygonski opened this issue Sep 30, 2021 · 2 comments

Comments

@wygonski
Copy link

Attached a TI-TXT file (MSP430FR59xx) that fails to be parsed correctly because the last block is at address above 64k boundary.
Failure is in ParseTiTxt() where the addresses array elements are parsed from the TI-TXT file. In the attached file, the 20-bit address of the 4th block @123EE is not converted correctly.
firmware.txt

@wygonski
Copy link
Author

wygonski commented Oct 1, 2021

20-bit addresses in TI-TXT file is working after this change in FwTools_priv.cs:

                string regex_header = @"(?:[@])?[0-9a-fA-F]{4,5}";
                // was string regex_header = @"(?:[@])?[0-9a-fA-F]{4}";

@wygonski wygonski closed this as completed Oct 1, 2021
@wygonski
Copy link
Author

wygonski commented Oct 1, 2021

Sorry, button press error closed the issue. Reopened because the the issue and suggested fix is still valid.

@wygonski wygonski reopened this Oct 1, 2021
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