#153 The host is unable to reset the chip

Gesloten
4 jaren geleden werd geopend door Michael Schloh von Bennewitz · 2 opmerkingen

The host is unable to reset the chip

Problem environment

A connected host computer with an general purpose in out (GPIO) interface can signal the Sendcomm controller chip to reset. This is useful in many cases, for example to drive the controller into its flash programming state or to restart a firmware application.

Steps to reproduce

  1. Refer to the schematic design
  2. Locate the reset circuit at SW1
  3. Locate the host connector J3

Expected result

The host is able to signal the controller chip to reset.

Actual result

The host cannot send a reset signal, because no GPIO circuit is routed to the chip.

Resources

A openocd(1) configuration to hard reset the chip with a GPIO interface using a BCM2835 integrated host may resemble:

bcm2835gpio_srst_num 40
adapter_nsrst_delay 100
adapter_nsrst_assert_width 100

Severity level

This is low priority because project requirements do not specify user selected reset.

# The host is unable to reset the chip ## Problem environment A connected host computer with an general purpose in out (GPIO) interface can signal the Sendcomm controller chip to reset. This is useful in many cases, for example to drive the controller into its flash programming state or to restart a firmware application. ## Steps to reproduce 1. Refer to the schematic design 1. Locate the reset circuit at SW1 1. Locate the host connector J3 ## Expected result The host is able to signal the controller chip to reset. ## Actual result The host cannot send a reset signal, because no GPIO circuit is routed to the chip. ## Resources A *openocd(1)* configuration to hard reset the chip with a GPIO interface using a BCM2835 integrated host may resemble: ``` bcm2835gpio_srst_num 40 adapter_nsrst_delay 100 adapter_nsrst_assert_width 100 ``` ## Severity level This is **low priority** because project requirements do not specify user selected reset.
Michael Schloh von Bennewitz added the
enhancement
label 4 jaren geleden
Michael Schloh von Bennewitz added the
question
label 4 jaren geleden
Michael Schloh von Bennewitz added this to the Postproject catchall milestone 4 jaren geleden

Solved in 08e3618.

Solved in 08e3618.

Successfully ested on 0.9.4 with Raspberry Pi standard shell commands:

$ echo 'https://pinout.xyz/pinout/pin37_gpio26'
https://pinout.xyz/pinout/pin37_gpio26
$ id | grep gpio
uid=1000(pi) gid=1000(pi) groups=1000(pi),997(gpio)
$ echo 26 >/sys/class/gpio/export
$ echo out >/sys/class/gpio/gpio26/direction
$ while true; \
    do echo 0 >/sys/class/gpio/gpio26/value && \
    echo 1 >/sys/class/gpio/gpio26/value; \
    sleep 5; \
    done
Successfully ested on 0.9.4 with Raspberry Pi standard shell commands: ``` $ echo 'https://pinout.xyz/pinout/pin37_gpio26' https://pinout.xyz/pinout/pin37_gpio26 $ id | grep gpio uid=1000(pi) gid=1000(pi) groups=1000(pi),997(gpio) $ echo 26 >/sys/class/gpio/export $ echo out >/sys/class/gpio/gpio26/direction $ while true; \ do echo 0 >/sys/class/gpio/gpio26/value && \ echo 1 >/sys/class/gpio/gpio26/value; \ sleep 5; \ done ```
Log in om deel te nemen aan deze discussie.
Geen mijlpaal
Niet toegewezen
1 deelnemers
Vervaldatum

Geen vervaldatum ingesteld.

Afhankelijkheden

Deze kwestie heeft momenteel geen afhankelijkheden.

Laden…
Annuleren
Opslaan
Er is nog geen inhoud.