Pd2dsy: no errors but also not quite right

Hi all,
This is my first post, just getting started with the Daisy (Seed/Patch/Pod). So far I’ve programmed the Seed with the C++ examples, tested out the button, knob, and USB MIDI examples, made some edits combining the oscillator from the USB MIDI example with the knob example to make sure I can control both an LED output and oscillator rate w/ the same knob before moving on to the C++ examples for the Pod and C++ and Gen~ examples for the Patch (w/ various Euro modules) and now I’m trying to wrap my head around pd2dsy.

I’ve programmed the Patch, both from the command line (MacOS 12.6 on an M1 MBP) and the Web Programmer (w/ the .bin files from pd2dsy), using the patch_test.pd example (no errors about the gates after re-downloading / making libDaisy as per other posts here).

Strangely, I only hear a ~500 Hz square wave out of outputs 3 & 4, and no changes from the encoder, knobs, or gate ins. Even more strangely, nothing changes when I strip it back to just an [osc~ 440] → [dac~ 1 2 3 4] . I tried a few freqs, both hard-coded and as messages to the [osc~] triggered by a loadbang for good measure, but I still only hear the phantom 500 Hz square wave, only on outs 3 & 4 - even though I get no errors in the Web Programmer and only some non-threatening looking warnings in bash.

Any thoughts or advice are more than welcome. In case it helps, here are the results of my call to python pd2dsy.py -b patch examples/PdFiles/patch_test.pd:

Generating project in "./patch_test"
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvControlBinop.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvControlBinop.lst source/HvControlBinop.c -o build/HvControlBinop.o
In file included from source/HvHeavy.h:20,
                 from source/HvHeavyInternal.h:20,
                 from source/HvControlBinop.h:20,
                 from source/HvControlBinop.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvControlCast.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvControlCast.lst source/HvControlCast.c -o build/HvControlCast.o
In file included from source/HvHeavy.h:20,
                 from source/HvHeavyInternal.h:20,
                 from source/HvControlCast.h:20,
                 from source/HvControlCast.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvControlVar.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvControlVar.lst source/HvControlVar.c -o build/HvControlVar.o
In file included from source/HvHeavy.h:20,
                 from source/HvHeavyInternal.h:20,
                 from source/HvControlVar.h:20,
                 from source/HvControlVar.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvLightPipe.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvLightPipe.lst source/HvLightPipe.c -o build/HvLightPipe.o
In file included from source/HvLightPipe.h:20,
                 from source/HvLightPipe.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvMessage.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvMessage.lst source/HvMessage.c -o build/HvMessage.o
In file included from source/HvMessage.h:20,
                 from source/HvMessage.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
source/HvMessage.c: In function 'msg_getHash':
source/HvMessage.c:151:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  151 |       return *((hv_uint32_t *) &f);
      |               ~^~~~~~~~~~~~~~~~~~~
In file included from source/HvMessage.h:20,
                 from source/HvMessage.c:17:
source/HvMessage.c: In function 'msg_toString':
source/HvMessage.c:172:55: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat]
  172 |       case HV_MSG_HASH: len[i] = hv_snprintf(NULL, 0, "0x%X", msg_getHash(m, i)) + 1; break;
      |                                                       ^~~~~~  ~~~~~~~~~~~~~~~~~
      |                                                               |
      |                                                               uint32_t {aka long unsigned int}
source/HvUtils.h:131:50: note: in definition of macro 'hv_snprintf'
  131 | #define hv_snprintf(a, b, c, ...) snprintf(a, b, c, __VA_ARGS__)
      |                                                  ^
source/HvMessage.c:172:59: note: format string is defined here
  172 |       case HV_MSG_HASH: len[i] = hv_snprintf(NULL, 0, "0x%X", msg_getHash(m, i)) + 1; break;
      |                                                          ~^
      |                                                           |
      |                                                           unsigned int
      |                                                          %lX
In file included from source/HvMessage.h:20,
                 from source/HvMessage.c:17:
source/HvMessage.c:191:62: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat]
  191 |       case HV_MSG_HASH: hv_snprintf(finalString+pos, len[i], "0x%X", msg_getHash(m, i)); break;
      |                                                              ^~~~~~  ~~~~~~~~~~~~~~~~~
      |                                                                      |
      |                                                                      uint32_t {aka long unsigned int}
source/HvUtils.h:131:50: note: in definition of macro 'hv_snprintf'
  131 | #define hv_snprintf(a, b, c, ...) snprintf(a, b, c, __VA_ARGS__)
      |                                                  ^
source/HvMessage.c:191:66: note: format string is defined here
  191 |       case HV_MSG_HASH: hv_snprintf(finalString+pos, len[i], "0x%X", msg_getHash(m, i)); break;
      |                                                                 ~^
      |                                                                  |
      |                                                                  unsigned int
      |                                                                 %lX
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvMessagePool.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvMessagePool.lst source/HvMessagePool.c -o build/HvMessagePool.o
In file included from source/HvMessagePool.h:20,
                 from source/HvMessagePool.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvMessageQueue.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvMessageQueue.lst source/HvMessageQueue.c -o build/HvMessageQueue.o
In file included from source/HvMessage.h:20,
                 from source/HvMessageQueue.h:20,
                 from source/HvMessageQueue.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvSignalLine.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvSignalLine.lst source/HvSignalLine.c -o build/HvSignalLine.o
In file included from source/HvHeavy.h:20,
                 from source/HvHeavyInternal.h:20,
                 from source/HvSignalLine.h:20,
                 from source/HvSignalLine.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvSignalPhasor.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvSignalPhasor.lst source/HvSignalPhasor.c -o build/HvSignalPhasor.o
In file included from source/HvHeavy.h:20,
                 from source/HvHeavyInternal.h:20,
                 from source/HvSignalPhasor.h:20,
                 from source/HvSignalPhasor.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
In file included from source/HvSignalPhasor.c:17:
source/HvSignalPhasor.h: In function '__hv_phasor_f':
source/HvSignalPhasor.h:104:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  104 |   *bOut = *((float *) (&p)) - 1.0f;
      |            ~^~~~~~~~~~~~~~~
source/HvSignalPhasor.h: In function '__hv_phasor_k_f':
source/HvSignalPhasor.h:130:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  130 |   *bOut = *((float *) (&p)) - 1.0f;
      |            ~^~~~~~~~~~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvSignalVar.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvSignalVar.lst source/HvSignalVar.c -o build/HvSignalVar.o
In file included from source/HvHeavy.h:20,
                 from source/HvHeavyInternal.h:20,
                 from source/HvSignalVar.h:20,
                 from source/HvSignalVar.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvTable.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvTable.lst source/HvTable.c -o build/HvTable.o
In file included from source/HvHeavy.h:20,
                 from source/HvTable.h:20,
                 from source/HvTable.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvUtils.d" -std=gnu11 -Wa,-a,-ad,-alms=build/HvUtils.lst source/HvUtils.c -o build/HvUtils.o
In file included from source/HvUtils.c:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/startup_stm32h750xx.d" -std=gnu11 -Wa,-a,-ad,-alms=build/startup_stm32h750xx.lst ../libdaisy/core/startup_stm32h750xx.c -o build/startup_stm32h750xx.o
arm-none-eabi-g++  -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HeavyContext.d" -fno-exceptions -fasm -finline -finline-functions-called-once -fshort-enums -fno-move-loop-invariants -fno-unwind-tables -fno-rtti -Wno-register -std=gnu++14 -Wa,-a,-ad,-alms=build/HeavyContext.lst source/HeavyContext.cpp -o build/HeavyContext.o
In file included from source/HeavyContextInterface.hpp:20,
                 from source/HeavyContext.hpp:20,
                 from source/HeavyContext.cpp:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
arm-none-eabi-g++  -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/Heavy_patch_test.d" -fno-exceptions -fasm -finline -finline-functions-called-once -fshort-enums -fno-move-loop-invariants -fno-unwind-tables -fno-rtti -Wno-register -std=gnu++14 -Wa,-a,-ad,-alms=build/Heavy_patch_test.lst source/Heavy_patch_test.cpp -o build/Heavy_patch_test.o
In file included from source/HeavyContextInterface.hpp:20,
                 from source/HeavyContext.hpp:20,
                 from source/Heavy_patch_test.hpp:37,
                 from source/Heavy_patch_test.cpp:33:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
In file included from source/Heavy_patch_test.hpp:39,
                 from source/Heavy_patch_test.cpp:33:
source/HvSignalPhasor.h: In function 'void __hv_phasor_f(SignalPhasor*, float, float*)':
source/HvSignalPhasor.h:104:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  104 |   *bOut = *((float *) (&p)) - 1.0f;
      |            ~^~~~~~~~~~~~~~~
source/HvSignalPhasor.h: In function 'void __hv_phasor_k_f(SignalPhasor*, float*)':
source/HvSignalPhasor.h:130:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  130 |   *bOut = *((float *) (&p)) - 1.0f;
      |            ~^~~~~~~~~~~~~~~
arm-none-eabi-g++  -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HvHeavy.d" -fno-exceptions -fasm -finline -finline-functions-called-once -fshort-enums -fno-move-loop-invariants -fno-unwind-tables -fno-rtti -Wno-register -std=gnu++14 -Wa,-a,-ad,-alms=build/HvHeavy.lst source/HvHeavy.cpp -o build/HvHeavy.o
In file included from source/HeavyContextInterface.hpp:20,
                 from source/HeavyContext.hpp:20,
                 from source/HvHeavy.cpp:17:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
source/HvHeavy.cpp:24: warning: ignoring '#pragma mark ' [-Wunknown-pragmas]
   24 | #pragma mark - Heavy Table
      | 
source/HvHeavy.cpp:45: warning: ignoring '#pragma mark ' [-Wunknown-pragmas]
   45 | #pragma mark - Heavy Message
      | 
source/HvHeavy.cpp:127: warning: ignoring '#pragma mark ' [-Wunknown-pragmas]
  127 | #pragma mark - Heavy Common
      | 
source/HvHeavy.cpp:294: warning: ignoring '#pragma mark ' [-Wunknown-pragmas]
  294 | #pragma mark - Heavy Common
      | 
arm-none-eabi-g++  -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard  -DUSE_HAL_DRIVER -DSTM32H750xx -DHSE_VALUE=16000000  -DCORE_CM7 -DSTM32H750IB -DARM_MATH_CM7 -DUSE_FULL_LL_DRIVER -Isource/ -include stm32h7xx.h -I../libdaisy -I../libdaisy/src/ -I../libdaisy/src/sys -I../libdaisy/src/usbd -I../libdaisy/src/usbh -I../libdaisy/Drivers/CMSIS/Include/ -I../libdaisy/Drivers/CMSIS/DSP/Include -I../libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/ -I../libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../libdaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc -I../libdaisy/core/ -I../libdaisy/Middlewares/Third_Party/FatFs/src -O2 -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow -g -ggdb -MMD -MP -MF"build/HeavyDaisy_patch_test.d" -fno-exceptions -fasm -finline -finline-functions-called-once -fshort-enums -fno-move-loop-invariants -fno-unwind-tables -fno-rtti -Wno-register -std=gnu++14 -Wa,-a,-ad,-alms=build/HeavyDaisy_patch_test.lst HeavyDaisy_patch_test.cpp -o build/HeavyDaisy_patch_test.o
In file included from source/HvHeavy.h:20,
                 from source/Heavy_patch_test.h:36,
                 from HeavyDaisy_patch_test.cpp:33:
source/HvUtils.h:33:4: warning: #warning Could not detect platform. Assuming Unix-like. [-Wcpp]
   33 |   #warning Could not detect platform. Assuming Unix-like.
      |    ^~~~~~~
In file included from source/Heavy_patch_test.hpp:39,
                 from HeavyDaisy_patch_test.cpp:34:
source/HvSignalPhasor.h: In function 'void __hv_phasor_f(SignalPhasor*, float, float*)':
source/HvSignalPhasor.h:104:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  104 |   *bOut = *((float *) (&p)) - 1.0f;
      |            ~^~~~~~~~~~~~~~~
source/HvSignalPhasor.h: In function 'void __hv_phasor_k_f(SignalPhasor*, float*)':
source/HvSignalPhasor.h:130:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  130 |   *bOut = *((float *) (&p)) - 1.0f;
      |            ~^~~~~~~~~~~~~~~
arm-none-eabi-g++  build/HvControlBinop.o build/HvControlCast.o build/HvControlVar.o build/HvLightPipe.o build/HvMessage.o build/HvMessagePool.o build/HvMessageQueue.o build/HvSignalLine.o build/HvSignalPhasor.o build/HvSignalVar.o build/HvTable.o build/HvUtils.o build/startup_stm32h750xx.o build/HeavyContext.o build/Heavy_patch_test.o build/HvHeavy.o build/HeavyDaisy_patch_test.o   -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard --specs=nano.specs --specs=nosys.specs -T../libdaisy/core/STM32H750IB_flash.lds -L../libdaisy/build -ldaisy -lc -lm -lnosys -Wl,-Map=build/HeavyDaisy_patch_test.map,--cref -Wl,--gc-sections -Wl,--print-memory-usage -o build/HeavyDaisy_patch_test.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       99424 B       128 KB     75.85%
         DTCMRAM:          0 GB       128 KB      0.00%
            SRAM:       16872 B       512 KB      3.22%
          RAM_D2:       16704 B       288 KB      5.66%
          RAM_D3:          0 GB        64 KB      0.00%
         ITCMRAM:          0 GB        64 KB      0.00%
           SDRAM:          0 GB        64 MB      0.00%
       QSPIFLASH:          0 GB         8 MB      0.00%
arm-none-eabi-objcopy -O ihex build/HeavyDaisy_patch_test.elf build/HeavyDaisy_patch_test.hex
arm-none-eabi-objcopy -O binary -S build/HeavyDaisy_patch_test.elf build/HeavyDaisy_patch_test.bin
dfu-util -a 0 -s 0x08000000:leave -D build/HeavyDaisy_patch_test.bin -d ,0483:df11
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
Opening DFU capable USB device...
Device ID 0483:df11
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash   "
Downloading element to address = 0x08000000, size = 99424
Erase   	[=========================] 100%        99424 bytes
Erase    done.
Download	[=========================] 100%        99424 bytes
Download done.
File downloaded successfully
Submitting leave request...
dfu-util: Error during download get_status
make: *** [program-dfu] Error 74
(pd_env) xxx@xxx pd2dsy %

Cheers,
Mark

1 Like

TLDR Edition:
Only getting a ~500 Hz square wave out of outs 3 & 4 w/ patch_test.pd on my Daisy Patch (working fine w/ c++ and gen~, and pd2dsy appears to be programming correctly).

No response from the encoder, knobs, or gate ins, and no changes when sending a different patch, even if it’s as simple as an osc~ going to all 4 outs.

Only thing that looks suspicious in bash is the final bit:

dfu-util: Error during download get_status
make: *** [program-dfu] Error 74

but from everything I have read on here, that appears to be normal…

Cheers,
Mark

Hi @mcetilia I started today on patch.init/pd2dsy. I get that error every time I flash my patch.init by my patches still work.

I get a high-pitched whine when there is something wrong with my patch. For example if I use an unsupported object (see the list of supported objects) or if I forget an argument. I edit in the PlugData VST plugin running Ableton and noticed the errors there.

I started by just passing through audio from the inputs to outputs using objects that I copied out of the examples. I was able to get knobs to work but not delay.