当前位置:网站首页>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
边栏推荐
- B站刘二大人-多元逻辑回归 Lecture 7
- Unity gets the width and height of Sprite
- 自建DNS服务器,客户端打开网页慢,解决办法
- 【经验】win11上安装visio
- [imgui] unity MenuItem shortcut key
- [JVM] [Chapter 17] [garbage collector]
- [experience] install Visio on win11
- [QNX Hypervisor 2.2用户手册]6.3.3 使用共享内存(shmem)虚拟设备
- 【云原生】3.1 Kubernetes平台安装KubeSpher
- Vulhub vulnerability recurrence 68_ ThinkPHP
猜你喜欢
B站刘二大人-线性回归及梯度下降
03. Login of development blog project
Questions d'examen écrit classiques du pointeur
02. Develop data storage of blog project
数字经济破浪而来 ,LTD是权益独立的Web3.0网站?
Safe mode on Windows
29io stream, byte output stream continue write line feed
Summary of deep learning tuning tricks
Zoom and pan image in Photoshop 2022
ARTS Week 25
随机推荐
UCF (summer team competition II)
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
[experience] when ultralso makes a startup disk, there is an error: the disk / image capacity is too small
Pix2pix: image to image conversion using conditional countermeasure networks
Redis message queue
Promise summary
Remember an error in MySQL: the user specified as a definer ('mysql.infoschema '@' localhost ') does not exist
Summary of deep learning tuning tricks
Huawei od computer test question 2
备忘一下jvxetable的各种数据集获取方法
[QNX Hypervisor 2.2用户手册]6.3.3 使用共享内存(shmem)虚拟设备
ArcGIS应用基础4 专题图的制作
B站刘二大人-数据集及数据加载 Lecture 8
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
How to use PHP string query function
js Array 列表 实战使用总结
Safe mode on Windows
PDK工艺库安装-CSMC
Analysis of grammar elements in turtle Library
Jvxetable用slot植入j-popup