Skip to content

Fix issue when a LP have a .hex with several areas#150

Merged
dmorais-ledger merged 1 commit intodevelopfrom
fix_lp_64k
Jul 30, 2025
Merged

Fix issue when a LP have a .hex with several areas#150
dmorais-ledger merged 1 commit intodevelopfrom
fix_lp_64k

Conversation

@dmorais-ledger
Copy link
Contributor

When the .hex file have several areas, the offset is reset to 0 without taking in account startAddress value.
(this occur for exemple when a language pack is > 64 Kb, but not only)
As Language pack APDUs are not secure ins, we can't use the selectSegment(startAddress) feature.
=> We need to take in account startAddress with offset to compute the real offset.

@dmorais-ledger dmorais-ledger merged commit 6a39324 into develop Jul 30, 2025
17 checks passed
@dmorais-ledger dmorais-ledger deleted the fix_lp_64k branch July 30, 2025 14:05
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

Successfully merging this pull request may close these issues.

2 participants