Skip to content

MCU Flashing using flash_program #221

@filipovyfusky

Description

@filipovyfusky

Hi everyone,

I'm currently experimenting with the excellent pyxcp library and wondering if anyone here has successfully used it for flashing an MCU via XCP.

My setup:

XCP Slave: Vector VX1000 + 1544B POD

Target MCU: Infineon TriCore TC367

In my usual workflow, I use CANape to load the flash kernel into RAM and then perform the flashing procedure on the TC367. I'm trying to replicate this process purely through Python using pyxcp — starting from loading the kernel via XCP (XCP over Ethernet), and eventually executing a custom flashing sequence.

Has anyone done this before or knows:

  • How to upload a binary (e.g., flash kernel) to RAM via pyxcp?
  • How to trigger execution (via PROGRAM_START or similar)?
  • Any caveats specific to VX1000 or TriCore I should be aware of?

Any pointers, example code, or general insight would be super appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions