I am failing miserably to follow the exact steps for this Tesseract Modular "Step Fader" electronic music Eurorack sequencer module as outlined here:
To fool the compiler to uploading on a Mac, you must find the hidden folder on your Mac that is similar to the file as saved in the Example files such as "Blink". Using Arduino IDE, I found that folder, and copied the firmware.hex file to it. I can successfully modify the code of the LED as shown here:
Sketch uses 11448 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 3560 bytes (10%) of dynamic memory, leaving 29208 bytes for local variables. Maximum is 32768 bytes.
Performing 1200-bps touch reset on serial port /dev/cu.usbmodem14601
Waiting for upload port...
Upload port found on /dev/tty.usbmodem14601
"/Users/sines/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac" -i -d --port=tty.usbmodem14601 -U true -i -e -w -v " Blink.ino.bin" -R
Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Apr 19 2019 14:38:48
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device : ATSAMD21G18A
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Chip ID : 10010005
version()=v2.0 [Arduino:XYZ] Apr 19 2019 14:38:48
Version : v2.0 [Arduino:XYZ] Apr 19 2019 14:38:48
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security : false
Boot Flash : true
readWord(addr=0x40000834)=0x7000a
BOD : true
readWord(addr=0x40000834)=0x7000a
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.732 seconds
Write 11448 bytes to flash (179 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
[========== ] 35% (64/179 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[===================== ] 71% (128/179 pages)write(addr=0x20005000,size=0xcc0)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0xcc0)
[==============================] 100% (179/179 pages)
done in 0.069 seconds
Verify 11448 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = e7cf
checksumBuffer(start_addr=0x3000, size=0x1000) = 1710
checksumBuffer(start_addr=0x4000, size=0xcb8) = 30bc
Verify successful
done in 0.009 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)
I thought I could "cheat" and place the .hex file from here, Firmware - Google Drive
I've attempted to find the Examples folder, and restart Arduino IDE, but I believe you can only do that with .ino files, which won't work.
When I try to do this portion
5- Place the Step Fader firmware file in the same folder, in my case (MAC):
private/var/folders/49/hlvnskjd2k31xmd09bvxcwhm0000gn/T/arduino_build_732480/
6- Open the Terminal (MAC) or Open the MS Windows application cmd (preferably use PowerCmd instead because it allows you to work with copy and paste like any Windows application) and paste the copied text, but change the last part "Blink.ino.hex:i" to "Step_Fader_v13.ino.eightanaloginputs.hex:i" and press enter.
If you see this everything has gone fine.:
I get the following:
sines@scale-MBP Resources % /Users/sines/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac -i -d --port=tty.usbmodem14601 -U true -i -e -w -v /private/var/folders/k2/0cbgkk2x46b30zg8yb82196m0000gn/T/arduino/sketches/AFC9D41E12EF4AD97E0D4D78F786F11A/Step_Fader_v17.ino.eightanaloginputs.hex -R
Set binary mode
Send auto-baud
Set binary mode
No device found on tty.usbmodem14601
Anyone have an idea on how to solve this? I have received no response from the hardware developer yet, but so far, I think this is an Arduino only issue.