Search found 260 matches

by alex31
Wed Apr 24, 2019 4:09 pm
Forum: Small Change Requests
Topic: add checks for DMA cache synchronisation function
Replies: 2
Views: 39

add checks for DMA cache synchronisation function

Hello, More than one, I have been trapped by calling cacheBufferInvalidate or cacheBufferFlush with an unproperly aligned address. Is it possible to add an chDbgAssert in these 2 functions, that check that the 5 LSB of address are clear ? The effects of passing unaligned address can go from subtle b...
by alex31
Wed Apr 24, 2019 3:52 pm
Forum: Bug Reports
Topic: patch : fix dma_mask for F76X F77X I2C4_RX
Replies: 5
Views: 137

Re: patch : fix dma_mask for F76X F77X I2C4_RX

Hello, I have made tests on the target, and as usual, CUBE is right over RM, so your patch resolves the problem, thanks. There is another one line patch needed to use I2C4 on chibios 18.2 (its already OK on 19.x and trunk) : diff --git a/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c b/os/hal/ports/STM3...
by alex31
Mon Apr 22, 2019 2:33 pm
Forum: Bug Reports
Topic: patch : fix dma_mask for F76X F77X I2C4_RX
Replies: 5
Views: 137

Re: patch : fix dma_mask for F76X F77X I2C4_RX

Do you confirm? if so then I also need to remove (1, 5) from I2C4 RX. Did not verify on the reference manual, but that's what is in CUBEMX files : from cubemx (5.1.0) files for stm32f[6/7]xx : I2C4_TX : [stream(1, 5) Channel 2] I2C4_TX : [stream(1, 6) Channel 8] I2C4_RX : [stream(1, 1) Channel 8] I...
by alex31
Sat Apr 20, 2019 3:43 pm
Forum: STM32 Support
Topic: Debug bus CAN on a STM32F767 Nucleo 144
Replies: 4
Views: 92

Re: Debug bus CAN on a STM32F767 Nucleo 144

It's probably due to the fact that you use the wrong macro, the one to use is PAL_MODE_ALTERNATE (exported, documented) , not PAL_STM32_ALTERNATE (private). The definition of the macros explain themselves the problem better than i can do :-) #define PAL_STM32_ALTERNATE(n) ((n) << 7U) /** * @brief Al...
by alex31
Thu Apr 18, 2019 10:49 pm
Forum: Bug Reports
Topic: patch : fix dma_mask for F76X F77X I2C4_RX
Replies: 5
Views: 137

patch : fix dma_mask for F76X F77X I2C4_RX

Hello, STM32_DMA_STREAM_ID_MSK(1, 5) is a missing for STM32_I2C4_TX_DMA_MSK in 18.2, 19.1 and trunk patch for 18.2 : [code] [diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index 124a57f92..ce9138395 100644 --- a/os/hal/ports/STM32/STM32F7xx...
by alex31
Wed Apr 10, 2019 10:27 am
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 335

Re: VMT interface between upper and lower level HAL

Hi, This is why I suggested it should be redesigned using C++ (a very very strict subset of). Giovanni I think this is a good idea, embedded C++ help to write code with more abstraction, more compile time checking, often with zero cost overhead, and sometime with negative overhead (in optimized mode...
by alex31
Fri Mar 29, 2019 2:50 pm
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 276

Re: USB on STM32L432 Driving Me NUTS!

Hi, Thanks Alexandre - my French is from schooldays so might just get by ;) However I wonder whether there's some issue with hardware. My BMP is a home-built v1 that I designed a PCB for myself and made a couple of modifications, rather than a 'real' one. That said, it has worked perfectly for me f...
by alex31
Thu Mar 28, 2019 1:13 pm
Forum: Development and Feedback
Topic: USB on STM32L432 Driving Me NUTS!
Replies: 10
Views: 276

Re: USB on STM32L432 Driving Me NUTS!

Hi, I can't debug it that way unfortunately - Blackmagic Probe no longer seems to work with the L4 series, tried loads of different versions and none of them work for me any more. Still great for the F0 and F3 but L4 is totally broken in terms of BMP. Hum, i have no problem using BMP with L4, I even...
by alex31
Fri Mar 15, 2019 10:58 am
Forum: Development and Feedback
Topic: [INFO] Moving repository to OSDN
Replies: 6
Views: 480

Re: [INFO] Moving repository to OSDN

Hello,

I made the switch, https://github.com/alex31/chibios_svn_mirror is now tracking OSDN repository.

Alexandre
by alex31
Wed Feb 20, 2019 4:27 pm
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 2059

Re: Internal Flash Driver

Hello,

Thanks for this flash driver for the L4

Is it possible for you to send a minimal example that use this library ?

Thanks
Alexandre

Go to advanced search