This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS570LS0432:使用 FreeRTOS 进行软件复位时出现数据中止异常

Guru**** 1969805 points
Other Parts Discussed in Thread: HALCOGEN
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1414227/tms570ls0432-data-abort-exception-on-software-reset-with-freertos

器件型号:TMS570LS0432
主题中讨论的其他器件:HALCOGEN

工具与软件:

大家好!

当使用 HalCoGen 生成的 FreeRTOS 端口尝试在我的项目中进行软件复位时、会遇到数据中止异常。

当 RTOS 未运行时、重置效果很好、但一旦涉及到 FreeRTOS、就会出现问题。

相关代码如下:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/** @file sys_main.c
* @brief Application main file
* @date 11-Dec-2018
* @version 04.07.01
*
* This file contains an empty main function,
* which can be used for the application.
*/
/*
* Copyright (C) 2009-2018 Texas Instruments Incorporated - www.ti.com
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

有没有人遇到过这种情况或对使用 FreeRTOS 时软件复位失败的原因有任何见解? 非常感谢您提出任何建议!

提前感谢您!

x 出现错误。请重试或与管理员联系。