ghent360 / RTD-2660-Programmer

Realtek RTD2660/2662 programmer
BSD 3-Clause "New" or "Revised" License
98 stars 40 forks source link

hi, can you tell me, what is the reset command, use in IIC. #1

Closed powermcu closed 8 years ago

powermcu commented 8 years ago

hi, can you tell me, what is the reset command, use in IIC.

ghent360 commented 8 years ago

I'm not sure I understand the question, can you elaborate?

On Fri, Jan 8, 2016 at 6:33 PM, powermcu notifications@github.com wrote:

hi, can you tell me, what is the reset command, use in IIC

— Reply to this email directly or view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/1.

powermcu commented 8 years ago

for example:

this is Erase command SPICommonCommand(E_CC_WRITE_AFTER_EWSR, 1, 0, 1, 0); // Unprotect the Status Register SPICommonCommand(E_CC_WRITE_AFTER_WREN, 1, 0, 1, 0); // Unprotect the flash SPICommonCommand(E_CC_ERASE, 0xc7, 0, 0, 0); // Chip Erase

what is the reset command ?


marsboard

From: ghent360 notifications@github.com Date: 2016-01-12 09:37 To: ghent360/RTD-2660-Programmer RTD-2660-Programmer@noreply.github.com CC: powermcu marsboard@gmail.com Subject: Re: [RTD-2660-Programmer] hi, can you tell me, what is the reset command, use in IIC. (#1) I'm not sure I understand the question, can you elaborate?

On Fri, Jan 8, 2016 at 6:33 PM, powermcu notifications@github.com wrote:

hi, can you tell me, what is the reset command, use in IIC

— Reply to this email directly or view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/1.

— Reply to this email directly or view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170754342 .

ghent360 commented 8 years ago

The example you gave is a command sequence to erase the SPI flash. When you ask for a reset command, what is it you want to reset? On Jan 11, 2016 11:01 PM, "powermcu" notifications@github.com wrote:

for example:

this is Erase command SPICommonCommand(E_CC_WRITE_AFTER_EWSR, 1, 0, 1, 0); // Unprotect the Status Register SPICommonCommand(E_CC_WRITE_AFTER_WREN, 1, 0, 1, 0); // Unprotect the flash SPICommonCommand(E_CC_ERASE, 0xc7, 0, 0, 0); // Chip Erase

what is the reset command ?


marsboard

From: ghent360 notifications@github.com Date: 2016-01-12 09:37 To: ghent360/RTD-2660-Programmer <RTD-2660-Programmer@noreply.github.com

CC: powermcu marsboard@gmail.com Subject: Re: [RTD-2660-Programmer] hi, can you tell me, what is the reset command, use in IIC. (#1) I'm not sure I understand the question, can you elaborate?

On Fri, Jan 8, 2016 at 6:33 PM, powermcu notifications@github.com wrote:

hi, can you tell me, what is the reset command, use in IIC

— Reply to this email directly or view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/1.

— Reply to this email directly or view it on GitHub < https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170754342

.

— Reply to this email directly or view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170818004 .

powermcu commented 8 years ago

i Successfully upgraded the firmware, then i want to reset the chip, Now I'm all manually reset.

marsboard  From: ghent360Date: 2016-01-12 16:40To: ghent360/RTD-2660-ProgrammerCC: powermcuSubject: Re: [RTD-2660-Programmer] hi, can you tell me, what is the reset command, use in IIC. (#1)The example you gave is a command sequence to erase the SPI flash. When you

ask for a reset command, what is it you want to reset?

On Jan 11, 2016 11:01 PM, "powermcu" notifications@github.com wrote:

for example:

this is Erase command

SPICommonCommand(E_CC_WRITE_AFTER_EWSR, 1, 0, 1, 0); // Unprotect the

Status Register

SPICommonCommand(E_CC_WRITE_AFTER_WREN, 1, 0, 1, 0); // Unprotect the flash

SPICommonCommand(E_CC_ERASE, 0xc7, 0, 0, 0); // Chip Erase

what is the reset command ?


marsboard

From: ghent360 notifications@github.com

Date: 2016-01-12 09:37

To: ghent360/RTD-2660-Programmer <RTD-2660-Programmer@noreply.github.com

CC: powermcu marsboard@gmail.com

Subject: Re: [RTD-2660-Programmer] hi, can you tell me, what is the reset

command, use in IIC. (#1)

I'm not sure I understand the question, can you elaborate?

On Fri, Jan 8, 2016 at 6:33 PM, powermcu notifications@github.com wrote:

hi, can you tell me, what is the reset command, use in IIC

Reply to this email directly or view it on GitHub

https://github.com/ghent360/RTD-2660-Programmer/issues/1.

Reply to this email directly or view it on GitHub

<

https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170754342

.

Reply to this email directly or view it on GitHub

https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170818004

.

— Reply to this email directly or view it on GitHub.

ghent360 commented 8 years ago

I don't think it is possible to reset the chip completely via IIC. On Jan 12, 2016 12:45 AM, "powermcu" notifications@github.com wrote:

i Successfully upgraded the firmware, then i want to reset the chip, Now I'm all manually reset.

marsboard From: ghent360Date: 2016-01-12 16:40To: ghent360/RTD-2660-ProgrammerCC: powermcuSubject: Re: [RTD-2660-Programmer] hi, can you tell me, what is the reset command, use in IIC. (#1)The example you gave is a command sequence to erase the SPI flash. When you

ask for a reset command, what is it you want to reset?

On Jan 11, 2016 11:01 PM, "powermcu" notifications@github.com wrote:

for example:

this is Erase command

SPICommonCommand(E_CC_WRITE_AFTER_EWSR, 1, 0, 1, 0); // Unprotect the

Status Register

SPICommonCommand(E_CC_WRITE_AFTER_WREN, 1, 0, 1, 0); // Unprotect the flash

SPICommonCommand(E_CC_ERASE, 0xc7, 0, 0, 0); // Chip Erase

what is the reset command ?


marsboard

From: ghent360 notifications@github.com

Date: 2016-01-12 09:37

To: ghent360/RTD-2660-Programmer < RTD-2660-Programmer@noreply.github.com

CC: powermcu marsboard@gmail.com

Subject: Re: [RTD-2660-Programmer] hi, can you tell me, what is the reset

command, use in IIC. (#1)

I'm not sure I understand the question, can you elaborate?

On Fri, Jan 8, 2016 at 6:33 PM, powermcu notifications@github.com wrote:

hi, can you tell me, what is the reset command, use in IIC

Reply to this email directly or view it on GitHub

https://github.com/ghent360/RTD-2660-Programmer/issues/1.

Reply to this email directly or view it on GitHub

<

https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170754342

.

Reply to this email directly or view it on GitHub

< https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170818004

.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/ghent360/RTD-2660-Programmer/issues/1#issuecomment-170840371 .