Hello,
I would like to use SEGGER systemview 2.5.2b with MCUXpresso, SDK_2.x_FRDM-K64F (2.4.2) and a basic freertos project for freedom K64 board.
I followed the SEGGER SystemView UserGuide UM08027 but didn’t succeed …
Start recording (choose USB, target= MK64FN1M0XXX12,interface: SWD 1429Khz, RTT Auto)
I receive the messages:
First popup: CPU_REG_Set(): Register 0 is already marked as valid
Second popup: Failed to start recording
RTT Control Block not found ☹
Could you help?
JF
Hi Erich,
Yes this helps a lot, It works fine with amazon freetos too :smileyhappy:
JF
Hi JF,
it sounds like you have the RTT part not configured correctly if that RTT block is not found, maybe you did not call the RTT init routine? You might try out (or look at) the project I have for MCUXpresso IDE 10.2.1 and SEGGER SystemView V2.52b with the latest FreeRTOS V10.1.0 on GitHub.
You can find it here: mcuoneclipse/Examples/MCUXpresso/FRDM-K64F/FRDM-K64F_McuOnEclipseLib at master · ErichStyger/mcuonec...
I have attached that project to this reply as well, just in case.
I hope this helps,
Erich
Hi Erich,
It works fine with your McuOnEclipseLib library, thanks a lot.
But for the project RapidIoT I use the sdk_2.4.0_FRDM-K64F and amazon-freertos is part of this sdk...
then I suppose there is a way to use amazon-freertos and systemview, isn't it?
Is-it difficult to make it works?
Regards
JF
Hi JF,
yes, it works the same way for any kind of FreeRTOS. Actually that project I have posted is the Amazon FreeRTOS too. The RTOS is the same, only that Amazon has a special version with extra communication drivers, but this does not change the technology.
I hope this helps,
Erich