MCUXpresso IDE v10.2.1 and SEGGER systemview

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso IDE v10.2.1 and SEGGER systemview

2,987 Views
jean-francoisau
NXP Employee
NXP Employee

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 …

  1. Installed systemview for windows
  2. Run MCUXpresso debug my project (it works as expected)
  3. Run systemview

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

Labels (1)
0 Kudos
4 Replies

2,283 Views
jean-francoisau
NXP Employee
NXP Employee

Hi Erich,

Yes this helps a lot, It works fine with amazon freetos too :smileyhappy:

JF

0 Kudos

2,283 Views
BlackNight
NXP Employee
NXP Employee

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... 

pastedImage_2.png

I have attached that project to this reply as well, just in case.

I hope this helps,

Erich

0 Kudos

2,283 Views
jean-francoisau
NXP Employee
NXP Employee

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

0 Kudos

2,283 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos