|
|
View previous topic :: View next topic |
Author |
Message |
temtronic
Joined: 01 Jul 2010 Posts: 9377 Location: Greensville,Ontario
|
|
Posted: Wed Nov 23, 2022 6:16 am |
|
|
sigh, so far THREE ways to do it
1st, HMI PIC using simple 'RS-232' to get/put EEPROM data. Easy and fast to code.
2nd, HMI PIC using a 'bootloader' approach, one way,needs modification to read current EEPROM.
3rd, HMI PIC 'mimics' part of what a 'programmer' does, can't be done ? hmm ?
I may be confused about what is really being posted but #3 is possible. The Picstart+ programmers used a PIC17C44 ( ?) as the 'brains', and using MPLAB you could read/program just the EEPROM. It is the most complicated method to get to work though ! You need to create the ICSP access firmware,create r/w EEPROM code and of course the entire HMI code but it is 'technically' possible.
I suspect we're all missing 'something' in what the OP really wants to do, especially since no 'target' PIC has been posted. Any of these options, maybe even a 4th ??, can work IF you have designed the 'target' PIC.
gee, nasty little gremlin just showed up (coffee was ready too !!!).... I'm now wondering if it's possible when 'code protection' has been enabled !! Seems the newer PIC you have to erase the ENTIRE PIC before burning, so it may NOT be possible to just edit the EEPROM bytes ?? |
|
|
dmitrboristuk
Joined: 26 Sep 2020 Posts: 63
|
|
Posted: Thu Nov 24, 2022 12:28 am |
|
|
Even in very old LPT interface programmers (PGMs), EEPROM can be read and edited. I have one from 2000. Naturally, there are no new devices in it. But apparently the work protocol has changed little, so if you select the notorious 16F877A, then you can write and read the program on a modern 16F15376 (if you have permission), you can also edit the contents of EEPROM in a separate window without rewriting the program. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19655
|
|
Posted: Thu Nov 24, 2022 1:38 am |
|
|
Yes, for the internal EEPROM.
On all PIC's, the internal EEPROM is mapped for programming to an area
of otherwise unused addresses in the address map (you have to look at
the programming specifications for the particular chip).
However the chip you mention, the PIC16F15376 does not have any EEPROM.
From it's programming sheet:
Quote: |
The PIC16(L)F153XX family does not include EEPROM.
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|