This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Flash download routine for Custom SOC with Cortex M0

Our team has developed a custom SoC with embedded flash blocks and a Cortex M0. Given that the code flash download routine will have to be customized, I am looking for some help and information on how to get started. The SoC as a 2 wire SWD interface built-in.

We are planning to use the Keil IDE and a Jlink debugger hardware. I am relatively new in this and might not be using the right technical terms, so do correct me if some of the questions are ambiguous.

Questions I have are 

1.  Given that most of the IDEs and Flash Programmers only define routines for known mainstream products; how do I get my compiled code into my custom Soc through the SWD interface?

2. Is there a platform where we can write SWD commands and include it into Keil as part of flash download routine?

3. Will code debugging / breakpoint still work with a custom routine?

4. Otherwise, do I need to run a separate Flash Programmer software ?

Thank you in advance for all inputs.

0