Search found 14463 matches

by Giovanni
Sat May 04, 2024 10:02 am
Forum: ChibiOS/RT
Topic: the fundemental questions about context switch mechanism in ChibiOS
Replies: 5
Views: 70

Re: the fundemental questions about context switch mechanism in ChibiOS

Hi,

The alternate port is under /os/common/ports/ARMv7-M-ALT, just replace the port path inclusion in the makefile.

Giovanni
by Giovanni
Sat May 04, 2024 5:50 am
Forum: ChibiOS/RT
Topic: the fundemental questions about context switch mechanism in ChibiOS
Replies: 5
Views: 70

Re: the fundemental questions about context switch mechanism in ChibiOS

__port_switch: push {r4, r5, r6, r7, r8, r9, r10, r11, lr} #if CORTEX_USE_FPU /* Saving FPU context.*/ vpush {s16-s31} #endif str sp, [r1, #CONTEXT_OFFSET] #if (CORTEX_SIMPLIFIED_PRIORITY == FALSE) && \ ((CORTEX_MODEL == 3) || (CORTEX_MODEL == 4)) /* Workaround for ARM errata 752419, only a...
by Giovanni
Fri May 03, 2024 8:46 am
Forum: ChibiOS/RT
Topic: the fundemental questions about context switch mechanism in ChibiOS
Replies: 5
Views: 70

Re: the fundemental questions about context switch mechanism in ChibiOS

Hi, In that port the context switch is performed synchronously and without entering an exception state, look at the asm implementation of port_switch(). It just stacks/unstacks all the EABI function-preserved registers and swap stacks. Note that there are 2 distinct ARMv7-M ports, the alternate port...
by Giovanni
Fri Apr 26, 2024 3:46 pm
Forum: Bug Reports
Topic: FDCAN with STM32H735 Topic is solved
Replies: 8
Views: 3037

Re: FDCAN with STM32H735 Topic is solved

Hi,

An implementation will be added soon, some testing will be appreciated.

Giovanni
by Giovanni
Mon Apr 22, 2024 8:17 pm
Forum: General Support
Topic: maple mini can bus function build fail
Replies: 1
Views: 205

Re: maple mini can bus function build fail

Hi, It is a silicon limitation, from the STM32F1xx reference manual: "In low, medium, high and XL-density devices, the USB and CAN share a dedicated 512-byte SRAM memory for data transmission and reception, and so they cannot be used concurrently (the shared RAM is accessed through CAN and USB ...
by Giovanni
Mon Apr 22, 2024 7:00 am
Forum: General Support
Topic: board.h generator
Replies: 2
Views: 113

Re: board.h generator

Hi,

The tool is embedded in ChibiStudio, see https://www.playembedded.org for guides.

Alternatively there is a script /os/hal/boards/genboard.sh that generates the files starting from an XML description, it requires installation of the FMPP utility.

Giovanni
by Giovanni
Fri Apr 12, 2024 12:01 pm
Forum: STM32 Support
Topic: spi without dma
Replies: 9
Views: 4653

Re: spi without dma

Hi,

The STM32F4 does not have a DMAMUX so peripherals use specific DMA channels, you need to check the Reference Manual and see if there are alternative channels that can be used in your case. There is a table with mapping in the DMA chapter.

Giovanni
by Giovanni
Thu Apr 11, 2024 9:22 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 897

Re: UDP receive missing messages

The PHY could require some extra initialization.

Giovanni
by Giovanni
Wed Apr 10, 2024 7:29 pm
Forum: Bug Reports
Topic: [HELP] STM32H750 USB HS ULPI Support,
Replies: 16
Views: 3220

Re: [HELP] STM32H750 USB HS ULPI Support,

Great thanks, moving this topic in "bug reports" so it is not lost.

Giovanni
by Giovanni
Wed Apr 03, 2024 7:12 pm
Forum: Bug Reports
Topic: [HELP] STM32H750 USB HS ULPI Support,
Replies: 16
Views: 3220

Re: [HELP] STM32H750 USB HS ULPI Support,

It could be a SW issue, ULPI has not extensively tested.

Giovanni

Go to advanced search