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.

TMS320F28069: Memory issues: program gets stuck

Part Number: TMS320F28069

I have a very weird situation in which my main loop variable ('tick counter') gets stuck at a fixed number. This behavior disappears when I add a global empty dummy variable (declared and defined but not used). This points at a memory bug I thought, but no matter what I do with the linker file, the behavior does not dissappear. Also I checked for stack overflow by filling the stack with a fixed value, and it remains well within its bounds. This is my linker file:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
// TI File $Revision: /main/3 $
// Checkin $Date: March 3, 2011 13:45:53 $
//###########################################################################
//
// FILE: F28069.cmd
//
// TITLE: Linker Command File For F28069 Device
//
//###########################################################################
// $TI Release: F2806x Support Library v2.06.00.00 $
// $Release Date: Fri Feb 12 19:15:11 IST 2021 $
// $Copyright:
// Copyright (C) 2009-2021 Texas Instruments Incorporated - http://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.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I don't really have a clue where else to search for problems, anyone a suggestion?