0

VS1053 not found - Troubleshooting FW Music Maker 3357
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

VS1053 not found - Troubleshooting FW Music Maker 3357

by cowboyskippy on Thu Dec 26, 2019 9:26 pm

Hello All,

I am troubleshooting a Featherwing Music Maker board 3357.

My hardware setup includes the following:
  • Feather 328P 3458
  • Feather Wing Music Maker 3357 (unmodified, as shipped)

My software setup includes the following:
  • Arduino 1.8.10
  • Adafruit VS1053 Library 1.0.8
  • Arduino Sketch: "player_gpiotest" (unmodified)
  • Arduino programmer: USBtinyISP
  • Board: Adafruit Feather 328P

When I reset the board, I see the console message "VS1053 GPIO test" and "VS1053 not found".

Here are my troubleshooting steps:
  • I am using short headers for both the F and the FW. I am an experienced engineer and have successfully soldered components many times in the past. I have carefully observed the female and male header connections. There are no shorts. A normal amount of solder is completely covered the pad. My soldering time was as minimal as possible while trying to avoid excessive thermal transfer.
  • When the headers connected, I used my multimeter and confirmed that the a connection for each pin is bridged through the header.
  • I confirm that the 3V and Ground is seen at the FW.
  • I get the same result when I disconnect the F and FW (i.e. detach the header connection). Using separate jumper wires, I connect 3V and Gnd, control pins XDCS, DREQMP3CS and SD CS and SPI pins MISO, MOSI and SCK. I also added a reset line via jumper wire between the F and FW.

Observations:
  • I can hear a short click through the connected headphones when I reset the F. This tells me that the FW power is connected and that a power interruption is causing a short click. So at least the amplifier is powered... If I did not hear the click, I might suspect the FW is dead.
  • With the short headers connected, I cannot successfully flash the F. I have to remove the FW from the F to successfully flash the F. With jumper wires, I can successfully flash the F with the FW connected via jumper wires.

Does anyone from the community have any suggestions? Am I missing something obvious?

Below is the verbose output from Arduino during compilation and flashing:

Code: Select all | TOGGLE FULL SIZE
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Jason\AppData\Local\Arduino15\packages -hardware C:\Users\Jason\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Jason\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Jason\Documents\Arduino\libraries -fqbn=adafruit:avr:feather328p -vid-pid=10C4_EA60 -ide-version=10810 -build-path C:\Users\Jason\AppData\Local\Temp\arduino_build_575444 -warnings=all -build-cache C:\Users\Jason\AppData\Local\Temp\arduino_cache_678704 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Jason\AppData\Local\Temp\arduino_modified_sketch_90052\player_gpiotest.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Jason\AppData\Local\Arduino15\packages -hardware C:\Users\Jason\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Jason\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Jason\Documents\Arduino\libraries -fqbn=adafruit:avr:feather328p -vid-pid=10C4_EA60 -ide-version=10810 -build-path C:\Users\Jason\AppData\Local\Temp\arduino_build_575444 -warnings=all -build-cache C:\Users\Jason\AppData\Local\Temp\arduino_cache_678704 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Jason\AppData\Local\Temp\arduino_modified_sketch_90052\player_gpiotest.ino
Using board 'feather328p' from platform in folder: C:\Users\Jason\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.13
Using core 'arduino' from platform in folder: C:\Program
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp" -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp" -o nul
Alternatives for Adafruit_VS1053.h: [Adafruit_VS1053_Library@1.0.8]
ResolveLibrary(Adafruit_VS1053.h)
  -> candidates: [Adafruit_VS1053_Library@1.0.8]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp" -o nul
Alternatives for SD.h: [SD@1.2.3]
ResolveLibrary(SD.h)
  -> candidates: [SD@1.2.3]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library\\Adafruit_VS1053.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\File.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\SD.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\utility\\Sd2Card.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\utility\\SdFile.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\utility\\SdVolume.cpp" -o nul
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp.o"
Compiling libraries...
Compiling library "SPI"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SPI\\SPI.cpp.o"
Compiling library "Adafruit_VS1053_Library"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library\\Adafruit_VS1053.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\Adafruit_VS1053_Library\\Adafruit_VS1053.cpp.o"
C:\Users\Jason\Documents\Arduino\libraries\Adafruit_VS1053_Library\Adafruit_VS1053.cpp: In member function 'uint16_t Adafruit_VS1053::loadPlugin(char*)':

C:\Users\Jason\Documents\Arduino\libraries\Adafruit_VS1053_Library\Adafruit_VS1053.cpp:390:33: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]

   while ((type = plugin.read()) >= 0) {

          ~~~~~~~~~~~~~~~~~~~~~~~^~~~

C:\Users\Jason\Documents\Arduino\libraries\Adafruit_VS1053_Library\Adafruit_VS1053.cpp: In member function 'boolean Adafruit_VS1053::prepareRecordOgg(char*)':

C:\Users\Jason\Documents\Arduino\libraries\Adafruit_VS1053_Library\Adafruit_VS1053.cpp:555:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   if (pluginStartAddr == 0xFFFF) return false;

       ~~~~~~~~~~~~~~~~^~~~~~~~~

Compiling library "SD"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\File.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\File.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\SD.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\SD.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\utility\\SdFile.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\utility\\SdFile.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\utility\\Sd2Card.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\utility\\Sd2Card.cpp.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_AVR_FEATHER328P -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Users\\Jason\\Documents\\Arduino\\libraries\\Adafruit_VS1053_Library" "-IC:\\Program Files (x86)\\Arduino\\libraries\\SD\\src" "C:\\Program Files (x86)\\Arduino\\libraries\\SD\\src\\utility\\SdVolume.cpp" -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\utility\\SdVolume.cpp.o"
Compiling core...
Using precompiled core: C:\Users\Jason\AppData\Local\Temp\arduino_cache_678704\core\core_adafruit_avr_feather328p_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/player_gpiotest.ino.elf" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\sketch\\player_gpiotest.ino.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\Adafruit_VS1053_Library\\Adafruit_VS1053.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\File.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\SD.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\utility\\Sd2Card.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\utility\\SdFile.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444\\libraries\\SD\\utility\\SdVolume.cpp.o" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/..\\arduino_cache_678704\\core\\core_adafruit_avr_feather328p_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444" -lm
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/player_gpiotest.ino.elf" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/player_gpiotest.ino.eep"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/player_gpiotest.ino.elf" "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/player_gpiotest.ino.hex"
Multiple libraries were found for "SPI.h"
 Used: C:\Program
Multiple libraries were found for "Adafruit_VS1053.h"
 Used: C:\Users\Jason\Documents\Arduino\libraries\Adafruit_VS1053_Library
Multiple libraries were found for "SD.h"
 Used: C:\Program
Using library SPI at version 1.0 in folder: C:\Program Files
Using library Adafruit_VS1053_Library at version 1.0.8 in folder: C:\Users\Jason\Documents\Arduino\libraries\Adafruit_VS1053_Library
Using library SD at version 1.2.3 in folder: C:\Program Files
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\Jason\\AppData\\Local\\Temp\\arduino_build_575444/player_gpiotest.ino.elf"
Sketch uses 9452 bytes (29%) of program storage space. Maximum is 32256 bytes.
Global variables use 940 bytes (45%) of dynamic memory, leaving 1108 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM9 -b57600 -D -Uflash:w:C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex:i

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM9
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 6.2
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex"
avrdude: writing flash (9452 bytes):

Writing | ################################################## | 100% 2.56s

avrdude: 9452 bytes of flash written
avrdude: verifying flash memory against C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex:
avrdude: load data flash data from input file C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex:
avrdude: input file C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex contains 9452 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.88s

avrdude: verifying ...
avrdude: 9452 bytes of flash verified

avrdude done.  Thank you.

cowboyskippy
 
Posts: 9
Joined: Wed Mar 02, 2016 1:22 am

Re: VS1053 not found - Troubleshooting FW Music Maker 3357

by cowboyskippy on Thu Dec 26, 2019 9:46 pm

I have another observation:
  • When I use a jumper wire for the reset pin between the F and the FW, I cannot flash the F. I get an error, listed below.
  • When I disconnect the jumper wire for the pin between the F and the FW, I can flash the F. Below is the Arduino output.
I can reproduce both cases 100% of the time over 6 flashing cycles (3 with jumper wire and 3 without jumper wire). I have no explanation for the observation. I believe Arduino should flash the F with or without the FW attached via jumper wires or headers.

Arduino output in the case where the jumper wire for reset is connected:

Code: Select all | TOGGLE FULL SIZE
avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM9
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1c

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.


Arduino output in the case where the jumper wire for reset is not connected:

Code: Select all | TOGGLE FULL SIZE
avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM9
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 6.2
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex"
avrdude: writing flash (9452 bytes):

Writing | ################################################## | 100% 2.55s

avrdude: 9452 bytes of flash written
avrdude: verifying flash memory against C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex:
avrdude: load data flash data from input file C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex:
avrdude: input file C:\Users\Jason\AppData\Local\Temp\arduino_build_575444/player_gpiotest.ino.hex contains 9452 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.88s

avrdude: verifying ...
avrdude: 9452 bytes of flash verified

avrdude done.  Thank you.

cowboyskippy
 
Posts: 9
Joined: Wed Mar 02, 2016 1:22 am

Re: VS1053 not found - Troubleshooting FW Music Maker 3357

by cowboyskippy on Sat Dec 28, 2019 5:09 pm

Update:

The Arduino sketch, "player_gpiotest", supports the breakout board (Product ID: 1381) and shield (Product ID: 1788) but does not support the FeatherWing (Product ID: 3357) as defined. The sketch defines values for the _RESET, _CS and _DCS signals that do not match the FW. Further, I do not see a SPI definition in the sketch, which is required in the F+FW.

Instead, I used Arduino sketch, "feather_player". This file does support the F and FW. Using this sketch, I am able to play MP3 files as Full Files via ".playFullFile()".

cowboyskippy
 
Posts: 9
Joined: Wed Mar 02, 2016 1:22 am

Re: VS1053 not found - Troubleshooting FW Music Maker 3357

by rafikii on Tue Jul 27, 2021 11:04 pm

Any conclusion? When I connect FW and F with jumpers instead of the headers, I have to leave out the jumper for the reset. If I connect it with a jumper, it continually resets itself. Not sure if that's relevant.

rafikii
 
Posts: 57
Joined: Sat Jan 30, 2021 1:18 pm

Please be positive and constructive with your questions and comments.