EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / EngineersGarage tutorial: How to Program in Boot Loader Section – help!!

EngineersGarage tutorial: How to Program in Boot Loader Section – help!!

|

Microcontroller › AVR › EngineersGarage tutorial: How to Program in Boot Loader Section – help!!

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 9 months ago by AJISH ALFRED.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 23, 2014 at 10:30 am #3272
    Daniel Brazil
    Participant
    hello, I am trying to follow the EngineersGarage Tutorial, on How to Program in Boot Loader Section at
    http://www.engineersgarage.com          /embedded/avr-microcontroller-projects/How-to-Program-in-Boot-Loader-Section
     
    However, I need some help. The aurthor provides two sets of codes. Code, and code2 (from the tab).
    Code, is meant to be in the bootloader, and the; code2, is meant to be in the application code.
    However, I have no idea where to include these two files.
     Are they both includes in One AVR studio project, in two separate files (i get a multiple definition of main error)?
     Do they each have their own AVR studio project, this doesn’t seem to work, because
     If i place the bootloader code in AVR studio project 1.
     If i place the application code in AVR studio project 2.
     Then when i run application one, then two. only application 2 is displayed. (i.e. the leds dont blink quickly then long, just quickly).
     Also in Code, when we jump back to jmp 0x0000, will it run the application code + bootloader code again. so it will blink continuously? 
     
     
    Thanks!!!!!
     

     

    September 24, 2014 at 4:47 am #12225
    AJISH ALFRED
    Participant

    Hi Daniel,

    Take two codes as seperate projects in AVR studio. Compile and burn the codes seperately, the bootloader code should be burnt to the bootloader section of the AVR and the application code should be burnt to the application section of the AVR. 

    Hope this clears your confusion!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Fun with AI and swordfish basic June 22, 2025
  • Microinverters and storeage batteries? June 22, 2025
  • FFC connector white June 22, 2025
  • Is AI making embedded software developers more productive? June 22, 2025
  • Can I make two inputs from one?? June 22, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise