Search found 6 matches

by luckystar95
Wed Dec 02, 2020 2:20 am
Forum: ChibiOS/RT
Topic: Problem with serial
Replies: 10
Views: 10803

Re: Problem with serial

Sorry,but I dont think so. last time in test I only used SD1, it worked fine. But when I only use SD6, after a few minutes, the program crashes.
by luckystar95
Tue Dec 01, 2020 2:06 pm
Forum: ChibiOS/RT
Topic: Problem with serial
Replies: 10
Views: 10803

Re: Problem with serial

Giovanni wrote:If memory is corrupted you can't see it.

Giovanni

Oh, how to verify stack overflow? Sorry because I'm a new member
by luckystar95
Tue Dec 01, 2020 1:58 pm
Forum: ChibiOS/RT
Topic: Problem with serial
Replies: 10
Views: 10803

Re: Problem with serial

Giovanni wrote:It is possible that you have an overflow corrupting memory so the plugin is unable to display info. Try using the plugin on a working demo first so you can verify if it works correctly.

Giovanni


I used debug view fine with breakpoint. But when it is crashed. How to see it.
by luckystar95
Tue Dec 01, 2020 10:59 am
Forum: ChibiOS/RT
Topic: Problem with serial
Replies: 10
Views: 10803

Re: Problem with serial

i'm using chibistudio 20.3.x. in debug mode, i can see Debug view. but when crashed, i cannot see it.
by luckystar95
Tue Dec 01, 2020 10:08 am
Forum: ChibiOS/RT
Topic: Problem with serial
Replies: 10
Views: 10803

Re: Problem with serial

i activated debug options. But i dont know way to verify stack overflow when crashed.

Image

Image
by luckystar95
Mon Nov 30, 2020 4:49 am
Forum: ChibiOS/RT
Topic: Problem with serial
Replies: 10
Views: 10803

Problem with serial

Hi,
I am a newbie. i'm using KIT STM32F4067VET6 to build a project with chibios. But i am stuck at usart in multi thread.
- use usart SD1 to send data, work fine.
- use usart SD1, SD6 to send same data. After a few minutes, program is crashed.

my code:

inline void send_to_radio1(uint8_t *_data ...