当前位置:网站首页>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
边栏推荐
- Configuration file converted from Excel to Lua
- Codeless June event 2022 codeless Explorer conference will be held soon; AI enhanced codeless tool launched
- LeetCode_ String inversion_ Simple_ 557. Reverse word III in string
- 05. Security of blog project
- B站刘二大人-数据集及数据加载 Lecture 8
- Improve jpopup to realize dynamic control disable
- YYGH-11-定时统计
- Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用
- Deep learning -yolov5 introduction to actual combat click data set training
- Pix2pix: image to image conversion using conditional countermeasure networks
猜你喜欢

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

B站刘二大人-反向传播

C Advanced - data storage (Part 1)
![[JVM] [Chapter 17] [garbage collector]](/img/f4/e6ff0e3edccf23399ec12b7913749a.jpg)
[JVM] [Chapter 17] [garbage collector]

类和对象(一)this指针详解

初识数据库

Modbus protocol communication exception
![[mask requirements of OSPF and Isis in multi access network]](/img/7d/1ba80bb906caa9be4bef165ac26d2c.png)
[mask requirements of OSPF and Isis in multi access network]

PDK process library installation -csmc

ArcGIS应用基础4 专题图的制作
随机推荐
UCF(2022暑期团队赛一)
28io stream, byte output stream writes multiple bytes
PDK process library installation -csmc
05. 博客项目之安全
Closure, decorator
RustDesk 搭建一个自己的远程桌面中继服务器
Text classification still stays at Bert? The dual contrast learning framework is too strong
The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?
26file filter anonymous inner class and lambda optimization
Rustdesk builds its own remote desktop relay server
Vulhub vulnerability recurrence 73_ Webmin
无代码六月大事件|2022无代码探索者大会即将召开;AI增强型无代码工具推出...
Anti shake and throttling are easy to understand
Fluent implements a loadingbutton with loading animation
JS array list actual use summary
Problems encountered in installing mysql8 on MAC
How can large websites choose better virtual machine service providers?
ArcGIS应用基础4 专题图的制作
剑指 Offer II 039. 直方图最大矩形面积
Unity gets the width and height of Sprite