We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/cisen/sourcecode-tockloader-00
tbf的安装内存是如何确定的?
tockloader\tab.py
每次安装app都需要重装一次系统?
# boards/nordic/nrf52dk/chip_layout.ld /* Memory Space Definitions, 512K flash, 64K ram */ MEMORY { rom (rx) : ORIGIN = 0x00000000, LENGTH = 192K prog (rx) : ORIGIN = 0x00030000, LENGTH = 320K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K } MPU_MIN_ALIGN = 8K;
openocd flash的address是如何计算的?
tockloader\board_interface.py
get_apps_start_address
'apps_start_address': 0x20430000,
所有app flash进去的地址都是30000?
╔═══════════╤══════════════════════════════════════════╗ ║ Address │ Region Name Used | Allocated (bytes) ║ ╚0x20006000═╪══════════════════════════════════════════╝ │ ▼ Grant 948 | 948 0x20005C4C ┼─────────────────────────────────────────── │ Unused 0x200049F0 ┼─────────────────────────────────────────── │ ▲ Heap 0 | 4700 S 0x200049F0 ┼─────────────────────────────────────────── R │ Data 496 | 496 A 0x20004800 ┼─────────────────────────────────────────── M │ ▼ Stack 72 | 2048 0x200047B8 ┼─────────────────────────────────────────── │ Unused 0x20004000 ┴─────────────────────────────────────────── ..... 0x00030400 ┬─────────────────────────────────────────── F │ App Flash 976 L 0x00030030 ┼─────────────────────────────────────────── A │ Protected 48 S 0x00030000 ┴─────────────────────────────────────────── H
/* Memory Spaces Definitions, 448K flash, 64K ram */ /* Bootloader is at address 0x00000000 */ MEMORY { rom (rx) : ORIGIN = 0x00010000, LENGTH = 0x00020000 prog (rx) : ORIGIN = 0x00030000, LENGTH = 0x00040000 ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00020000 } MPU_MIN_ALIGN = 8K;
多个app是如何flash的?
_reshuffle_apps
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/cisen/sourcecode-tockloader-00
问答
tbf的安装内存是如何确定的?
tockloader\tab.py
的extract_app函数是解析tbf文件的入口每次安装app都需要重装一次系统?
openocd flash的address是如何计算的?
tockloader\board_interface.py
的get_apps_start_address
函数,获取tbf的appaddr字段,默认地址是0x30000tockloader\board_interface.py
的'apps_start_address': 0x20430000,
配置所有app flash进去的地址都是30000?
Flash
RAM
多个app是如何flash的?
_reshuffle_apps
函数,如果已经安装到板子上的,它还会从板子上重新读取bin数据,然后重新烧录The text was updated successfully, but these errors were encountered: