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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design How do I execute sketches and direct Serial Output on Ultra96v2 ?
  • 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 Not Answered
  • Replies 8 replies
  • Subscribers 349 subscribers
  • Views 1062 views
  • Users 0 members are here
  • ultra96-v2
Related

How do I execute sketches and direct Serial Output on Ultra96v2 ?

kiranshashiny
kiranshashiny over 6 years ago

I  want to be able to execute a simple "hello world" code on Ultra96v2 ?

i was able to compile it, but don't know how to execute direct output.

1.

# cat helloworld.ino

void setup() {

  Serial.begin(9600);

}

 

void loop() {

  Serial.println ("hello");

  delay(1000);

}

 

 

2.

# cat makefile

MONITOR_PORT=/dev/ttyS2

include /usr/share/arduino/Arduino.mk

#run: upload

# python ada.py


3.

# make

-------------------------

Arduino.mk Configuration:

- [AUTODETECTED]       CURRENT_OS = LINUX

- [AUTODETECTED]       ARDUINO_DIR = /usr/share/arduino

- [COMPUTED]           ARDMK_DIR = /usr/share/arduino (relative to Common.mk)

- [AUTODETECTED]       ARDUINO_VERSION = 105

- [DEFAULT]            ARCHITECTURE = 

- [DEFAULT]            ARDMK_VENDOR = arduino

- [DEFAULT]            ARDUINO_SKETCHBOOK = 

- [BUNDLED]            AVR_TOOLS_DIR = /usr/share/arduino/hardware/tools/avr (in Arduino distribution)

- [COMPUTED]           ARDUINO_LIB_PATH = /usr/share/arduino/libraries (from ARDUINO_DIR)

- [COMPUTED]           ARDUINO_VAR_PATH = /usr/share/arduino/hardware/arduino//variants (from ARDUINO_DIR)

- [COMPUTED]           BOARDS_TXT = /usr/share/arduino/hardware/arduino//boards.txt (from ARDUINO_DIR)

- [DEFAULT]            USER_LIB_PATH = /libraries (in user sketchbook)

- [DEFAULT]            PRE_BUILD_HOOK = pre-build-hook.sh

- [DEFAULT]            BOARD_TAG = uno

- [COMPUTED]           CORE = arduino (from build.core)

- [COMPUTED]           VARIANT = standard (from build.variant)

- [COMPUTED]           OBJDIR = build-uno (from BOARD_TAG)

- [COMPUTED]           ARDUINO_CORE_PATH = /usr/share/arduino/hardware/arduino//cores/arduino (from ARDUINO_DIR, BOARD_TAG and boards.txt)

- [DETECTED]           MONITOR_BAUDRATE = 9600  (in sketch)

- [DEFAULT]            OPTIMIZATION_LEVEL = s

- [DEFAULT]            MCU_FLAG_NAME = mmcu

- [DEFAULT]            CFLAGS_STD = -std=gnu11 -flto -fno-fat-lto-objects

- [DEFAULT]            CXXFLAGS_STD = -std=gnu++11 -fno-threadsafe-statics -flto

- [COMPUTED]           DEVICE_PATH = /dev/ttyS2 (from MONITOR_PORT)

- [DEFAULT]            FORCE_MONITOR_PORT = 

- [AUTODETECTED]       Size utility: AVR-aware for enhanced output

- [COMPUTED]           BOOTLOADER_PARENT = /usr/share/arduino/hardware/arduino//bootloaders (from ARDUINO_DIR)

- [COMPUTED]           ARDMK_VERSION = 1.5

- [COMPUTED]           CC_VERSION = 4.9.2 (avr-gcc)

-------------------------

mkdir -p build-uno

 



 

#  ls build-uno/

core  helloworld.eep  helloworld.elf  helloworld.hex  helloworld.hex.sizeok  helloworld.ino.d  helloworld.ino.o  libcore.a

 


Would appreciate any help from readers.
Thanks

Shashi

  • Sign in to reply
  • Cancel

Top Replies

  • neuromodulator
    neuromodulator over 6 years ago +1
    Are you trying to use the ultra96v2 to flash an arduino? Or are you trying to program the ultra96v2 as an arduino?
  • Fred27
    Fred27 over 6 years ago +1
    The simple answer is that the Ultra96 is about as different from an Arduino as you can get. It won't run an Arduino sketch - but can do so much more. These road tests of the Ultra96 v1 are probably as…
  • neuromodulator
    neuromodulator over 6 years ago in reply to kiranshashiny +1
    Well, its not an Arduino, its an FPGA board. Now if you want to display temperature or other sensor data, you could use its displayport. How to use your board with the sensors may end being much more complex…
Parents
  • neuromodulator
    0 neuromodulator over 6 years ago

    Are you trying to use the ultra96v2 to flash an arduino? Or are you trying to program the ultra96v2 as an arduino?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • neuromodulator
    0 neuromodulator over 6 years ago

    Are you trying to use the ultra96v2 to flash an arduino? Or are you trying to program the ultra96v2 as an arduino?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • kiranshashiny
    0 kiranshashiny over 6 years ago in reply to neuromodulator

    Program the Ultra92 as an Arduino.
    I just want to be able to connect the Temperature and other basic sensors to the Ultra96 and watch the output.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kiranshashiny
    0 kiranshashiny over 6 years ago in reply to neuromodulator

    I want to be able to Turn the Built In LEDs on and off.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • neuromodulator
    0 neuromodulator over 6 years ago in reply to kiranshashiny

    Well, its not an Arduino, its an FPGA board. Now if you want to display temperature or other sensor data, you could use its displayport. How to use your board with the sensors may end being much more complex than what you expect. Unless there are drivers you may have to program your own drivers. I wrote a blog about how to program an FPGA, you may want to check it, its got links to other useful resources too. If you don't plan to use the FPGA capabilities, maybe you could switch to something simpler, maybe a SBC like the raspi or maybe a real Arduino.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kiranshashiny
    0 kiranshashiny over 6 years ago in reply to neuromodulator

    Thanks,  my final objective is to do some Image processing, Face Recognition/Detection and stuff. Please share the link on your blog.



    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • neuromodulator
    0 neuromodulator over 6 years ago in reply to kiranshashiny

    Url is Learning Verilog with the Digilent Cmod S7

    If you want to do image processing you could take a look at the pynq environment.

    • 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