Replies: 2 comments
-
I am missing the file target/stm32h7rx.cfg for debugging openocd if anyone could share it.
|
Beta Was this translation helpful? Give feedback.
-
I found a patch for openocd to include stm32h7rs chips: https://review.openocd.org/c/openocd/+/8086 My OpenOCD repo with patch: https://github.com/[Sambsc19/OpenOCD](https://github.com/Sambsc19/OpenOCD) I have attached. the openocd.cfg for the board and the project itself. using:
I have the following gdb logs:
I believe I should be using:
as it is stlink-v3 but then I have the error:
The stm32h7rs is not multicore like other h7's. I need to assert this somehow. Important to note the bootloader is at 0x08000000 and app is at 0x70000000. [dma_p2m2.zip](https://github.com/user-attachments |
Beta Was this translation helpful? Give feedback.
-
I am having an issue with adc dma on nucleo-h7s3l8. I am using zephyr branch:
https://github.com/Sambsc19/zephyr/tree/xip_h7s3_dma
and mcuboot branch:
https://github.com/Sambsc19/mcuboot/tree/xip_h7s3
I have updated working branch stm32h7rs.dtsi with changes from:
https://github.com/FRASTM/zephyr/tree/stm32h7rs_dma
I have verified the ADC working. I have verified MEM to MEM DMA working.
I have built 2 versions of app for testing peripheral to mem ADC DMA.
The app dma_p2m1 is not using CONFIG_ADC_STM32_DMA. the app dma_p2m2 is using CONFIG_ADC_STM32_DMA.
P2M1
from the logs it seems dest inc (80000). although with my block config i would expect (1)?
adc ISR is triggered
[00:00:00.502,000] adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
I Do not see DMA callback being triggered.
I manually trigger DMA IRQ with NVIC_SetPendingIRQ(GPDMA1_Channel0_IRQn); and see callback execute.
Logs from dma_p2m1:
P2M2
In the version I am using CONFIG_ADC_STM32_DMA. it seems dma adc config code is being executed correctly from adc_stm32.c but callback is not triggered.
Logs from dma_p2m2:
I have attached both projects. I am now going to setup debugging to do memory analysis.
dma_p2m1.zip
dma_p2m2.zip
Beta Was this translation helpful? Give feedback.
All reactions