element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MiniZed Hardware Design Simulink led blinking External mode issue
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Subscribers 311 subscribers
  • Views 512 views
  • Users 0 members are here
Related

Simulink led blinking External mode issue

100stefanoo
100stefanoo over 7 years ago

sorry to bother, my misfortune with this project is neverending... still trying to run the Simulink led_blinking_4bit example.

HDL workflow was successful, the led on the board is blinking properly and I have the Software Interface Model open. Then when I try to proceed for External Mode I cannot press "Run" but only "Connect to Target" and i get this error:

The model is not configured for External mode.

My Support packages result all up to date, I can ping the board which is connected thru WiFi.

Simulink 2017b
Vivado 2017.2
Embedded coder Xilinx 17.2.1
 

  • Sign in to reply
  • Cancel

Top Replies

  • 100stefanoo
    100stefanoo over 7 years ago +1 verified
    Problem solved installing "Simulink Coder", my fault I was confident to have it simply because I used to have it in the past... now the demo works as expected and no need to change wireless card or to…
  • mbrown
    0 mbrown over 7 years ago

    You mentioned that you are using Software Interface Model, but please double check. The symptoms you describe happen when trying to run external mode on the HDL generation model. Be sure that you are trying to run External Mode in the model with a file prefix of 'gm_'.

    If all else fails, you could try to start from the beginning in a new folder.

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100stefanoo
    0 100stefanoo over 7 years ago

    I confirm I was using the 'gm_*_interface' model, I also moved to 'Windows 7' the outcome is exactly the same.
    In the meantime I found people which had the same problem (no solution):

    https://it.mathworks.com/matlabcentral/answers/274685-why-do-i-receive-an-error-when-configuring-my-simulink-model-to-external-mode

    also my getenv('ZYNQ_IPADDRESS') is empty so I tried to setenv('ZYNQ_IPADDRESS','192.168.1.15') on the first place but same error.

    Maybe my Embedded Coder package is unhappy with my WiFi card, I'll try with a different one.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100stefanoo
    0 100stefanoo over 7 years ago

    Problem solved installing "Simulink Coder", my fault I was confident to have it simply because I used to have it in the past... now the demo works as expected and no need to change wireless card or to setenv the IP.

    I realized that when trying to deploy an older project to Arduino, the diagnostic error message was much more clear stating "you don't have Simulink Coder" instead of " model not configured for External mode".

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • mbrown
    0 mbrown over 7 years ago in reply to 100stefanoo

    Thanks for responding with the solution. The error message should be improved for the Zynq flow.

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube