#153 The host is unable to reset the chip

Closed
opened 3 years ago by Michael Schloh von Bennewitz · 2 comments

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 3 years ago
Michael Schloh von Bennewitz added the
question
label 3 years ago
Michael Schloh von Bennewitz added this to the Postproject catchall milestone 3 years ago

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 ```
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.