You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by "Simin Feng (CW)" <Si...@synaptics.com.INVALID> on 2025/02/17 08:48:28 UTC

Problem with running nuttx on imxrt1020

Hello,

I am attempting to runing nuttx on NXP imxrt1020 board.
I have downloaded the latest version from the https://nuttx.apache.org/
and follow the getting started steps:

1../tools/configure.sh imxrt1020-evk:nsh
2.make menuconfig
3.make


However, After I flashed the nuttx.hex with J-Link into the board and try get nsh info from lpuart COM there is only below dump info.
Could you please help check why the nuttx can not runing nsh normally on imxrt1020?

dump_assert_info: Current Version: NuttX  12.8.0 3bf704ad13 Feb 17 2025 15:21:34 arm
dump_assert_info: Assertion failed panic: at file: :0 task: Idle_Task process: Kernel 0x600031dd
up_dump_register: R0: 20201240 R1: 00000000 R2: 6001448c  R3: 00000007
up_dump_register: R4: 00000003 R5: 20200b80 R6: 20201240  FP: 6001448c
up_dump_register: R8: 00000000 SB: 20200c44 SL: 00000002 R11: 00000000
up_dump_register: IP: 00000000 SP: 20202c30 LR: 6000363b  PC: 6000363b
up_dump_register: xPSR: 60000003 BASEPRI: 00000080 CONTROL: 00000000
up_dump_register: EXC_RETURN: 00000000
dump_stacks: ERROR: Stack pointer is not within the stack
dump_stackinfo: User Stack:
dump_stackinfo:   base: 0
dump_stackinfo:   size: 00000000
stack_dump: 0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dump_tasks:    PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK          STACKBASE  STACKSIZE   COMMAND




Thank you.

Simin


Re: Problem with running nuttx on imxrt1020

Posted by mi...@bofc.pl.
On 2025-02-17 08:48:28, Simin Feng (CW) wrote:
 
> dump_assert_info: Assertion failed panic: at file: :0 task: Idle_Task process: Kernel 0x600031dd

Seems like you need to enable debug as there is file and line missing from log.

Enable debug symbols and more debug prints, also canaries for stack monitoring
and try to rerun - maybe some more useful information will be revealed.

-- 
.-----------------.-------------------.----------------------.-----------------.
| Michal Lyszczek | Embedded C, Linux |   Company Address    |  .-. opensource |
| +48 727 564 419 | Software Engineer | Akacjowa 10a; 55-330 |  oo|  supporter |
| https://bofc.pl `----.--------------: Brzezinka Sredzka PL | /`'\      &     |
| GPG FF1EBFE7E3A974B1 | Bits of Code | NIP:   813 349 58 78 |(\_;/) programer |
`----------------------^--------------^----------------------^-----------------'