当前位置:网站首页>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
边栏推荐
- 04. 项目博客之日志
- [imgui] unity MenuItem shortcut key
- What preparations should be made for website server migration?
- Remember an error in MySQL: the user specified as a definer ('mysql.infoschema '@' localhost ') does not exist
- 移植InfoNES到STM32
- SQLite queries the maximum value and returns the whole row of data
- 2022半年总结
- C AES encrypts strings
- [detailed explanation of Huawei machine test] statistics of shooting competition results
- Modbus protocol communication exception
猜你喜欢
![[leetcode] 18. Sum of four numbers](/img/06/c160b47d756290e5474e4c07e68648.png)
[leetcode] 18. Sum of four numbers

05. Security of blog project

Rustdesk builds its own remote desktop relay server

02. 开发博客项目之数据存储
![[Jiudu OJ 07] folding basket](/img/a7/e394f32cf7f02468988addad67674b.jpg)
[Jiudu OJ 07] folding basket

Deep learning -yolov5 introduction to actual combat click data set training
![[JVM] [Chapter 17] [garbage collector]](/img/f4/e6ff0e3edccf23399ec12b7913749a.jpg)
[JVM] [Chapter 17] [garbage collector]

Notes, continuation, escape and other symbols

Modbus protocol communication exception

清除浮动的方式
随机推荐
YYGH-11-定时统计
First acquaintance with CDN
【经验】UltralSO制作启动盘时报错:磁盘/映像容量太小
Redis消息队列
巨杉数据库再次亮相金交会,共建数字经济新时代
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
初识CDN
03. 开发博客项目之登录
指針經典筆試題
B站刘二大人-反向传播
算法-- 爬楼梯(Kotlin)
[SQL Server Express Way] - authentification et création et gestion de comptes utilisateurs
Check the useful photo lossless magnification software on Apple computer
02. Develop data storage of blog project
【SQL server速成之路】——身份验证及建立和管理用户账户
JDBC calls the stored procedure with call and reports an error
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
Steady, 35K, byte business data analysis post
SequoiaDB湖仓一体分布式数据库2022.6月刊
HAC集群修改管理员用户密码