2016-04-21 12:12 PM
Hello,
I am trying a very simple task. I need to be able to update and read variables while the code is running, so I can adjust things like gains, or see values of counters, etc. without having to halt CPU execution. Is that possible with AC6? If so, I can't get it to work, could you please help me? I am using a Nucleo STM32F302.Thanks!2016-04-21 12:43 PM
This isn't posibble. Try google. real time view. On mcuoneclilse was topic about real time view but this is still based on breakpoints. But write was not possible. This take time (human reaction). Try by add some add some debbuging console, semihosting/rs232 etc.
2016-04-21 01:38 PM
Thanks, I will wait for the formal response from ST though. I know that it is kind of possible using Keil's IDE, and other processors like TI allow this with XDS100 which is also an onboard debugger, so I am hoping ST also has this capability.
2016-04-22 01:12 AM
>>I know that it is kind of possible using Keil's IDE.
Without trace Only real time read is posible. So Yes kind of.... >>so I am hoping ST also has this capability. Not ST but AC6 and to be more speciffic. GDB AND OPENOCD. >>I will wait for the formal response from ST though. For formal response ask your FAE. But I still suggest to to ask apropiate people, like AC6 forum. or OPENOCD mailing list.2016-04-22 12:10 PM
The question to ST is simple, how can I watch and change variables in real time (without having to halt execution) on an STM32?
This is critical for my application (motor control), and other vendors like NXP and TI offer that capability, so I need to choose the right vendor for my application.2016-04-22 01:09 PM
What you don't understand? If you want this feature chose
the appropriate IDE. This is not problem with MCU but with debuger. AC6 is based fuuly on opensource. NXP and other creater more property solution like GDB servers etc.
If is only for debugging whyappropriate console solution is wrong?
Did you try use STM Studio?2016-04-22 02:39 PM
I didn't know about STM Studio, that actually does what I need thanks! I just tried it and it worked flawlessly!