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.

Erasing time on FLASH microcontrollers

Status
Not open for further replies.

Jos Brink

Member level 3
Joined
Jan 28, 2004
Messages
64
Helped
9
Reputation
18
Reaction score
2
Trophy points
1,288
Activity points
577
Heya,

I was wondering..

I used to program Atmel AVRs, and now ive started on a C51 chip also from Atmel. I program the avr using ISP (SPI) and the 89C51 using USB. Why does the erase cycle on the 51 chip (with usb) takes longer than on a Avr? The avr even got more program memory. Has this anything to do with the chips stucture? or is it a programmers issue? USB is much faster than SPI programming isn't it?

Does someone regonize this?

let me know ;)

greetings from holland
 

Davood Amerion

Advanced Member level 2
Joined
Mar 1, 2005
Messages
584
Helped
116
Reputation
232
Reaction score
24
Trophy points
1,298
Location
Persia
Activity points
6,345
Maximum speed of USB port is much faster than ISP (parallel port), but USB may use in lower speed than ISP.
Next note;
Erase/programming time depend on IC structure(mostly its memory) and may vary from IC to IC.
 

bobsanjose

Advanced Member level 1
Joined
Jan 13, 2006
Messages
416
Helped
56
Reputation
112
Reaction score
21
Trophy points
1,298
Location
Silicon Valley
Activity points
5,228
The erase time is very different between devices. One big difference is the technology the flashes are made. In general larger Flashes are mostly in newer technologies. Most AVRs are build in newer techologies than most 51s, therefore the erase time is usually shorter.

Whether USB or SPI programming (did you mean SPI or ISP through UART?). is faster depends on the software driver. The maximum data rate is an indication how fast it CAN BE DONE, not how fast it actually is.

Between UART and USB, it would need a strange USB program to be slower than a UART. Between USB and SPI it depends on the clock of the SPI, e.g. some ARM7 devices clock the SPI with 30 mbit/s and it has a lot less overhead than USB.

Cheers, Bob
 

    Jos Brink

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top