pichenettes / mutable-dev-environment Goto Github PK
View Code? Open in Web Editor NEWDevelopment environment for the firmware of Mutable Instruments' products
License: MIT License
Development environment for the firmware of Mutable Instruments' products
License: MIT License
Have you ever thought of moving the vagrant deploy to a docker image? Building and hosting the image would probably make the deployment of the dev environment a bit quicker. I would be happy to throw up a PR if you're interested.
I just finished building a Clouds module, it was a full kit that I purchased from synthCube. The STM chip was supposed to be pre-flashed but the module does not do anything upon power-up. I have set up the VirtualBox/Vagrant environment on my computer (MacMini running Sierra), using an STLink V2 with an Olimex ARM-JTAG-20-10 to connect to the module. When I try to upload this is what I get:
vagrant@vagrant-ubuntu-trusty-64:/vagrant/eurorack-modules$ make -f clouds/makefile upload_combo_jtag
openocd -s /opt/local/share/openocd/scripts/ -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "halt" -c "sleep 200"
-f stmlib/programming/jtag/erase_f4xx.cfg
-c "flash write_image erase build/clouds/clouds_bootloader_combo.bin 0x08000000"
-c "verify_image build/clouds/clouds_bootloader_combo.bin 0x08000000"
-c "sleep 200" -c "reset run" -c "shutdown"
Open On-Chip Debugger 0.9.0 (2020-08-25-19:04)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select '.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
none separate
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2 JTAG v29 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.007456
Error: init mode failed (unable to connect to the target)
in procedure 'init'
in procedure 'ocd_bouncer'
make: *** [upload_combo_jtag] Error 1
It appears that the computer is not seeing the processor. I have gone over the entire PCB several times, touched up several solder connections, checked continuity and routing against the circuit schematic and I can't find any errors. Does this mean that the processor chip is bad or is there some other communication error in play here??
TIA,
Dennis Kulpa
This came up for me and some others recently when trying to get the VM up on Win10 20H2 (which may or may not be relevant). After the 1st Vagrant up, it works fine but once the machine is halted and restarted it will no longer connect to the /vagrant folder and goes into a timeout loop. The work around is to "do-release-upgrade" on the first successful login which updates to Ubuntu 16.04.7 LTS, there is probably a much less time consuming fix but thats a bit above my pay grade.
The filename for stlink source zip in texane github has changed, causing vagrant provisioning to fail.
Modifying 0_install-toolchain.sh and adding a "v" in front of the filename fixes it.
The two lines which need to be changed are in the #install stlink section
wget -nv https://github.com/texane/stlink/archive/v1.1.0.tar.gz
tar xfz v1.1.0.tar.gz
I have manually modified the file and reprovisioned and verified that the stlink source downloads and installs correctly.
Yesterday I tried compiling the code for grids. The README says the following:
make -f clouds/bootloader/makefile hex
Unfortunately there is no hex target for grids. I was still able to generate the hex file by running make -f grids/bootloader/makefile
I don't know what would be the best option between fixing the doc or adding the hex target to the grids makefile.
Hi, I am on a Apple silicon M2 and the VirtualBox won't run on a non amd64 system (guessing it is refering to the video card, as old mac are intel based). according to the error I got.
Is it possible to run this over Docker?
I have a problem and don't know how to solve it. English is not my native language, so I am using a translation software. I would be grateful if you can help me.
Operating system: Windows 10
Downloader: ST-LINK/V2
Run make -f clouds/makefile upload
vagrant@vagrant-ubuntu-trusty-64:/vagrant/eurorack-modules$ make -f clouds/makefile upload
cat build/clouds/clouds.d build/clouds/cv_scaler.d build/clouds/resources.d build/clouds/settings.d build/clouds/ui.d build/clouds/adc.d build/clouds/codec.d build/clouds/debug_port.d build/clouds/gate_input.d build/clouds/leds.d build/clouds/switches.d build/clouds/system.d build/clouds/correlator.d build/clouds/granular_processor.d build/clouds/mu_law.d build/clouds/frame_transformation.d build/clouds/phase_vocoder.d build/clouds/stft.d build/clouds/atan.d build/clouds/units.d build/clouds/random.d build/clouds/bootloader_utils.d build/clouds/system_clock.d build/clouds/arm_common_tables.d build/clouds/arm_const_structs.d build/clouds/arm_bitreversal.d build/clouds/arm_cfft_f32.d build/clouds/arm_cfft_q15.d build/clouds/arm_cfft_q31.d build/clouds/arm_cfft_radix2_f32.d build/clouds/arm_cfft_radix2_init_f32.d build/clouds/arm_cfft_radix2_init_q15.d build/clouds/arm_cfft_radix2_init_q31.d build/clouds/arm_cfft_radix2_q15.d build/clouds/arm_cfft_radix2_q31.d build/clouds/arm_cfft_radix4_f32.d build/clouds/arm_cfft_radix4_init_f32.d build/clouds/arm_cfft_radix4_init_q15.d build/clouds/arm_cfft_radix4_init_q31.d build/clouds/arm_cfft_radix4_q15.d build/clouds/arm_cfft_radix4_q31.d build/clouds/arm_cfft_radix8_f32.d build/clouds/arm_dct4_f32.d build/clouds/arm_dct4_init_f32.d build/clouds/arm_dct4_init_q15.d build/clouds/arm_dct4_init_q31.d build/clouds/arm_dct4_q15.d build/clouds/arm_dct4_q31.d build/clouds/arm_rfft_f32.d build/clouds/arm_rfft_fast_f32.d build/clouds/arm_rfft_fast_init_f32.d build/clouds/arm_rfft_init_f32.d build/clouds/arm_rfft_init_q15.d build/clouds/arm_rfft_init_q31.d build/clouds/arm_rfft_q15.d build/clouds/arm_rfft_q31.d build/clouds/system_stm32f4xx.d build/clouds/misc.d build/clouds/stm32f4xx_adc.d build/clouds/stm32f4xx_can.d build/clouds/stm32f4xx_cec.d build/clouds/stm32f4xx_crc.d build/clouds/stm32f4xx_cryp_aes.d build/clouds/stm32f4xx_cryp.d build/clouds/stm32f4xx_cryp_des.d build/clouds/stm32f4xx_cryp_tdes.d build/clouds/stm32f4xx_dac.d build/clouds/stm32f4xx_dbgmcu.d build/clouds/stm32f4xx_dcmi.d build/clouds/stm32f4xx_dma2d.d build/clouds/stm32f4xx_dma.d build/clouds/stm32f4xx_dsi.d build/clouds/stm32f4xx_exti.d build/clouds/stm32f4xx_flash.d build/clouds/stm32f4xx_flash_ramfunc.d build/clouds/stm32f4xx_fmc.d build/clouds/stm32f4xx_fmpi2c.d build/clouds/stm32f4xx_fsmc.d build/clouds/stm32f4xx_gpio.d build/clouds/stm32f4xx_hash.d build/clouds/stm32f4xx_hash_md5.d build/clouds/stm32f4xx_hash_sha1.d build/clouds/stm32f4xx_i2c.d build/clouds/stm32f4xx_iwdg.d build/clouds/stm32f4xx_lptim.d build/clouds/stm32f4xx_ltdc.d build/clouds/stm32f4xx_pwr.d build/clouds/stm32f4xx_qspi.d build/clouds/stm32f4xx_rcc.d build/clouds/stm32f4xx_rng.d build/clouds/stm32f4xx_rtc.d build/clouds/stm32f4xx_sai.d build/clouds/stm32f4xx_sdio.d build/clouds/stm32f4xx_spdifrx.d build/clouds/stm32f4xx_spi.d build/clouds/stm32f4xx_syscfg.d build/clouds/stm32f4xx_tim.d build/clouds/stm32f4xx_usart.d build/clouds/stm32f4xx_wwdg.d build/clouds/arm_bitreversal2.d build/clouds/startup_stm32f4xx.d > build/clouds/depends.mk
openocd -s /opt/local/share/openocd/scripts/ -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "halt" -c "sleep 200"
-c "flash erase_address 0x08000000 32768"
-c "reset halt"
-c "flash write_image erase build/clouds/clouds_bootloader_combo.bin 0x08000000"
-c "verify_image build/clouds/clouds_bootloader_combo.bin 0x08000000"
-c "sleep 200" -c "reset run" -c "shutdown"
Open On-Chip Debugger 0.7.0 (2013-10-22-08:31)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
Runtime Error: /usr/share/openocd/scripts/target/stm32f4x.cfg:32: invalid command name "jtag_ntrst_delay"
in procedure 'script'
at file "embedded:startup.tcl", line 58
at file "/usr/share/openocd/scripts/target/stm32f4x.cfg", line 32
make: *** [upload_combo_jtag_erase_first] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.