Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4030204
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:26:31+00:00 2026-05-20T11:26:31+00:00

I have a board with an ATMEGA88 chip which has a bootloader at address

  • 0

I have a board with an ATMEGA88 chip which has a bootloader at address 0x1800 and a firmware at address 0x0000. Both have access to USB. The bootloader can write a new firmware but now I need to write a new bootloader.

Sure, this is no problem when using the AVR programmer but is it also possible to do this via USB? My idea was flashing a special firmware via the old bootloader which then can write a new bootloader. Is that possible? If yes, how?

My current tries were not successfull. All commands (boot_page_erase, boot_page_fill and boot_page_write) are executed successfully the same way as the bootloader is doing it (only difference is that it starts writing at index 0x1800 and not 0x0000) but when I restart the device then the old bootloader is still there so nothing was really written to the flash.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:26:31+00:00Added an answer on May 20, 2026 at 11:26 am

    The memory of the ATmega88 is divided into two sections, Read-While-Write (RWW) and Non-Read-While-Write (NRWW). Only from the NRWW-section it is possible to execute the SPM command (if executed from the RWW section, it silently fails). See section 2.2 (page 6) of the datasheet.
    The NRWW section is equivalent to the biggest possible bootloader section.

    So, to reprogram the bootloader using the SPM instruction, you need to have at least a minimal stub of code in the bootloader section, which you do not delete and which executes the SPM instruction for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Discussion Board in a SharePoint site which has an additional column
I have a ARM11 based hardware board which runs a Linux kernel ver. 2.6.21.5-cfs-v19.
I have a discussion board, and users can post comments on the board. But
I have an embedded board . Can someone suggest an Ideal Linux distro for
I have a bluetooth board in an electronic device which I know the mac
I have installed Phoenetic Key board for Urdu language, that I can select from
I have developed a sound board application, in which I set ringtones on long
I have a comments board on my page, to which I load different topics
I have these files board.class and x4.class (x4.class has main() method). To jar these
As it is right now I have a Board object which contains an 8x8

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.