As the title suggest we need to get the flash contents from an ADuC device.
According to these posts(same family chips):
We can send you the chip and (assuming it is not read protected) you can retrieve the flash contents?
How long would this take and at what monetary cost?
Is there a way for us to do the retrieval, reliably?
Reading through AN-1139 it seems like the parallel programing protocol can read the flash content, but the Application Note is somewhat ambiguous/ hard to read, so can you confirm this?
Thank you in advance.
Is the part in secure mode or serial safe mode? You can readback the flash contents using parallel mode if the flash is not in secure mode or serial safe mode.
Thank you for your reply,
This device was a development machine so we think it is not read locked, and i assume the firmware was uploaded using the serial port.
Regarding the parallel mode, following the relevant application note AN-1139, we are writing/building an mcu based programmer to accomplish this.
However, we are uncertain about some implementation details:
- Data endianes is not very clear, for example the DATA bus is 8 bit wide(P3.0-P3.7), and figure 4 shows that part of it (P3.4-P3.1) has to carry the binary value of 0b1101, how would this be represented on the fulll 8bit bus(0bXXXX1101X or 0bX1011XXXX)?
- The other ambiguity is, the document does not specify values for certain bits, e.g. in the above example the values of bits P3.5-3.7 are not explicitly stated, can they be anything, or should they be set to a certain value?
Thank you for your support.
Figure 4 only show how to enter parallel download mode. Thus, port 3 should be 0bXXX1101X. Reading from and writing to an address the other diagrams from the document.