Skip to content

[Bug] Couldn't run board sample application #10179

Open
@glory-man

Description

@glory-man

RT-Thread Version

5.2.0

Hardware Type/Architectures

GD32450Z-EVAL

Develop Toolchain

GCC

Describe the bug

Build & start debug sample located @ bsp\gd32\arm\gd32450z-eval
Appl crashed (hard_fault) on

rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END);

call in board\board.c

Image
next step in debugger went into hard_fault_handler
Image

To prevent this crash I decresed 2 times available memory (in board.h).

#define GD32_SRAM_SIZE         128

Ok. Program started successfully - Led1 blink. I want to see console output. Connect to COM0 (J1) via RS232-USB converter, open serial-port with putty

Image
but nothing happens. There is no answer from the board.

What should I do to test rtthread-sample on my board ? With GD32_SRAM_SIZE = 256. Or maybe need some fix on sample?

Other additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions