> On 29 Aug 2018, at 15:19, Martin Schreiber <[email protected]> wrote:
> 
> On Wednesday 29 August 2018 15:46:24 Geoffrey Barton via mseide-msegui-talk 
> wrote:
>>> Martin>
>> I have just found that, if I power down the external data connections to
>> the nucleo board, which are an i2s via DMA, the ’target->continue’ command
>> works every time. It appears as though perhaps the DMA is still running
>> when the debugger is supposed to be in control and there is some conflict.
>> 
>> Does the debugger reset and stop the processor running before it erases the
>> flash and downloads?
>> 
> I assume that st-util should do the necessary steps to flash the chip. Is 
> flashing with standalone st-util reliable?

I have not tried it since I have had the download problem, but I will.

> Does a manual 'Target'-'Reset' in 
> MSEide change the situation?

No, I think because, if indeed the Target-Reset triggers a hardware reset, the 
processor then immediately boots from flash and runs again.

I have now added a ‘while’ loop waiting for an external processor port to be 
pulled low just before the main code configures and enables the data i/o 
interrupts.

The ‘Target’->’continue’  downloads without error every time, the main code 
(and interrupts) then only run after you press a push button connected to the 
port.

Geoffrey
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to