Search found 14467 matches

by Giovanni
Sat Jun 08, 2024 10:41 am
Forum: General Support
Topic: Support for MSPM0G310x
Replies: 1
Views: 314

Re: Support for MSPM0G310x

Hi,

Porting the RTOS should be very easy, porting the HAL drivers is a lot of work.

Giovanni
by Giovanni
Tue Jun 04, 2024 11:52 am
Forum: General Support
Topic: Conceptual Question (USB Data Transfer)
Replies: 2
Views: 193

Re: Conceptual Question (USB Data Transfer)

Hi, Over a virtual com port you could send the data in chunks, 4kB for example, and add a CRC/checksum to each chunk. After each chunk you could send and ACK or a NACK back to the host in order to make it send the next chunk or re-send the previous one. Add timeouts and you will have a pretty solid ...
by Giovanni
Fri May 24, 2024 7:47 am
Forum: Bug Reports
Topic: FDCAN with STM32H735
Replies: 23
Views: 5610

Re: FDCAN with STM32H735

Aww, that hurts, it happened to me too in ancient times...

BTW, Edoardo does not show himself much here but he is one of the persons behind commercial ChibiOS, chief of the group doing ports and custom drivers for customers.

Giovanni
by Giovanni
Wed May 15, 2024 2:15 pm
Forum: Bug Reports
Topic: FDCAN with STM32H735
Replies: 23
Views: 5610

Re: FDCAN with STM32H735

Running the code with the state checker should catch this.

Giovanni
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: 1148

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: 1148

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: 1148

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
Replies: 23
Views: 5610

Re: FDCAN with STM32H735

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: 742

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: 220

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

Go to advanced search