Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Flash memory

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
5 postsPage 1 of 1
5 postsPage 1 of 1

Flash memory

Post by le fatumbi » Thu Jun 19, 2008 7:30 pm

Post by le fatumbi
Thu Jun 19, 2008 7:30 pm

Hello,

I'm just reading Atmel documentation of Atmega128.

Page 18: "The Flash memory has an endurance of at least 10,000 write/erase cycles"

This seems to be very poor, especially during a debugg session. :roll:

Ok it's a normal characteristic for a Flash, but what do you think about that ?

Is there a way to run program in ram ?

Should I try to change frequently the start adress of the program to balance it's use ?
Hello,

I'm just reading Atmel documentation of Atmega128.

Page 18: "The Flash memory has an endurance of at least 10,000 write/erase cycles"

This seems to be very poor, especially during a debugg session. :roll:

Ok it's a normal characteristic for a Flash, but what do you think about that ?

Is there a way to run program in ram ?

Should I try to change frequently the start adress of the program to balance it's use ?
le fatumbi
Robot Builder
Robot Builder
User avatar
Posts: 15
Joined: Sun May 04, 2008 9:07 am
Location: france

Post by i-Bot » Thu Jun 19, 2008 7:40 pm

Post by i-Bot
Thu Jun 19, 2008 7:40 pm

Just get on with the programming. 10,000 cycles is quite al ot and certainly greater than my progamming imagination to date, I guess I reprogram the flash on my Atmega about only 20 times a day, but it still works fine. New controllers are cheap
Just get on with the programming. 10,000 cycles is quite al ot and certainly greater than my progamming imagination to date, I guess I reprogram the flash on my Atmega about only 20 times a day, but it still works fine. New controllers are cheap
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by StuartL » Fri Jun 20, 2008 8:04 am

Post by StuartL
Fri Jun 20, 2008 8:04 am

i-Bot wrote:Just get on with the programming. 10,000 cycles is quite al ot and certainly greater than my progamming imagination to date, I guess I reprogram the flash on my Atmega about only 20 times a day, but it still works fine. New controllers are cheap


Absolutely. Do the math.

If you reprogramme your controller twenty times per day you can work every day for over a year before worrying.

If you've developed that much code for your CM-5 I think it's fair to say that you wouldn't resent purchasing a new chip/PCB...
i-Bot wrote:Just get on with the programming. 10,000 cycles is quite al ot and certainly greater than my progamming imagination to date, I guess I reprogram the flash on my Atmega about only 20 times a day, but it still works fine. New controllers are cheap


Absolutely. Do the math.

If you reprogramme your controller twenty times per day you can work every day for over a year before worrying.

If you've developed that much code for your CM-5 I think it's fair to say that you wouldn't resent purchasing a new chip/PCB...
StuartL
Savvy Roboteer
Savvy Roboteer
Posts: 350
Joined: Mon Jun 04, 2007 3:46 pm
Location: Thatcham, Berkshire, UK

Post by le fatumbi » Fri Jun 20, 2008 7:26 pm

Post by le fatumbi
Fri Jun 20, 2008 7:26 pm

I'm sure It must be much more than 20 times a day. You don't count when you love ^^

But tell me if you have a CM5 older than 1 year.


my work consist amongst other things to program industrial automated machines.
For the last plant I programmed, I used a software that increment each build Nr at every little modification done on site. If I just have a look on one of the programms of the plan, the version Number is 71 126 , for less of 4 mounths of tests (realy build and transfered in the machine)... and it's only mine, not the bigger version nr of all the softwares of the plant.
I'm sure It must be much more than 20 times a day. You don't count when you love ^^

But tell me if you have a CM5 older than 1 year.


my work consist amongst other things to program industrial automated machines.
For the last plant I programmed, I used a software that increment each build Nr at every little modification done on site. If I just have a look on one of the programms of the plan, the version Number is 71 126 , for less of 4 mounths of tests (realy build and transfered in the machine)... and it's only mine, not the bigger version nr of all the softwares of the plant.
le fatumbi
Robot Builder
Robot Builder
User avatar
Posts: 15
Joined: Sun May 04, 2008 9:07 am
Location: france

Post by i-Bot » Fri Jun 20, 2008 8:33 pm

Post by i-Bot
Fri Jun 20, 2008 8:33 pm

If you are doing a lot of difficult debug I have found the simulator in the ACR gcc suite very good. I have been doing mixed C and assembler debug of timer interrupt routines and the simulator is clock accurate for the whole process.

I also find the JTAG ICE Mk2 is good, but you can buy a lot of CM5 boards for the price. And you need to make special wiring to the board.
If you are doing a lot of difficult debug I have found the simulator in the ACR gcc suite very good. I have been doing mixed C and assembler debug of timer interrupt routines and the simulator is clock accurate for the whole process.

I also find the JTAG ICE Mk2 is good, but you can buy a lot of CM5 boards for the price. And you need to make special wiring to the board.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am


5 postsPage 1 of 1
5 postsPage 1 of 1