Search found 13593 matches

by Giovanni
Sat Jun 19, 2021 6:03 pm
Forum: STM32 Support
Topic: STM32F072 crashes... But wehre ?
Replies: 4
Views: 66

Re: STM32F072 crashes... But wehre ?

Hi,

You should check for stack overflows too.

Giovanni
by Giovanni
Thu Jun 17, 2021 4:11 pm
Forum: STM32 Support
Topic: STM32F072 crashes... But wehre ?
Replies: 4
Views: 66

Re: STM32F072 crashes... But wehre ?

Hi, On exception Cortex-M cores save a context structure on the PSP or MSP (depending if it was in process or exception context already), the PC is stored in that structure, you need to inspect memory starting at the xPSP value. The structure is like this: struct port_extctx { uint32_t r0; uint32_t ...
by Giovanni
Thu Jun 17, 2021 6:59 am
Forum: General Support
Topic: Mailbox from timer interrupt
Replies: 5
Views: 98

Re: Mailbox from timer interrupt

Is the OS initialized in your main() ?

Giovanni
by Giovanni
Wed Jun 16, 2021 9:58 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 1451

Re: How to abort USB transmit?

sabdulqadir wrote:Awesome, thanks.
Do I need to do anything on my end to help?


None unless you want to do that yourself.

Giovanni
by Giovanni
Wed Jun 16, 2021 9:26 pm
Forum: General Support
Topic: Mailbox from timer interrupt
Replies: 5
Views: 98

Re: Mailbox from timer interrupt

Hi, You need to add osalSysLockFromISR() and osalSysUnockFromISR() around I-class functions in ISRs. Enable the state checker in chconf.h, it detects all this kind of errors (by halting with a pointer to an error message). You may read about function classes in "kernel concepts" section of...
by Giovanni
Wed Jun 16, 2021 6:19 pm
Forum: General Support
Topic: PRE_MAKE_ALL_RULE_HOOK to generate board files Topic is solved
Replies: 16
Views: 134

Re: PRE_MAKE_ALL_RULE_HOOK to generate board files Topic is solved

Is that a generic example not related to boards right?

Giovanni
by Giovanni
Tue Jun 15, 2021 7:54 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 1451

Re: How to abort USB transmit?

Hi, There are the STM32 USBv1 and the AVR official drivers (which I don't even handle), some others are not in the official repository. This is the problem with changes that break the LLD API, it needs a way to fit on top of current, unmodified LLDs. LLDs could export something like USB_LLD_SUPPORTS...
by Giovanni
Tue Jun 15, 2021 7:25 pm
Forum: General Support
Topic: undefined ref to _exit even though syscalls.c is added to CSRC
Replies: 2
Views: 32

Re: undefined ref to _exit even though syscalls.c is added to CSRC

Hi,

In that version syscalls.c is not complete, you should update to 20.3.3 or 21.6.0.

Giovanni
by Giovanni
Tue Jun 15, 2021 7:05 pm
Forum: General Support
Topic: PRE_MAKE_ALL_RULE_HOOK to generate board files Topic is solved
Replies: 16
Views: 134

Re: PRE_MAKE_ALL_RULE_HOOK to generate board files Topic is solved

You could 1st check if board.mk exists then include it, this way make can proceed if the file is not yet/more there.

Giovanni
by Giovanni
Tue Jun 15, 2021 7:04 pm
Forum: User Projects
Topic: A text editor for ChbiOs
Replies: 2
Views: 82

Re: A text editor for ChbiOs

Hi,

So you are running the editor IN ChibiOS? that is a first for sure :-)

Giovanni

Go to advanced search