XMC program using external MCU

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
suno_285741
Level 3
Level 3
10 sign-ins 10 replies posted First solution authored
Hello

I need to make jig for mass production.
Jig required downloading program to XMC1302.

Is this SWD interface download protocol opened?

for example Cypress MCU have SWD interface download protocol. I attached document.
I need same kind of documents to make download jig.

Best regards,
sunghun noh
0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

Bootstrap loading is one of the ways to flash the hex file on to the device. Kindly check this appnote.

Meanwhile is there any particular reason you are trying to develop your own setup for mass production. Is something preventing from you from using the programmers available ?

Best Regards,
Vasanth

View solution in original post

0 Likes
4 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

Bootstrap loading is one of the ways to flash the hex file on to the device. Kindly check this appnote.

Meanwhile is there any particular reason you are trying to develop your own setup for mass production. Is something preventing from you from using the programmers available ?

Best Regards,
Vasanth
0 Likes
suno_285741
Level 3
Level 3
10 sign-ins 10 replies posted First solution authored
Vasanth wrote:
Hi,

Bootstrap loading is one of the ways to flash the hex file on to the device. Kindly check this appnote.

Meanwhile is there any particular reason you are trying to develop your own setup for mass production. Is something preventing from you from using the programmers available ?

Best Regards,
Vasanth


Is the standard M0 SWD interface available to implement download function?
If possible, Can I get the protocol datasheet and source example?
0 Likes
suno_285741
Level 3
Level 3
10 sign-ins 10 replies posted First solution authored
Is the standard M0 SWD interface available to implement download function?
If possible, Can I get the protocol datasheet and source example?
0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi,

There is no document similar to PSoC for XMC as of now. But as SWD is standard and much of the described software in the app note can be reused.
For specific handling of the device and the flash, you can use the openocd implementation as reference
XMC1000
XMC4000

Best Regards,
Vasanth
0 Likes