PEmicro logo
Cart New Account Login

Logo image
HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
program 2 MCUs with same code
Jim H. May 7, 2021 at 12:05 PM (12:05 hours)
Staff: Steve M.

  • I am tasked with creating a fixture and procedure for reprogramming parts on a circuit board using a Cyclone LC. The intent is for the LC to be embedded in the fixture, with all interaction being done from the Cyclone software in as few steps as possible.

    I have read the information about daisy-chaining, but need some more guidance

    There are 2 MCUs that need identical firmware:
    ARM Cortex-M4 100MHz 256k Flash

    -   Are 2 copies of the code required?
    -   Need to be built into 1 SAP file somehow?
    -   IR bits?
    -   Is it necessary to connect !RESET ?


    • Hello, 

      Thank you for reaching out on this issue.

      The blog post you referred to does a nice job explaining the connections necessary between the processors and to the Cyclone itself.

      To answer your questions.

      1) Only one copy of the code is necessary with one SAP file. Connecting the TDI and TDO pins between processors and correctly to the Cyclone will accomplish programming both processors (along with all other necessary connections).

      2) IR bit information can be found in the specific data sheet or reference manual of the MK10DN512VMD10 device.

      3) It is necessary to connect reset.

      Let me know if you have further questions.


Add comment

   Want to comment? Please login or create a new PEmicro account.

© 2021 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement