当前位置:网站首页>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
边栏推荐
- HAC cluster modifying administrator user password
- 28io stream, byte output stream writes multiple bytes
- 大型网站如何选择比较好的云主机服务商?
- Promise summary
- Easy to understand IIC protocol explanation
- PDK工艺库安装-CSMC
- 03. Login of development blog project
- [detailed explanation of Huawei machine test] check whether there is a digital combination that meets the conditions
- ArcGIS application foundation 4 thematic map making
- Self built DNS server, the client opens the web page slowly, the solution
猜你喜欢

What impact will frequent job hopping have on your career?

【云原生】3.1 Kubernetes平台安装KubeSpher
![[Jiudu OJ 08] simple search x](/img/a7/12a00c5d1db2deb064ff5f2e83dc58.jpg)
[Jiudu OJ 08] simple search x

Deep learning -yolov5 introduction to actual combat click data set training

What preparations should be made for website server migration?

Vulhub vulnerability recurrence 72_ uWSGI

Notes, continuation, escape and other symbols

Migrate Infones to stm32

Summary of deep learning tuning tricks

网站进行服务器迁移前应做好哪些准备?
随机推荐
Steady, 35K, byte business data analysis post
移植InfoNES到STM32
03. Login of development blog project
Questions d'examen écrit classiques du pointeur
P2802 回家
UCF(暑期团队赛二)
What impact will frequent job hopping have on your career?
PDK process library installation -csmc
Selective parameters in MATLAB functions
[cloud native] 3.1 kubernetes platform installation kubespher
Codeless June event 2022 codeless Explorer conference will be held soon; AI enhanced codeless tool launched
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
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
Algorithm -- climbing stairs (kotlin)
指針經典筆試題
PDK工藝庫安裝-CSMC
备忘一下jvxetable的各种数据集获取方法
【torch】|torch. nn. utils. clip_ grad_ norm_
网站进行服务器迁移前应做好哪些准备?
[machine learning notes] univariate linear regression principle, formula and code implementation