Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why boot_page_erase(page) doesnt work?

Status
Not open for further replies.

Obi

Newbie level 4
Joined
Oct 26, 2006
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Russia, Ivanovo
Activity points
1,338
boot_page_erase

I try to work with self programming and face with the following problem. I try to erase page in ATmega16 by boot_page_erase(page):
uint32_t page = 0;
boot_page_erase(page);
In Simulator everything is OK and first page is erased. But in the real hardware (STK500)? It remains untouched. ??? The I tried erase it by calling boot_page_erase(0), and it works both in simulator and real microcontroller.
What’s wrong with that? Please Help!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top