论坛元老
 
- 积分
- 3345
- 金钱
- 3345
- 注册时间
- 2013-5-28
- 在线时间
- 468 小时
|
发表于 2022-5-30 15:00:14
|
显示全部楼层
http://www.openedv.com/forum.php ... p;page=1#pid1165835
这是网址,我前面碰到的问题.一般都是这些强制类型转换出了问题,看着一样,但实际不一样.
- if (((*(__IO uint32_t*)ApplicationAddress) & 0x2FFE0000 ) == 0x20000000)
- { /* Jump to user application */
- JumpAddress = *(__IO uint32_t*) (ApplicationAddress + 4);
- Jump_To_Application = (pFunction) JumpAddress;
- /* Initialize user application's Stack Pointer */
- __set_MSP(*(__IO uint32_t*) ApplicationAddress);
- Jump_To_Application();
- }
复制代码 |
|