Hello gentlemen,

I'm working on NOR flash driver for Cypress PSoC6 family of devices. PSoC6
is a dual-core device with CM0+ and CM4 cores.

This device requires special acquisition procedure prior to any Flash
operation. Acquisition procedure involves setting breakpoint at arbitrary
Flash address. Breakpoint can be cleared after acquisition procedure has
been completed.

The problem I am facing is that breakpoints-related API provided by OpenOCD
is not easily accessible from within Flash driver code.
I have to do ugly things like:
#include "../../target/breakpoints.h"

I would like to ask if it is acceptable to set breakpoints from Flash
driver code?
If not, what is the correct way/location to implement this "acquisition"
code?

Thanks in advance,
Bohdan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to