当前位置:网站首页>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
边栏推荐
- [leetcode] 18. Sum of four numbers
- 备忘一下jvxetable的各种数据集获取方法
- JS array list actual use summary
- [detailed explanation of Huawei machine test] statistics of shooting competition results
- Promotion hung up! The leader said it wasn't my poor skills
- Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用
- LeetCode_ String inversion_ Simple_ 557. Reverse word III in string
- Graduation design game mall
- B站刘二大人-Softmx分类器及MNIST实现-Lecture 9
- How to use PHP string query function
猜你喜欢
指针经典笔试题
Game push image / table /cv/nlp, multi-threaded start
移植InfoNES到STM32
[SQL Server fast track] - authentication and establishment and management of user accounts
自建DNS服务器,客户端打开网页慢,解决办法
Vulhub vulnerability recurrence 67_ Supervisor
Codeforces Round #804 (Div. 2) Editorial(A-B)
ArcGIS application foundation 4 thematic map making
02. 开发博客项目之数据存储
【torch】|torch. nn. utils. clip_ grad_ norm_
随机推荐
Rustdesk builds its own remote desktop relay server
指针经典笔试题
Huawei od computer test question 2
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
jdbc使用call调用存储过程报错
How to download GB files from Google cloud hard disk
Selective parameters in MATLAB functions
Fluent implements a loadingbutton with loading animation
JDBC calls the stored procedure with call and reports an error
Qt TCP 分包粘包的解决方法
数字经济破浪而来 ,LTD是权益独立的Web3.0网站?
YYGH-11-定时统计
Web Security (V) what is a session? Why do I need a session?
03. Login of development blog project
巨杉数据库再次亮相金交会,共建数字经济新时代
[SQL Server fast track] - authentication and establishment and management of user accounts
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
AUTOSAR从入门到精通番外篇(十)-嵌入式S19文件解析
Auto.js学习笔记17:基础监听事件和UI简单的点击事件操作
Anti shake and throttling are easy to understand