Running GPT-ADC example on STM32F746g-Discovery, I can't step into code while debugging

Discussions and support about ChibiStudio, the free development environment for ARM.
User avatar
Abusous2000
Posts: 14
Joined: Fri Jul 05, 2019 1:26 am
Has thanked: 6 times
Been thanked: 2 times

Running GPT-ADC example on STM32F746g-Discovery, I can't step into code while debugging

Postby Abusous2000 » Mon Apr 27, 2020 4:48 pm

Hi,
I have been chasing this issue for couple of days, and I found nothing about it. I hope you can help me.
When I run the GPT-ADC example on STM32F746g-Discovery (as-s without any change), I can't step-into code while debugging and when I do it always jumps to the DMA2 Stream 4 ISR. It should be noted that
- prior to starting the timer, the debugger works as expected, and this behavior happens only after the time is activated after calling gptStartContinuous(&GPTD4, 100); on line 176
- all is good if I port the example to STM32769i board.

I appreciate any feedback.
Many thank,
Abu al-Sous

PS. I am using the latest version of ChibiStudio & ChibiOS 20.x

User avatar
Giovanni
Site Admin
Posts: 13527
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 861 times
Been thanked: 743 times
Contact:

Re: Running GPT-ADC example on STM32F746g-Discovery, I can't step into code while debugging

Postby Giovanni » Mon Apr 27, 2020 5:12 pm

Hi,

Frankly no idea, it is possible that the device does not suspend DMA/TIMs during debug so it gets flooded with DMA IRQs.

You should check the manual.

Giovanni


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 2 guests