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.

TMS320F280049C: Debug fails when calling DEVICE_DELAY_US function

Part Number: TMS320F280049C
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hi,

I am doing my very first project using Sysconfig. I was really pleased with the whole process, very well done.

However, I am getting to the stage where I want to debug, and the program fails right away.

So far the program is ONLY a main with the code generated by Sysconfig and an empty interrupt : 

#include "board.h"
#include "driverlib.h"

void main(void)
{
	Board_init();

	for(;;)
	{

	}
}



int cmpt = 0;
interrupt void RunInt(void)
{
	cmpt++;
	Interrupt_clearACKGroup(INTERRUPT_ACK_GROUP1);
	return;
}

The program builds properly, but when I launch the debug, the program stops and I get the following error : 

No source available for "_system_post_cinit() at xxxxx"

Turns out the program fails in the Sysconfig generated code, during the function ADC_init(), and specifically when calling the function DEVICE_DELAY_US(500);

I am a bit lost there. I don't have a clue where the problem lies, as this is all in driverlib / sysconfig-generated code I have little to no control over.

Thank in advance for your help,

Adrien