How do i Flash the Micro controller on the fly(.out file).
if i assign the gpio pins as Jtag pins ( how do i implement the jtag protocol?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How do i Flash the Micro controller on the fly(.out file).
if i assign the gpio pins as Jtag pins ( how do i implement the jtag protocol?
kalyan perepa said:i (I) have assigned 4 gpio lines for jtag on all the 4 micro controller to do this operation.
It remains "unclear" if you've noted that these MCUs have "DEDICATED" Port-Pins (PC0-PC3) which serve (ALONE) as JTAG/SWD! It (almost) seems as "If you wish to (arbitrarily) chose "random GPIO" - to serve as JTAG/SWD." YOU CANNOT! And again note - PC0-PC3 DEFAULT as JTAG/SWD - thus unless you "Re-Purpose them" - no "assignment and/or other "special effort" is required.
When firm/I (past) employed (many) Xilinx FPGAs - they required "Firmware Installation upon Power Up." You suggest that is your goal - but instead - w/these MCUs. That's unusual - or at minimum - demands further "Use-Case" detailing.
As you seek to program FOUR MCUs - each w/different firmware - unless the programs are "Small enough" - you may have (great) difficulty in finding an (assumed) MCU - w/sufficient memory capacity - to contain all FOUR of the firmware packages...
Perhaps (some) description of your "Use-Case" and/or Objective - will better clarify (somewhat) clarify - your goal...
Tossing "KISS" to the (far) curb - and attempting to, "Program FOUR MCUs" (from an unidentified source device) ... (somehow) registers as, "Not terribly realistic!"
Should it not be noted - too - that once, "ALL FOUR MCUs have been Programmed" ... What is to occur upon the (very) NEXT Power Up? Are "ALL FOUR" to "Enjoy that Programming Process" - AGAIN? (Really?)
No case has been presented - AT ALL - for the (unusual) requirement to, "Program each MCU upon Power-Up" - and as suggested/hinted - Do so "REPEATEDLY!" (not to mention the board layout challenge - to achieve a robust, "FOUR DEVICE DAISY CHAIN!")
Well said, poster Danny. And - the occasional use of "CAPS" - was duly noted (and appreciated.)
Four MCUs - registers as (possible) "Quad-Rotor Project" - which (somehow) ... Never "Left the Ground!" (Step carefully around the carcass...)