MQX RTOS SETUP in Kinetis SDK using processor expert

cancel
Showing results for 
Search instead for 
Did you mean: 

MQX RTOS SETUP in Kinetis SDK using processor expert

312 Views
harshpatel
Contributor IV

Hello

 

  •        I am using Kinetis Design Studio 3.0.
  •        KSDK 1.2.0 is installed.
  •        MQX plug ins are also installed
  •         I am trying to run "Hello world" MQX rtos code in Kitetis for FRDM K22F board.
  •         i can create my own project and run it successfully without use of processor expert functionality....but..

  

now the problem is if i am trying to create new project using processor expert facility, i can build my code debug it but it will not work on Hardware.

 

i found following indication in console:

"

Reading all registers

Read 4 bytes @ address 0x00000410 (Data = 0x49124811)

Setting breakpoint @ address 0x00005750, Size = 2, BPHandle = 0x0001

Starting target CPU...

...Breakpoint reached @ address 0x00005750

Reading all registers

Removing breakpoint @ address 0x00005750, Size = 2

Read 4 bytes @ address 0x00005750 (Data = 0xF7FC4802)

Reading 64 bytes @ address 0x2000FFC0

Starting target CPU...

"

so please help me to solve this problem as fast as possible....

Labels (1)
0 Kudos
3 Replies

97 Views
harshpatel
Contributor IV

Hi IVA Dorazinova

Thank you for reply...

I am using J-link and device also found in Com PORT. I can build project, Debug it using J link but if i RUN the code i found following notifications in Console ..

"

Reading all registers

Read 4 bytes @ address 0x00000410 (Data = 0x49124811)

Setting breakpoint @ address 0x00005750, Size = 2, BPHandle = 0x0001

Starting target CPU...

...Breakpoint reached @ address 0x00005750

Reading all registers

Removing breakpoint @ address 0x00005750, Size = 2

Read 4 bytes @ address 0x00005750 (Data = 0xF7FC4802)

Reading 64 bytes @ address 0x2000FFC0

Starting target CPU...

"

and than code will not further execute....

so what changes required?

0 Kudos

97 Views
ivadorazinova
NXP Employee
NXP Employee

Hello Harsh Patel,

please, do you have the same issue as Unable to Debug after KDS Update​ and Unable to Debug after KDS Update​ ?

Thank you for your feedback!

Iva

0 Kudos

97 Views
ivadorazinova
NXP Employee
NXP Employee

Hello Harsh Patel,

please, what do you use for debugger?

If OpenSDA, please load J-Link and try it again.

You can follow these steps:

Segger J-Link Firmware for OpenSDAv2 | MCU on Eclipse

For loading J-Link do not forget to do:

1. Unplug the USB cable

2. Press and hold the Reset button.

3. Plug in a USB cable from a USB Host to the OpenSDAv2 USB port.

4. Release the RESET/Bootloader button.

5. A removable drive will be visible in the host file system with a volume label of BOOTLOADER

I hope this helps,

Iva

0 Kudos