没有合适的资源?快使用搜索试试~ 我知道了~
Rl78 bootloader vector table application notes.pdf

温馨提示


试读
3页
此文针对是对bootloader有一定理解,汽车应用行业,有一定的汇编基础,图文并茂,深入浅出,有助于关键点理解!
资源推荐
资源详情
资源评论







Key words: MCU RL78, F13, 10BAG, 128K Bytes Flash
1.
In linker file: split the code space with beginning of app address: 0x8000 - 0x17fff, bootloader space is in range
0x0 - 0x7fff
2.
Create the application and bootlader in two separate projects, and build them individually.
3.
Juadgement condition: two led will iluminate in turn if system works normally.
4.
Step 1, only application project hex file built and downloaded into MCU, do some operations to indirectly
check if the system works. Test result is passed.
a.
Step 2, assuming after trim down the bootloader space 0x0-0x7fff, the system can still work well, the
condition for that assumption is that the startup routine has been switched to application space as well as
entire vector table space, so that after mcu reset, the system can directly jump into the beginning of
application space 0x8000 in expectation. Test result is failed, the system is crashed.
b.
Do assumption and experiment:
5.
There must be factors in bootloader space 0x0-0x7fff to relates jumping into app entry, in other words,
there must be a path from bootloader space (vector table) to app vector table.
a.
Conclusion from the above experiment:
6.
The reset vector table and other interrupt vector table entries shall aways be fixed at the beginning of
the flash memory, it is hardware level and inherent design and can't be changed, in this app note, the
default vector table placed in range of 0x0-0x7fff, this default vector table always be in bootloader
space.
i.
Do something setting on interrupt vector offset/reallocate register to make each interrupt response
having an offset address, because the application program has been forcedly moved at a new address
0x8000.
ii.
When application part(hex image) is resided in memory, if there is an interrupt event occurs, in
principle, the interrupt response route shall be like: firstly PC pointer enter reserved vector table
0x0-0x7fff, fetch the value of vector table( address ininformation) and plus the offset value, let's call it
modified address, the modified address is the actual address allocated in app space.
iii.
Background and previous expierence on the vector table handing for bootloader design,
a.
What's the factors in bootloader? How does it work?
7.
After much investigation on datasheet, renesas application notes, and other possible relevant technical
manu, I didn't find any valuable information that I want to get until I find these clues:
a.
Let's go back to rl78 analysis, continue…
8.
Sherman
Li/2020/7/30
Sherman
Li/2020/7/30
Rl78 bootloader vector table application notes
Friday, July 31, 2020
2:50 PM
Knowledge library Page 1
资源评论

- james_zhan2023-02-26RL78太多的掩膜代码了,又没有具体功能说明,还是要感谢。
- 通透世界2022-01-26就3页纸。。还没满呢

yes007li
- 粉丝: 7
- 资源: 3
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 小型GPT模型:用300行PyTorch代码实现的小型GPT语言模型库
- ChartGPT工具:个增强视觉语言理解的工具,基于先进的大型语言模型
- 基于Spring、SpringMVC、MyBatis的在线云音乐网站,java项目 eclipse和idea都能打开运行 推
- qt项目:简单字处理软件
- 基于Prism7+Prism Unity RestSharp字体图标 动态主题文件xaml加载,搭建的一个WPF框架
- 双语对话模型:双语对话语言模型,一个基于大型预训练语言模型 GPT 的对话生成模型,用 GPT-2 进行微调,支持中文和英文
- word下相关操作的图标
- 基于51单片机的矿用瓦斯检测报警器-硬件设计本科毕业设计论文
- 2016腾讯移动游戏质量标准
- postgresql一直使用的稳定版
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
