How to implement to write firmware by JTAG within CM3 design kit?

  • Dear all,  

I believe that you know such as STM32F103 cpu series support firmware program function by using JTAG with JTAG debugger of keil MDK.

So I want to know does cortexm3 design kit include such as  JTAG firmware program function blocks? 

What am I supposed to do to implement auch as  JTAG firmware program function blocks?

I want to program(write the firmware code)  to CM3  with JTAG debugger of keil MDK. Is this possible ?

Parents
  • Do you mean flash programming for embedded flash?

    Flash memory programming hardware is process vendor specific. So first of all, you need to know which semiconductor foundry you are using, and what type of embedded flash are available. You can then check what type of embedded flash controller IP is available depends on the flash type you selected. The flash controller IP is not inside CM3 DesignStart (due to NDA need for foundry partners).

    Once you have the details of the flash controller, then you might need to create flash programming code. This is the part that relate to JTAG. The debugger in Keil MDK download the flash erase and programming code, as well as blocks of program image to SRAM. The programming code is executed and erase the flash, and then the code is executed again (with different parameters) to program the flash, normally page by page. Optionally the flash content is verified after the complete image is programmed.

    So the first step to to check what embedded flash technology you are going to use.

    regards,

    Joseph

Reply
  • Do you mean flash programming for embedded flash?

    Flash memory programming hardware is process vendor specific. So first of all, you need to know which semiconductor foundry you are using, and what type of embedded flash are available. You can then check what type of embedded flash controller IP is available depends on the flash type you selected. The flash controller IP is not inside CM3 DesignStart (due to NDA need for foundry partners).

    Once you have the details of the flash controller, then you might need to create flash programming code. This is the part that relate to JTAG. The debugger in Keil MDK download the flash erase and programming code, as well as blocks of program image to SRAM. The programming code is executed and erase the flash, and then the code is executed again (with different parameters) to program the flash, normally page by page. Optionally the flash content is verified after the complete image is programmed.

    So the first step to to check what embedded flash technology you are going to use.

    regards,

    Joseph

Children
More questions in this forum