OpenOCD Working Area

Hi,

I’m wondering if the working_area has any effect on normal debugging operation. As far as I can tell it is used only for Flash programming and block memory writes.

Can I specify the entire contents of the microcontroller RAM (20k on STM32) for Flash programming without affecting normal debugging operation ?

Thanks

Dave

Normally you would only use the working area to program the device.

This would be done at startup and when finished openocd will release the buffer. So this will have no impact on your target.

Normally you just allocate the full buffer for openocd.

FYI: The stm32 flash driver only uses a 8k buffer anyway.

There are very few instances where you would want to backup the buffer but this can be done using the backup option in the config file.

Cheers

Spen