- 博客(5)
- 收藏
- 关注
原创 [学习笔记] KEIL 下保护部分代码方法。
Apollo的OTP可以设置为指定flash地址区域为XO模式(executed-only) mode。 可以防止代码被copy。 比如指定某函数sort()放在 0x60000地址,然后把0x60000读保护。步骤一。 指定Sort() 为execute -only第二步。 在项目 target-->linker 总取消 (Use memory layout
2016-02-24 23:32:22
2794
原创 [学习笔记]将bootloader 和APP 合并成一个bin file升级演示
4.1 选定bootloader bin file :4-2. 选定 app bin file (注意APP bin file 的偏移量!)4-3 使用bin file 合并工具生成最终的bin file, APP 偏移量默认0x4000 4-4 我们得到合并后的bin file4-5 演示:4-5-1. 连接两块Apollo EVK并上电,一块是h
2016-02-15 15:38:19
4717
原创 [学习笔记]Apollo Flash Block
PAGE SIZE2048HEXSTARTENDBLOCK0020470800204840951100040966143218006
2016-02-15 15:37:05
594
原创 [学习笔记] KEIL 如何把data,code放到指定地址
2.1 函数: 函数放到 0x20000地址intsqr(int n1) __attribute__((section(".ARM.__at_0x20000")));intsqr(int n1){ return n1*n1;}2.2 数据 : 数组放到0x4000地址const uint8_tg_pui8BootImage[16] __attribute_
2016-02-15 15:34:29
6021
原创 [学习笔记] KEIL 如何快速更改工程名字
1.1 更改四个文件名字 1.2 更改makefile 1.3 更改.uvprojectx文件里面的sct 文件名 Done!
2016-02-15 15:32:51
2728
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人