EDIT:
I've changed the title due the recent events.
The issue is with the JLink, it makes the debugging really slow so I can't work properly.
Does anyone know how to setup the JLink properly for adquire a speed that allows to work with the HDK?
------ Original Message ------
Good morning.
There is one question that is still unclear to me.
Looking at the original code from FreeRTOS for the TMS570/RM48 ...
#define portENTER_CRITICAL() vPortEnterCritical() #define portEXIT_CRITICAL() vPortExitCritical() #define portDISABLE_INTERRUPTS() asm( " CPSID I" ) #define portENABLE_INTERRUPTS() asm( " CPSIE I" )
But then TI team decides to use the SWI Handler
#define portENTER_CRITICAL() vPortEnterCritical() #define portEXIT_CRITICAL() vPortExitCritical() #define portDISABLE_INTERRUPTS() vPortDisableInterrupts() #define portENABLE_INTERRUPTS() vPortEnableInterrupts()
Not saying its wrong but ... it's too slow, extreme slow.
I understand that this change was introduced for the privilege managemet.
Unfortunatly I use IAR so I can't use the CCS code provided from FreeRTOS.
Changing the way it Enables/Disables interrupts makes the code run faster, but I have no way to make the Enter/Exit Critical working with the FreeRTOS code...
Any suggestion? Any explanation so I can try to find new ways to solve this?
Thanks