Search found 12 matches

by totalkrill
Tue Sep 27, 2016 3:47 pm
Forum: General Support
Topic: GDB plugin for chibios backtrace
Replies: 5
Views: 3997

Re: GDB plugin for chibios backtrace

How are you storing events in chibistudio then? GDB could be used to store events, but what would mean it has to invoke a breakpoint, then read out the event and store. This would be very slow i believe.

So what chibistudio is doing is basically decoding the trace buffer data only? If that is the ...
by totalkrill
Tue Sep 27, 2016 12:30 pm
Forum: General Support
Topic: GDB plugin for chibios backtrace
Replies: 5
Views: 3997

Re: GDB plugin for chibios backtrace

Yes, you can use backtrace (bt) and that will allow you to traverse the stack and check variables and stuff ( given a unwinder is present for the architecture). But from what i gather, there is a much more powerful version of this in chibistudio.

I guess this are things stored in the memory in ...
by totalkrill
Tue Sep 27, 2016 11:03 am
Forum: User Projects
Topic: [linux] Vim/NeoVim + chibios + YouCompleteMe + Ycm-Generator
Replies: 3
Views: 6663

Re: [linux] Vim/NeoVim + chibios + YouCompleteMe + Ycm-Generator

Now the development branch contains support for the arm-none-eabi compiler. Making it easier and faster to use. :) very recommended :)
by totalkrill
Tue Sep 27, 2016 11:01 am
Forum: General Support
Topic: GDB plugin for chibios backtrace
Replies: 5
Views: 3997

GDB plugin for chibios backtrace

Hello!

I was just wondering if anyone has implemented any chibios backtrace functions for gdb? Anything similar to the one in chibistudio?

- Kristoffer
by totalkrill
Wed Aug 17, 2016 10:39 am
Forum: User Projects
Topic: [linux] Vim/NeoVim + chibios + YouCompleteMe + Ycm-Generator
Replies: 3
Views: 6663

[linux] Vim/NeoVim + chibios + YouCompleteMe + Ycm-Generator

Hello!

I guess this might actually be a kind of a niche topic but still. I just wanted to show people that are using vim as an editor while doing projects with ChibiOs (Like I am) that there is a way to get the supernice autocompletion in vim and the ChibiOs project, from what I have seen it also ...
by totalkrill
Tue Aug 02, 2016 3:27 pm
Forum: STM32 Support
Topic: Using SysTick for other tasks when in tickless mode
Replies: 1
Views: 2227

Using SysTick for other tasks when in tickless mode

Hello!

As i understand it tickless mode is not using the systick_handler or timer. This means that i could potentially use the systick timer myself without having to worry about breaking something in ChibiOS. If that is correct i was planning on implementing a systick handler with the highest prio ...
by totalkrill
Tue Feb 23, 2016 4:11 pm
Forum: STM32 Support
Topic: Usb serial bursting data since move to 16.1
Replies: 2
Views: 2172

Re: Usb serial bursting data since move to 16.1

Now everything works as it did before again, thank you!
by totalkrill
Mon Feb 22, 2016 6:52 pm
Forum: STM32 Support
Topic: Usb serial bursting data since move to 16.1
Replies: 2
Views: 2172

Usb serial bursting data since move to 16.1

Hello!

I have been using the serialusbdriver on my stm32f4 in conjunction with the chprintf functionality. It has been working fine when i was on the stable_3.0 branch.

Now when i am using the same code, the usb is sending unevenly, it now only sends data over the USB in chunks of ~250 bytes ...
by totalkrill
Wed Oct 14, 2015 10:57 am
Forum: STM32 Support
Topic: chSyshalt with reason "chThdResumeI" from SPID1
Replies: 6
Views: 5845

Re: chSyshalt with reason "chThdResumeI" from SPID1

Yes the state checker is enabled.
by totalkrill
Wed Oct 14, 2015 10:16 am
Forum: STM32 Support
Topic: chSyshalt with reason "chThdResumeI" from SPID1
Replies: 6
Views: 5845

Re: chSyshalt with reason "chThdResumeI" from SPID1

I am not sure i follow, i am personally not using any chThdResumeI, to wake the thread i am only using the chEvtSignalI(trp,1) call. That is one of the reason the error is so confusing. The only mechanism i am using is the chEvtWaitAny, and the chEvtSignalI that i showed from the code. I am doing as ...