HW Reset

Designing hardware that use VLSI Solution's devices as the system controller for the entire design.
Post Reply
Charles
User
Posts: 5
Joined: Mon 2018-05-21 10:37

HW Reset

Post by Charles » Tue 2018-08-07 0:21

Hi!
The "vs1063-standalone-vside-dist" software is downloaded to eeprom. I send commands via UART, so what to play off the SD card.

If I do a HW Reset, usually do not load software from eeprom. Only when power switch off and on.

How can I make HW Reset?
How should HW reset the device (VS1163)?
How long will it take to reset? 1,8ms?
When multiple Resets arrive in one after the other?

Thanks,
Charles

User avatar
pasi
VLSI Staff
Posts: 1518
Joined: Thu 2010-07-15 16:04

Re: HW Reset

Post by pasi » Wed 2018-08-08 13:45

Hi,
Do you mean hardware reset using the xRESET pin?

Because the SPI boot pins are partially shared with uSD/SD, resetting vs1163 during an SD access may be preventing boot from the SPI EEPROM, because the uSD/SD card is still providing data. (A workaround would be have a separate regulator for SD, and control its enable from xRESET.)

What is the reason for you needing to use hardware reset?

Another solution could be to have implement UART command to reset the vs1163 only when it is "safe".
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Charles
User
Posts: 5
Joined: Mon 2018-05-21 10:37

Re: HW Reset

Post by Charles » Sun 2018-12-02 20:03

Hi,
It works in a very noise environment, and sometime must to restart...

Yes XReset pin.

If I good understand after Hard Reset, the device restart in slave mode !?
After this which command I have to send (across UART (SCI mode)) to start to load the program from EEprom, and restart in standalone mode?

Best regards,
Charles

User avatar
pasi
VLSI Staff
Posts: 1518
Joined: Thu 2010-07-15 16:04

Re: HW Reset

Post by pasi » Mon 2018-12-03 12:14

Hi Charles,

After reset the vs10xx ROM checks GPIO0. If it sees GPIO0 high, it tries boot from SPI. However, reset doesn't do anything for uSD/SD card, there is no reset pin on the cards, so if the vs10xx was transferring something from the card, the card continues to send, which can/will make the SPI boot fail.

The only way to reset a uSD/SD card is to power it down. You probably have a separate regulator for the card. Your controller should power it down, bring xRESET low, wait a few ms for the uSD/SD card to lose power, then power up and bring xRESET high.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Charles
User
Posts: 5
Joined: Mon 2018-05-21 10:37

Re: HW Reset

Post by Charles » Mon 2018-12-03 13:45

Hi Pasi,
now, I can not power down the uSD card :(

Thank you!

Best regards,
Charles

User avatar
pasi
VLSI Staff
Posts: 1518
Joined: Thu 2010-07-15 16:04

Re: HW Reset

Post by pasi » Mon 2018-12-03 17:11

You can timeout if the standalone player doesn't respond and reset again. (Or load the standalone player firmware through SCI.)
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Charles
User
Posts: 5
Joined: Mon 2018-05-21 10:37

Re: HW Reset

Post by Charles » Tue 2018-12-04 21:05

Hi,
do you have code for microcontroler (and or description), to load the firmware throught SCI?

User avatar
pasi
VLSI Staff
Posts: 1518
Joined: Thu 2010-07-15 16:04

Re: HW Reset

Post by pasi » Wed 2018-12-05 11:48

The .plg file contains the almost-C pseudo-code of the upload code. You only need to provide the SCI register write function.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply