Re: PIC self reprogramming
each requires a different application program to be executed by the ̶P̶I̶C̶ Base ?
so each ext has an eprom to reprogram the base or the ext or both ?
if the recoding is always done in the same mem block the flash wear will be uneven which will limit chip lifetime
there are 128k pic18's 18f47k40 etc
ps that's how my ICD3 used to work, one little mishap reprgming its self now its a bench ornament
Re: PIC self reprogramming
Thank you Richard for your kind answer.
Yes, the application programs are very different so a new program must be loaded each time a different extension is connected. The application program is permanently stored in the extension EEPROM and copied into the PIC program space when necessary. However, changing the extensions is not so frequent so I don't thing that the durability of the flash EPROM could be affected. Do you have any data about the number of reprogrammations which are accepted for this kind of memory ?
Changing the PIC model is no more possible at this level of the development and even 128K would not be large enough to contain all the possible extension programs.
Moreover, from an evaluation I have done 3 or 4 years ago I remember that the K40 and K42 are not correctly supported by PBP + MPLAB 8. You have to go to MPLAB X with some ennoying issues regarding the debugging at the source level. My current development environment is MPLAB 8 + PBP + PicKit 2 and 3. I also own a Real Ice.
Thank you for your help
MikeBZH
Re: PIC self reprogramming
According to 27.9 in Electrical Specifications, Parameter D178 states it's good for 10k writes.
Re: PIC self reprogramming
Quote:
Do you have any data about the number of reprogrammations which are accepted for this kind of memory ?
18f26k22 has a flash cell write endurance of 10k, i assume a row erase row write is two of those cycles. data sheet is never clear on
what a write cycle actually is.
I'm using mplabx v5.30 with pk2/3/4 for pbp3 with no issues, pbp debugging at the source level is a long
forgotten luxury, now just use DEBUG and logic analyzer and a led or two
Re: PIC self reprogramming
Mpgmike, Richard, thank you for your answers.
10k cycles is much more that what I need (may be a few hundreds cycles?) so there should not be critical issues there.
According to the complexity of my algorithms my choice is clear : I need to debug at the source level so this stucks me with MPLAB 8, Unfortunately.
MikeBZH