当前位置:网站首页>AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis
AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis
2022-07-06 05:40:00 【Gatulo book】
01 Writing data
There are many ways :
add(data, overwrite=False)add_binary(data, address=0, overwrite=False)add_binary_file(filename, address=0, overwrite=False)add_file(filename, overwrite=False)add_ihex(records, overwrite=False)add_ihex_file(filename, overwrite=False)add_srec(records, overwrite=False)add_srec_file(filename, overwrite=False)add_ti_txt(lines, overwrite=False)add_ti_txt_file(filename, overwrite=False)
It's also easy to use , You can find its user manual by yourself , Here are a few to explain .
import bincopy bf=bincopy.BinFile() bf.add_binary("embedded_sw".encode(),0x00)
Then the content is
00000000 65 6d 62 65 64 64 65 64 5f 73 77 |embedded_sw |
hypothesis , I have another one bin
file is_great.bin
, I want to load into this bf Come inside , It can be like this :
bf.add_binary_file("is_great.bin",0x10)
You can get results like this :
00000000 65 6d 62 65 64 64 65 64
边栏推荐
- js Array 列表 实战使用总结
- 59. Spiral matrix
- 进程和线程
- Zoom and pan image in Photoshop 2022
- B站刘二大人-数据集及数据加载 Lecture 8
- [SQL Server fast track] - authentication and establishment and management of user accounts
- Promotion hung up! The leader said it wasn't my poor skills
- Promotion hung up! The leader said it wasn't my poor skills
- 自建DNS服务器,客户端打开网页慢,解决办法
- MySQL advanced learning summary 9: create index, delete index, descending index, and hide index
猜你喜欢
What preparations should be made for website server migration?
Codeless June event 2022 codeless Explorer conference will be held soon; AI enhanced codeless tool launched
Cuda11.1 online installation
[JVM] [Chapter 17] [garbage collector]
Analysis of grammar elements in turtle Library
【torch】|torch. nn. utils. clip_ grad_ norm_
ArcGIS应用基础4 专题图的制作
Safe mode on Windows
应用安全系列之三十七:日志注入
YYGH-11-定时统计
随机推荐
应用安全系列之三十七:日志注入
嵌入式面试题(四、常见算法)
初识CDN
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Vulhub vulnerability recurrence 67_ Supervisor
移植InfoNES到STM32
[force buckle]43 String multiplication
自建DNS服务器,客户端打开网页慢,解决办法
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
[Jiudu OJ 08] simple search x
【华为机试真题详解】统计射击比赛成绩
嵌入式面试题(一:进程与线程)
[experience] install Visio on win11
Codeforces Round #804 (Div. 2) Editorial(A-B)
[machine learning notes] univariate linear regression principle, formula and code implementation
What impact will frequent job hopping have on your career?
Codeforces Round #804 (Div. 2) Editorial(A-B)
03. 开发博客项目之登录
ArcGIS应用基础4 专题图的制作
59. Spiral matrix