googlecreativelab / open-nsynth-super

Open NSynth Super is an experimental physical interface for the NSynth algorithm
Apache License 2.0
2.42k stars 270 forks source link

make install problem #67

Open cnuty opened 5 years ago

cnuty commented 5 years ago

Hello, I read all the preview posts about a "make install" problem. I reflowed the Pi interface connector and all the STM32 connections. Same error with the lite version. The message is the following: .... _BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info: BCM2835 GPIO JTAG/SWD bitbang driver Info: SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info: clock speed 1001 kHz in procedure 'init' called at file "openocd.cfg", line 20 in procedure 'ocd_bouncer'

Makefile:40: recipe for target 'install' failed make: *** [install] Error 1

Please, do you have an idea how I can fix it? Thanks a lot, Cnuty

ajmonkey commented 5 years ago

I'm having the same probem too! I've tried to rebuild from scratch--by downloading the nsyth-super-master here's my error-log: pi@raspberrypi:~/open-nsynth-super-master/firmware/src $ sudo mount -o remount,rw / pi@raspberrypi:~/open-nsynth-super-master/firmware/src $ make install sudo openocd --file openocd.cfg --command "program ../bin/main.elf verify reset exit" Open On-Chip Debugger 0.10.0 (2018-03-07-13:33) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst adapter speed: 1000 kHz adapter_nsrst_delay: 100 srst_only separate srst_nogate srst_push_pull connect_deassert_srst cortex_m reset_config sysresetreq srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info : clock speed 1001 kHz in procedure 'init' called at file "openocd.cfg", line 20 in procedure 'ocd_bouncer'

Makefile:40: recipe for target 'install' failed make: *** [install] Error 1

When I start up the raspi with nsyth board the power comes on--the oled displays the grid--if I move my mouse--the Grid on the monitor/Raspi software works---it moves the cursor position on the OLED--when I try moving/changing the cursor position on the trackpad--nothing happens--will check soldering---no idea why I can't build from Makefile--any trouble shooting steps or testing steps would be greatly appreciated-thanks!

kaosbeat commented 5 years ago

same problem here, tried building myself, and used the lite image as well...

is this a hardware bug?

kaosbeat commented 5 years ago

I did some debugging.

My hardware seems to be fine, I verified the pin connections to the RPi and they are OK. If you need to verify check at least these connections (not testing the pots etc... just the programming interface) img_20181125_174758

The RPi itself seems to be ok as well

I started hacking the openocd.cfg in the ~/open-nsynth-super/firmware/src folder, this changes behaviour, but no luck so far (just more bugs) I just want a simple test routine to verify the connection to the STM32, but I don't know how this works... anybody?

thanks

kaosbeat commented 5 years ago

When cranking up the debugger using the -d 3flag passed on the openocd in the Makefile I get lot's of extra output. Still not making a lot of sense to me though. I added the transports command to the openocd.cfg before the init, and there it works fine. first thing that is off seems to be this:

Debug: 311 26 bitbang.c:470 bitbang_swd_read_reg(): No valid acknowledge: ack=5

full output below

:~/open-nsynth-super/firmware/src $ sudo make install
sudo /usr/bin/openocd -d 3 --file openocd.cfg --command "program ../bin/main.elf verify reset exit"
Open On-Chip Debugger 0.10.0 (2018-03-07-13:33)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
User : 13 5 command.c:544 command_print(): debug_level: 3
Debug: 14 5 options.c:181 add_default_dirs(): bindir=/usr/bin
Debug: 15 5 options.c:182 add_default_dirs(): pkgdatadir=/usr/share/openocd
Debug: 16 5 options.c:183 add_default_dirs(): exepath=/usr/bin
Debug: 17 5 options.c:184 add_default_dirs(): bin2data=../share/openocd
Debug: 18 5 configuration.c:42 add_script_search_dir(): adding /root/.openocd
Debug: 19 5 configuration.c:42 add_script_search_dir(): adding /usr/bin/../share/openocd/site
Debug: 20 5 configuration.c:42 add_script_search_dir(): adding /usr/bin/../share/openocd/scripts
Debug: 21 5 configuration.c:82 find_file(): found openocd.cfg
Debug: 22 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface bcm2835gpio
Debug: 23 5 command.c:143 script_debug(): command - interface ocd_interface bcm2835gpio
Debug: 25 5 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_jtag_nums'...
Debug: 26 5 command.c:323 command_new(): BUG: command 'bcm2835gpio_tck_num' does not have the '.usage' field filled out
Debug: 27 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tck_num'...
Debug: 28 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_tms_num' does not have the '.usage' field filled out
Debug: 29 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tms_num'...
Debug: 30 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_tdo_num' does not have the '.usage' field filled out
Debug: 31 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tdo_num'...
Debug: 32 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_tdi_num' does not have the '.usage' field filled out
Debug: 33 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_tdi_num'...
Debug: 34 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_swd_nums'...
Debug: 35 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_swclk_num' does not have the '.usage' field filled out
Debug: 36 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_swclk_num'...
Debug: 37 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_swdio_num' does not have the '.usage' field filled out
Debug: 38 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_swdio_num'...
Debug: 39 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_srst_num' does not have the '.usage' field filled out
Debug: 40 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_srst_num'...
Debug: 41 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_trst_num' does not have the '.usage' field filled out
Debug: 42 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_trst_num'...
Debug: 43 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_speed_coeffs' does not have the '.usage' field filled out
Debug: 44 6 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_speed_coeffs'...
Debug: 45 6 command.c:323 command_new(): BUG: command 'bcm2835gpio_peripheral_base' does not have the '.usage' field filled out
Debug: 46 7 command.c:364 register_command_handler(): registering 'ocd_bcm2835gpio_peripheral_base'...
Debug: 47 7 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_peripheral_base 0x3F000000
Debug: 48 7 command.c:143 script_debug(): command - bcm2835gpio_peripheral_base ocd_bcm2835gpio_peripheral_base 0x3F000000
Debug: 50 7 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_speed_coeffs 146203 36
Debug: 51 7 command.c:143 script_debug(): command - bcm2835gpio_speed_coeffs ocd_bcm2835gpio_speed_coeffs 146203 36
Debug: 53 7 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_swd_nums 25 24
Debug: 54 7 command.c:143 script_debug(): command - bcm2835gpio_swd_nums ocd_bcm2835gpio_swd_nums 25 24
User : 56 7 command.c:544 command_print(): BCM2835 GPIO nums: swclk = 25, swdio = 24
Debug: 57 7 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_bcm2835gpio_srst_num 23
Debug: 58 7 command.c:143 script_debug(): command - bcm2835gpio_srst_num ocd_bcm2835gpio_srst_num 23
User : 60 7 command.c:544 command_print(): BCM2835 GPIO config: srst = 23
Debug: 61 7 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_push_pull
Debug: 62 8 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_only srst_push_pull
User : 64 8 command.c:544 command_print(): srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
Debug: 65 8 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select swd
Debug: 66 8 command.c:143 script_debug(): command - ocd_transport ocd_transport select swd
Debug: 67 8 command.c:323 command_new(): BUG: command 'swd' does not have the '.usage' field filled out
Debug: 68 8 command.c:364 register_command_handler(): registering 'ocd_swd'...
Debug: 69 8 bitbang.c:353 bitbang_swd_init(): bitbang_swd_init
Debug: 70 8 configuration.c:82 find_file(): found /usr/bin/../share/openocd/scripts/target/stm32f0x.cfg
Debug: 71 9 configuration.c:82 find_file(): found /usr/bin/../share/openocd/scripts/target/swj-dp.tcl
Debug: 72 9 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 73 9 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 74 9 configuration.c:82 find_file(): found /usr/bin/../share/openocd/scripts/mem_helper.tcl
Debug: 75 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address
Debug: 76 10 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrw address
Debug: 78 10 command.c:1098 help_add_command(): added 'mrw' help text
Debug: 79 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory.
Debug: 80 10 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory.
Debug: 82 10 command.c:1111 help_add_command(): added 'mrw' help text
Debug: 83 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrb address
Debug: 84 10 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mrb address
Debug: 86 10 command.c:1098 help_add_command(): added 'mrb' help text
Debug: 87 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrb Returns value of byte in memory.
Debug: 88 10 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mrb Returns value of byte in memory.
Debug: 90 10 command.c:1111 help_add_command(): added 'mrb' help text
Debug: 91 10 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits
Debug: 92 10 command.c:143 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits
Debug: 94 11 command.c:1098 help_add_command(): added 'mmw' help text
Debug: 95 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits;
Debug: 96 11 command.c:143 script_debug(): command - add_help_text ocd_add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits;
Debug: 98 11 command.c:1111 help_add_command(): added 'mmw' help text
Debug: 99 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 100 11 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 101 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 102 11 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 103 11 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 104 11 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 105 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_swd newdap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477
Debug: 106 12 command.c:143 script_debug(): command - ocd_swd ocd_swd newdap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477
Debug: 107 12 tcl.c:549 jim_newtap_cmd(): Creating New Tap, Chip: stm32f0x, Tap: cpu, Dotted: stm32f0x.cpu, 8 params
Debug: 108 12 core.c:1304 jtag_tap_init(): Created Tap: stm32f0x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 109 12 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f0x.cpu cortex_m -endian little -chain-position stm32f0x.cpu
Debug: 110 12 command.c:143 script_debug(): command - ocd_target ocd_target create stm32f0x.cpu cortex_m -endian little -chain-position stm32f0x.cpu
Debug: 111 12 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
Debug: 112 12 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 113 12 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 114 12 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 115 12 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 116 12 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 117 12 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 118 13 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 119 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 120 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 121 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 122 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 123 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 124 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 125 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 126 13 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 127 13 command.c:364 register_command_handler(): registering 'ocd_tpiu'...
Debug: 128 13 command.c:364 register_command_handler(): registering 'ocd_itm'...
Debug: 129 13 command.c:364 register_command_handler(): registering 'ocd_itm'...
Debug: 130 13 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 131 13 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 132 13 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 133 13 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 134 13 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 135 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 136 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 137 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 138 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 139 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 140 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 141 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 142 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 143 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 144 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 145 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 146 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 147 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 148 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 149 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 150 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 151 14 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 152 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 153 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 154 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 155 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 156 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 157 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 158 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 159 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 160 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 161 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 162 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 163 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 164 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 165 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 166 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 167 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 168 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 169 15 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 170 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 171 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 172 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 173 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 174 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 175 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 176 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 177 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 178 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 179 16 command.c:364 register_command_handler(): registering 'ocd_stm32f0x.cpu'...
Debug: 180 16 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0
Debug: 181 16 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0
Debug: 182 16 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
Debug: 183 16 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
Debug: 184 16 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
Debug: 185 17 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu
Debug: 186 17 command.c:143 script_debug(): command - ocd_flash ocd_flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu
Debug: 188 17 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 189 17 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 190 17 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 191 17 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 192 17 command.c:364 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 193 17 tcl.c:1033 handle_flash_bank_command(): 'stm32f1x' driver usage field missing
Debug: 194 17 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000
Debug: 195 17 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 1000
Debug: 197 17 core.c:1631 jtag_config_khz(): handle jtag khz
Debug: 198 17 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 199 17 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 200 17 command.c:544 command_print(): adapter speed: 1000 kHz
Debug: 201 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 202 18 command.c:143 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 204 18 command.c:544 command_print(): adapter_nsrst_delay: 100
Debug: 205 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_nogate
Debug: 206 18 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_nogate
User : 208 18 command.c:544 command_print(): srst_only separate srst_nogate srst_push_pull connect_deassert_srst
Debug: 209 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 210 18 command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 211 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 212 18 command.c:143 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
User : 214 18 command.c:544 command_print(): cortex_m reset_config sysresetreq
Debug: 215 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event examine-end  stm32f0x_default_examine_end 
Debug: 216 18 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event examine-end  stm32f0x_default_examine_end 
Debug: 217 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event reset-start  stm32f0x_default_reset_start 
Debug: 218 19 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event reset-start  stm32f0x_default_reset_start 
Debug: 219 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event reset-init  stm32f0x_default_reset_init 
Debug: 220 19 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event reset-init  stm32f0x_default_reset_init 
Debug: 221 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_nogate
Debug: 222 19 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_nogate
User : 224 19 command.c:544 command_print(): srst_only separate srst_nogate srst_push_pull connect_deassert_srst
Debug: 225 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 226 20 command.c:143 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 228 20 command.c:544 command_print(): adapter_nsrst_delay: 100
Debug: 229 20 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_assert_width 100
Debug: 230 20 command.c:143 script_debug(): command - adapter_nsrst_assert_width ocd_adapter_nsrst_assert_width 100
User : 232 20 command.c:544 command_print(): adapter_nsrst_assert_width: 100
Debug: 233 20 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_targets
Debug: 234 20 command.c:143 script_debug(): command - targets ocd_targets
User : 236 20 command.c:544 command_print():     TargetName         Type       Endian TapName            State       
User : 237 20 command.c:544 command_print(): --  ------------------ ---------- ------ ------------------ ------------
User : 238 20 command.c:544 command_print():  0* stm32f0x.cpu       cortex_m   little stm32f0x.cpu       unknown
Debug: 239 20 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 240 21 command.c:143 script_debug(): command - init ocd_init
Debug: 242 21 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 243 21 command.c:143 script_debug(): command - ocd_target ocd_target init
Debug: 245 21 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 246 21 command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 247 21 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu cget -event gdb-flash-erase-start
Debug: 248 21 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu cget -event gdb-flash-erase-start
Debug: 249 21 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-flash-erase-start reset init
Debug: 250 21 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-flash-erase-start reset init
Debug: 251 21 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu cget -event gdb-flash-write-end
Debug: 252 21 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu cget -event gdb-flash-write-end
Debug: 253 22 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_stm32f0x.cpu configure -event gdb-flash-write-end reset halt
Debug: 254 22 command.c:143 script_debug(): command - ocd_stm32f0x.cpu ocd_stm32f0x.cpu configure -event gdb-flash-write-end reset halt
Debug: 255 22 target.c:1324 handle_target_init_command(): Initializing targets...
Debug: 256 22 command.c:364 register_command_handler(): registering 'ocd_target_request'...
Debug: 257 22 command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 258 22 command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 259 22 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 260 22 command.c:364 register_command_handler(): registering 'ocd_fast_load'...
Debug: 261 22 command.c:364 register_command_handler(): registering 'ocd_profile'...
Debug: 262 22 command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 263 22 command.c:364 register_command_handler(): registering 'ocd_reg'...
Debug: 264 22 command.c:364 register_command_handler(): registering 'ocd_poll'...
Debug: 265 22 command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 266 22 command.c:364 register_command_handler(): registering 'ocd_halt'...
Debug: 267 22 command.c:364 register_command_handler(): registering 'ocd_resume'...
Debug: 268 23 command.c:364 register_command_handler(): registering 'ocd_reset'...
Debug: 269 23 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 270 23 command.c:364 register_command_handler(): registering 'ocd_step'...
Debug: 271 23 command.c:364 register_command_handler(): registering 'ocd_mdw'...
Debug: 272 23 command.c:364 register_command_handler(): registering 'ocd_mdh'...
Debug: 273 23 command.c:364 register_command_handler(): registering 'ocd_mdb'...
Debug: 274 23 command.c:364 register_command_handler(): registering 'ocd_mww'...
Debug: 275 23 command.c:364 register_command_handler(): registering 'ocd_mwh'...
Debug: 276 23 command.c:364 register_command_handler(): registering 'ocd_mwb'...
Debug: 277 23 command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 278 23 command.c:364 register_command_handler(): registering 'ocd_rbp'...
Debug: 279 23 command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 280 23 command.c:364 register_command_handler(): registering 'ocd_rwp'...
Debug: 281 23 command.c:364 register_command_handler(): registering 'ocd_load_image'...
Debug: 282 23 command.c:364 register_command_handler(): registering 'ocd_dump_image'...
Debug: 283 23 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'...
Debug: 284 23 command.c:364 register_command_handler(): registering 'ocd_verify_image'...
Debug: 285 24 command.c:364 register_command_handler(): registering 'ocd_test_image'...
Debug: 286 24 command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 287 24 command.c:364 register_command_handler(): registering 'ocd_ps'...
Debug: 288 24 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'...
Info : 289 24 bcm2835gpio.c:428 bcm2835gpio_init(): BCM2835 GPIO JTAG/SWD bitbang driver
Info : 290 24 bcm2835gpio.c:440 bcm2835gpio_init(): SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
Debug: 291 25 bcm2835gpio.c:507 bcm2835gpio_init(): saved pinmux settings: tck 0 tms 0 tdi 0 tdo 0 trst 0 srst 0
Debug: 292 25 bitbang.c:408 bitbang_switch_to_swd(): bitbang_switch_to_swd
Debug: 293 25 bitbang.c:360 bitbang_exchange(): bitbang_exchange
Debug: 294 25 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 295 25 core.c:1601 adapter_khz_to_speed(): have interface set up
Debug: 296 25 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 297 25 core.c:1601 adapter_khz_to_speed(): have interface set up
Info : 298 25 core.c:1386 adapter_init(): clock speed 1001 kHz
Debug: 299 25 openocd.c:140 handle_init_command(): Debug Adapter init complete
Debug: 300 25 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 301 25 command.c:143 script_debug(): command - ocd_transport ocd_transport init
Debug: 303 25 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 304 25 bitbang.c:383 bitbang_swd_switch_seq(): bitbang_swd_switch_seq
Debug: 305 25 bitbang.c:391 bitbang_swd_switch_seq(): JTAG-to-SWD
Debug: 306 25 bitbang.c:360 bitbang_exchange(): bitbang_exchange
Debug: 307 25 bitbang.c:420 bitbang_swd_read_reg(): bitbang_swd_read_reg
Debug: 308 26 bitbang.c:360 bitbang_exchange(): bitbang_exchange
Debug: 309 26 bitbang.c:360 bitbang_exchange(): bitbang_exchange
Debug: 310 26 bitbang.c:447 bitbang_swd_read_reg(): JUNK DP read reg 0 = fffc709f
Debug: 311 26 bitbang.c:470 bitbang_swd_read_reg(): No valid acknowledge: ack=5
Debug: 312 26 bitbang.c:479 bitbang_swd_write_reg(): bitbang_swd_write_reg
Debug: 313 26 bitbang.c:483 bitbang_swd_write_reg(): Skip bitbang_swd_write_reg because queued_retval=5
Debug: 314 26 bitbang.c:531 bitbang_swd_run_queue(): bitbang_swd_run_queue
Debug: 315 26 bitbang.c:360 bitbang_exchange(): bitbang_exchange
Debug: 316 26 bitbang.c:538 bitbang_swd_run_queue(): SWD queue return value: 05
Debug: 317 26 command.c:626 run_command(): Command failed with error code 5
User : 318 26 command.c:687 command_run_line(): in procedure 'init' called at file "openocd.cfg", line 24
in procedure 'ocd_bouncer'
Debug: 319 26 command.c:626 run_command(): Command failed with error code -4
User : 320 27 command.c:687 command_run_line(): 
Makefile:40: recipe for target 'install' failed
make: *** [install] Error 1
cnuty commented 5 years ago

Thanks a lot Kaosbeat for all this precisions. Today first - if I have time -:) (working) - I will try my hardware connections, specially powers and I2C, which are used to download firmware from pi. But I think problem is probably software...

kaosbeat commented 5 years ago

@cnuty where did you get your PCB?

cnuty commented 5 years ago

Hi Kaosbeat, I purchase my PCB semi-assembled at Tindie (https://www.tindie.com/products/squarofumi/nsynth-super-semi-assembled-googles-ml-synth/)

kaosbeat commented 5 years ago

same as me, I tried contacting them with this issue, no reply so far...

ajmonkey commented 5 years ago

Wow! I got my pcb from the same place too!

I haven't had time to double check my hardware--but think it'll be same as either cnuty or kaosbeat--looking for another micro sd card to try software reinstall...

cnuty commented 5 years ago

Hi ajmonkey, I tried to reinstall many times with the "big" version of software and the "lite" version too with the same results and the same error...

cnuty commented 5 years ago

Hi all, I check powers today. And it seems there is a big problem with the regulators U4, U5 and U6. At the beginning, I check the voltage at C7: 5.2V! (3.3V according to the shematics). Then I check at the regulators output:

kaosbeat commented 5 years ago

I have similar measurements, big problem indeed ...

cnuty commented 5 years ago

Hi all, Today with an ohmmeter, I checked the routing of Pi GPIOs (powers, I2C...) to STM32, OLED, according to schematics: all is ok. I checked too the routing of the 3 regulators TPS73133, according to datasheet and Tindie Nsynth schematics: routing is correct. Marking of regulators is ok: "T34", for 3.3V. I reflowed the pins of the 3 regulators. Nevertheless, their output deliver 5.1V, not 3.3V! One regulator broken is possible but all the three regulators broken, with the same correct routing? I don't understand that. Here is the link to the datasheet of TPS73133: http://www.ti.com/lit/ds/symlink/tps731.pdf

cnuty commented 5 years ago

Hi all, Now I have sent this mail to Squaro Engineering, which sell via Tindie my semi-assembled NSynth. Waiting a reply: "I bought a few weeks ago a semi-assembled NSynth PCB. I have a problem to download the firmware into the STM32. But there is also an hardware problem: the three regulators TPS73133 delivers 5.1V instead of 3.3V, according to the NSynth schematics. How is it possible?. Notice several users have the same problem (hard & soft): read this post: https://github.com/googlecreativelab/open-nsynth-super/issues/67. Thanks a lot for your answer."

simplysnake commented 5 years ago

I'm also having the same issue. I also purchased my board semi assembled from tindie.

cnuty commented 5 years ago

Hi all, No answer from Tindie... What can we do now?

simplysnake commented 5 years ago

I also wrote the seller on Tindie and received no reply. I haven't measured my voltage at U4,U5, U6 yet but I did check at C7 and it was bad (4.8). I'm guessing those voltage regulators could be bad... it might be worth trying to resurface mount new good ones idk.

sqfmi commented 5 years ago

Hello @simplysnake @cnuty @kaosbeat @ajmonkey, and any other Tindie customers prior to 2018-12-3

Thank you for the feedback, we have done further testing and have confirmed the issue. As suspected, the output is not at the right voltage level because our supplier provided the wrong parts for U4,U5,U6. Instead of the TPS73133 which should output 3.3V, the boards were supplied with the TPS73150, which outputs 5V.

We have received a new batch from the factory that fixes this issue, please let us know through Tindie's messaging with your order number, and we will send you a completely new board with the correct voltage regulators. You may keep your existing board if you choose to, and simply replace the voltage regulators manually for an extra nsynth.

We apologize for the trouble and the inconvenience caused. If there are any further questions, please do not hesitate and reach out to us directly or through Tindie.

ajmonkey commented 5 years ago

Curious, has anyone received their replacement board yet?

cnuty commented 5 years ago

Hi ajmonkey, Not received too. But I live in France. I mail to Tindie 7 days ago et they answered the new board shipped.

kaosbeat commented 5 years ago

Me neither (Belgium)

but look at this possible fix #70

On Sun, Dec 16, 2018, 08:55 cnuty <notifications@github.com wrote:

Hi ajmonkey, Not received too. But I live in France. I mail to Tindie 7 days ago et they answered the new board shipped.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/googlecreativelab/open-nsynth-super/issues/67#issuecomment-447624334, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMfVMkDaOJv3g7TXj2EqOqyzt-gX7I1ks5u5fxigaJpZM4YvMYR .

simplysnake commented 5 years ago

No I haven't received mine either. I'm in the US.

cnuty commented 5 years ago

Hi all, And happy new year. I received the new board yesterday. Now - when i'll have time - , I have to unsolder pots, encoders, display, and first to test software Pi interface connector. Maybe this connector is only sufficient to test software. Give news when boards received and software tested. Thanks.

himijendrix24 commented 5 years ago

Is the stm32 broken after powering on with the wrong regulators?

I changed the voltage regulators on my first (faulty board) and measure 3.3V but the touch pad and pots do not work.

It should be possible to change the stm32 and upload the firmware, right? The touch ics (at42qt2120) should be fine since the can operate on 1.8-5.5V

T-Zema commented 5 years ago

Hey, sorry for backing to life this topic, but I have no idea what's going wrong after make install firmware :(

sudo openocd --file openocd.cfg --command "program ../bin/main.elf verify reset exit" Open On-Chip Debugger 0.10.0 (2018-12-11-16:46) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst adapter speed: 1000 kHz adapter_nsrst_delay: 100 srst_only separate srst_nogate srst_push_pull connect_deassert_srst cortex_m reset_config sysresetreq srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info : clock speed 1001 kHz Info : SWD DPIDR 0x00000001 Error: Could not initialize the debug port TargetName Type Endian TapName State


0* stm32f0x.cpu cortex_m little stm32f0x.cpu unknown adapter speed: 1001 kHz Error: Could not initialize the debug port Error: Target not examined, will not halt after reset! TARGET: stm32f0x.cpu - Not halted in procedure 'reset' called at file "openocd.cfg", line 22 in procedure 'ocd_bouncer'

Makefile:40: recipe for target 'install' failed make: *** [install] Error 1

tried to resolder one voltage regulator, because he war overheating ;v Now the temperature is ok, but still i have make install error :< Anyone can show me please where to look for?

kaosbeat commented 5 years ago

Did you measure the voltage input on the chip? It should be no more than 3.3V

I think I described the pins to measure somewhere in this thread

On Fri, Jul 26, 2019, 03:37 Tomasz Zema notifications@github.com wrote:

Hey, sorry for backing to life this topic, but I have no idea what's going wrong after make install firmware :(

sudo openocd --file openocd.cfg --command "program ../bin/main.elf verify reset exit" Open On-Chip Debugger 0.10.0 (2018-12-11-16:46) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst adapter speed: 1000 kHz adapter_nsrst_delay: 100 srst_only separate srst_nogate srst_push_pull connect_deassert_srst cortex_m reset_config sysresetreq srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info : clock speed 1001 kHz Info : SWD DPIDR 0x00000001 Error: Could not initialize the debug port TargetName Type Endian TapName State

0* stm32f0x.cpu cortex_m little stm32f0x.cpu unknown adapter speed: 1001 kHz Error: Could not initialize the debug port Error: Target not examined, will not halt after reset! TARGET: stm32f0x.cpu - Not halted in procedure 'reset' called at file "openocd.cfg", line 22 in procedure 'ocd_bouncer'

Makefile:40: recipe for target 'install' failed make: *** [install] Error 1

tried to resolder one voltage regulator, because he war overheating ;v Now the temperature is ok, but still i have make install error :< Anyone can show me please where to look for?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/googlecreativelab/open-nsynth-super/issues/67?email_source=notifications&email_token=AABR6VFKGTIUI4MOEKO2TX3QBJIMHA5CNFSM4GF4YYI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23HSAI#issuecomment-515275009, or mute the thread https://github.com/notifications/unsubscribe-auth/AABR6VHLSN4D773SSSJE3Z3QBJIMHANCNFSM4GF4YYIQ .

T-Zema commented 5 years ago

Thanks for a tip, will try tomorrow ;)

pt., 26 lip 2019 o 12:51 Kasper Jordaens notifications@github.com napisał(a):

Did you measure the voltage input on the chip? It should be no more than 3.3V

I think I described the pins to measure somewhere in this thread

On Fri, Jul 26, 2019, 03:37 Tomasz Zema notifications@github.com wrote:

Hey, sorry for backing to life this topic, but I have no idea what's going wrong after make install firmware :(

sudo openocd --file openocd.cfg --command "program ../bin/main.elf verify reset exit" Open On-Chip Debugger 0.10.0 (2018-12-11-16:46) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst adapter speed: 1000 kHz adapter_nsrst_delay: 100 srst_only separate srst_nogate srst_push_pull connect_deassert_srst cortex_m reset_config sysresetreq srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info : clock speed 1001 kHz Info : SWD DPIDR 0x00000001 Error: Could not initialize the debug port TargetName Type Endian TapName State

0* stm32f0x.cpu cortex_m little stm32f0x.cpu unknown adapter speed: 1001 kHz Error: Could not initialize the debug port Error: Target not examined, will not halt after reset! TARGET: stm32f0x.cpu - Not halted in procedure 'reset' called at file "openocd.cfg", line 22 in procedure 'ocd_bouncer'

Makefile:40: recipe for target 'install' failed make: *** [install] Error 1

tried to resolder one voltage regulator, because he war overheating ;v Now the temperature is ok, but still i have make install error :< Anyone can show me please where to look for?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/googlecreativelab/open-nsynth-super/issues/67?email_source=notifications&email_token=AABR6VFKGTIUI4MOEKO2TX3QBJIMHA5CNFSM4GF4YYI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23HSAI#issuecomment-515275009 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AABR6VHLSN4D773SSSJE3Z3QBJIMHANCNFSM4GF4YYIQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlecreativelab/open-nsynth-super/issues/67?email_source=notifications&email_token=AJWDYFHM3PZYIZUDNNDHPSLQBLJMDA5CNFSM4GF4YYI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD24IBTQ#issuecomment-515408078, or mute the thread https://github.com/notifications/unsubscribe-auth/AJWDYFB5CZMPRYEF6HKS2VLQBLJMDANCNFSM4GF4YYIQ .

T-Zema commented 5 years ago

Did you measure the voltage input on the chip? It should be no more than 3.3V I think I described the pins to measure somewhere in this thread On Fri, Jul 26, 2019, 03:37 Tomasz Zema @.*> wrote: Hey, sorry for backing to life this topic, but I have no idea what's going wrong after make install firmware :( sudo openocd --file openocd.cfg --command "program ../bin/main.elf verify reset exit" Open On-Chip Debugger 0.10.0 (2018-12-11-16:46) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst adapter speed: 1000 kHz adapter_nsrst_delay: 100 srst_only separate srst_nogate srst_push_pull connect_deassert_srst cortex_m reset_config sysresetreq srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info : clock speed 1001 kHz Info : SWD DPIDR 0x00000001 Error: Could not initialize the debug port TargetName Type Endian TapName State ------------------------------ 0 stm32f0x.cpu cortex_m little stm32f0x.cpu unknown adapter speed: 1001 kHz Error: Could not initialize the debug port Error: Target not examined, will not halt after reset! TARGET: stm32f0x.cpu - Not halted in procedure 'reset' called at file "openocd.cfg", line 22 in procedure 'ocd_bouncer' Makefile:40: recipe for target 'install' failed make: [install] Error 1 tried to resolder one voltage regulator, because he war overheating ;v Now the temperature is ok, but still i have make install error :< Anyone can show me please where to look for? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#67?email_source=notifications&email_token=AABR6VFKGTIUI4MOEKO2TX3QBJIMHA5CNFSM4GF4YYI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23HSAI#issuecomment-515275009>, or mute the thread https://github.com/notifications/unsubscribe-auth/AABR6VHLSN4D773SSSJE3Z3QBJIMHANCNFSM4GF4YYIQ .

Yeah. I think it is a power issue... I got only U5 voltage regulator working properly. The others (U4 U6) won't give 3.3V don't know why :/ I guess now it's time to solve a mystery.

I used this puppies https://www.ebay.com/itm/5PCS-TPS73133DBVR-IC-REG-LDO-3-3V-15A-SOT23-5-TPS73133-73133-TPS73133D-73133D-T/192825175164?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

kaosbeat commented 5 years ago

Looks ok. I solved the problem by using the power from the 3.3v pin on the rpi itself....

Works perfectly now

K

On Sat, Jul 27, 2019, 21:24 Tomasz Zema notifications@github.com wrote:

Did you measure the voltage input on the chip? It should be no more than 3.3V I think I described the pins to measure somewhere in this thread … <#m-7515346608150099966> On Fri, Jul 26, 2019, 03:37 Tomasz Zema @.*> wrote: Hey, sorry for backing to life this topic, but I have no idea what's going wrong after make install firmware :( sudo openocd --file openocd.cfg --command "program ../bin/main.elf verify reset exit" Open On-Chip Debugger 0.10.0 (2018-12-11-16:46) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: srst = 23 srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst adapter speed: 1000 kHz adapter_nsrst_delay: 100 srst_only separate srst_nogate srst_push_pull connect_deassert_srst cortex_m reset_config sysresetreq srst_only separate srst_nogate srst_push_pull connect_deassert_srst adapter_nsrst_delay: 100 adapter_nsrst_assert_width: 100 Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode) Info : clock speed 1001 kHz Info : SWD DPIDR 0x00000001 Error: Could not initialize the debug port TargetName Type Endian TapName State ------------------------------ 0 stm32f0x.cpu cortex_m little stm32f0x.cpu unknown adapter speed: 1001 kHz Error: Could not initialize the debug port Error: Target not examined, will not halt after reset! TARGET: stm32f0x.cpu - Not halted in procedure 'reset' called at file "openocd.cfg", line 22 in procedure 'ocd_bouncer' Makefile:40: recipe for target 'install' failed make: [install] Error 1 tried to resolder one voltage regulator, because he war overheating ;v Now the temperature is ok, but still i have make install error :< Anyone can show me please where to look for? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#67 https://github.com/googlecreativelab/open-nsynth-super/issues/67?email_source=notifications&email_token=AABR6VFKGTIUI4MOEKO2TX3QBJIMHA5CNFSM4GF4YYI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23HSAI#issuecomment-515275009>, or mute the thread https://github.com/notifications/unsubscribe-auth/AABR6VHLSN4D773SSSJE3Z3QBJIMHANCNFSM4GF4YYIQ .

Yeah. I think it is a power issue... I got only U5 voltage regulator working properly. The others (U4 U6) won't give 3.3V don't know why :/ I guess now it's time to solve a mystery.

I used this puppies https://www.ebay.com/itm/5PCS-TPS73133DBVR-IC-REG-LDO-3-3V-15A-SOT23-5-TPS73133-73133-TPS73133D-73133D-T/192825175164?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/googlecreativelab/open-nsynth-super/issues/67?email_source=notifications&email_token=AABR6VDX2UZIUU7TRB7JBATQBSOGXA5CNFSM4GF4YYI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26RFMQ#issuecomment-515707570, or mute the thread https://github.com/notifications/unsubscribe-auth/AABR6VBFSWR5SSXOMKO6ARLQBSOGXANCNFSM4GF4YYIQ .

T-Zema commented 5 years ago

Something weird happens when I power MCU near C7 - raspberry shuts down :/