Problem with 1.0.11 and uploading on sd card

1.0.11

#1

hello,

i come back to 1.0.10 because on eachs upload of patch in sdcard the patcher freeze and i need to disconnected and reconnected board from the pc.

may be this information can be usefull for developpers.

my config Asus x7bjq 64x, W7

sorry for my english :slight_smile:


Fw 1.0.11 crashes the board after loading same patch couple of times
#2

is then when you press 'go live' ?

when you installed Axoloti, it would have asked you to update the firmware, did this happen correctly?
AND... it would be useful if, after the firmware update, you turn the axoloti board off and on.

(we did use to have a bug where, the first time you upload a patch after firmware update, it would 'freeze' the board, but a power cycle would fix it.... but I do believe the bug was fixed)

can you post the contents of console, so we can see what messages are being displayed by axoloti. it will also tell us if the firmware was correct on the axoloti board.

are there any other windows 7 users that are having similar issues with 1.0.11? or are running 1.0.11 successfully?


#3

unfortunately i 've re-installed 1.0.10 and i've not save messages of console in 1.0.11. But apparently it is correctly installed.
And this is then sometime when i press "live" button, and in the first time that i use v1.0.11 the upload work perfect, the next day that i use it finish, impossible to upload any files.


#4

I don't have a W7 machine, only W10, so I cant test it, perhaps johannes has a machine with W7

please bare in mind theres only a few of us doing dev, so we don't have access to all variations of machines/operating systems etc. so its vital we work with users to resolve the issues, and without the console log is impossible for us to know what happened...

my suggestion (assuming johannes or someone else with W7 cannot shed more light on this) is:

you can installed two version of Axoloti alongside each other.
a) rename the installed Axoloti folder to say Axoloti_1_0_10
b) COPY the Documents/axoloti to axoloti_1_0_10
you can now run axolotl 1.0.10 and you should find it uses Documents/axoloti_1_0_10
(there will also be a message in the console about 'using versioned home'

c) install Axoloti 1.0.11
this will upgrade Documents/Axoloti to 1.0.11

BUT you will still be able to use Axoloti 1.0.10, as its now using Documents/axoloti_1_0_10


#5

Thanks for the report, I'm working on it.


#6

ok i can't now but when a can (i think tomorow or saturday) i re-install the 1.0.11 and give you the messages of console if the issue persist.


#7

I, ve reinstalled the v1.0.11, and here some screens of console.

Screen after install. normally is correctly installed?

Screen after freeze when i set live mode. patcher is not in live mode and the button toggle livemode is grey. patcher do not respond.

complete message:

Axoloti version : 1.0.11-0-g4ffd432 build time : 28/08/2016 19:54:34 CEST
Link to firmware CRC 50A29AA2
Status: factory (1.0.11,anon) : OK ( 1.0.11,clean )
Status : home : OK
Status: community (1.0.11,anon) : OK ( 1.0.11,dirty )
Changes for: community (1.0.11,anon)
modified: patches/jt/patchbank-test/sine3.axp
modified: patches/jt/patchbank-test/sine1.axp
uncommited: patches/jt/patchbank-test/sine3.axp
uncommited: patches/jt/patchbank-test/sine1.axp
Status : MonAXOLOTi : OK
USB device found
connected
Authentic Axoloti Core
search path : C:\Users\dric\Documents\axoloti\axoloti-factory\objects
failed to load patch, firmware version mismatch? filename:"/start.bin"
Firmware version: 1.0.0.1, crc=0x50A29AA2, entrypoint=0x20011000
search path : C:\Users\dric\Documents\axoloti\objects
search path : C:\Users\dric\Documents\axoloti\axoloti-contrib\objects
search path : D:\AXOLOTi\objects
finished loading objects
Start deleting file on sdcard : /SynthMono2/patch.bin
deleting: /SynthMono2/patch.bin
Done deleting file
Start deleting file on sdcard : /start.bin
deleting: /start.bin
Done deleting file
Start deleting file on sdcard : /index.axb
deleting: /index.axb
Done deleting file
Start deleting file on sdcard : /SynthMono2
deleting: /SynthMono2
Done deleting file
Saving preferences...
preferences path : C:\Users\dric\Documents\axoloti\axoloti.prefs
Saving preferences...
preferences path : C:\Users\dric\Documents\axoloti\axoloti.prefs
Generate code complete
Start creating directory on sdcard : /SynthMono2
creating dir: /SynthMono2
Done creating directory
Changing working directory on sdcard : /SynthMono2
Change working directory: /SynthMono2
Done changing working directory
Start compiling patch
BDIR = C:\Users\dric\DOCUME~1\axoloti/build
FIRMWARE = .
"RM"
rm -f C:\Users\dric\DOCUME~1\axoloti/build/xpatch.o C:\Users\dric\DOCUME~1\axoloti/build/xpatch.elf C:\Users\dric\DOCUME~1\axoloti/build/xpatch.bin C:\Users\dric\DOCUME~1\axoloti/build/xpatch.d C:\Users\dric\DOCUME~1\axoloti/build/xpatch.map C:\Users\dric\DOCUME~1\axoloti/build/xpatch.lst
"APP"
arm-none-eabi-g++ -nostdlib -fno-exceptions -fno-rtti -mcpu=cortex-m4 -O3 -fomit-frame-pointer -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wunused-parameter -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB -std=c++11 -DARM_MATH_CM4 -D__FPU_PRESENT -fno-math-errno -fno-threadsafe-statics -H -IC:\PROGRA~2\Axoloti\app/CMSIS/Include -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/common/ARMCMx/CMSIS/include -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/common/ARMCMx -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/GCC/ARMCMx -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/GCC/ARMCMx/STM32F4xx -IC:\PROGRA~2\Axoloti\app/chibios/os/kernel/include -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/include -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32F4xx -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/GPIOv2 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/I2Cv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/OTGv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/RTCv2 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/SPIv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/TIMv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/USARTv1 -IC:\PROGRA~2\Axoloti\app/chibios/boards/ST_STM32F4_DISCOVERY -IC:\PROGRA~2\Axoloti\app/chibios/ext/fatfs/src -I. -IC:\PROGRA~2\Axoloti\app/chibios -Winvalid-pch -MD -MP --include C:\Users\dric\DOCUME~1\axoloti/build/xpatch.h -c C:\Users\dric\DOCUME~1\axoloti/build/xpatch.cpp -o C:\Users\dric\DOCUME~1\axoloti/build/xpatch.o
! C:\Users\dric\DOCUME~1\axoloti/build/xpatch.h.gch
C:\Users\dric\DOCUME~1\axoloti/build/xpatch.cpp: In member function 'void rootc::instanceallpass__1::dsp(const int32_t*, int32_t (&)[16], int)':
C:\Users\dric\DOCUME~1\axoloti/build/xpatch.cpp:4466:23: warning: integer overflow in expression [-Woverflow]
int32_t g2c = ((1< ^
LINK
arm-none-eabi-gcc -nostartfiles -Tramlink.ld -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mno-thumb-interwork C:\Users\dric\DOCUME~1\axoloti/build/xpatch.o -Wl,-Map=C:\Users\dric\DOCUME~1\axoloti/build/xpatch.map,--cref,--just-symbols=./build/axoloti.elf -o C:\Users\dric\DOCUME~1\axoloti/build/xpatch.elf
BIN
arm-none-eabi-objcopy -O binary C:\Users\dric\DOCUME~1\axoloti/build/xpatch.elf C:\Users\dric\DOCUME~1\axoloti/build/xpatch.bin
Done compiling patch
Start uploading patch
bin path: C:\Users\dric\Documents\axoloti\build\xpatch.bin
block uploaded @ 0x20011000 length 19728
Disconnect request
Done uploading patch

and message of console if i restart Axoloti patcher without deconnect board:

if i try to load directly patch on board without set in live mode. i can see file in sdcard but file have 0kb.


#8

generally the install looks fine, and the patch has been compiled correctly (albeit with a warning but I don't think this is the cause)

so we now need to figure out why... my guess (and its that!) is perhaps its something in this patch.
can you post the patch here, so I can try it.
(Im assuming this patch works on 1.0.10, but perhaps 1.0.11 is having an issue for some reason)

can you try a few of the tutorial and demo patches in the factory library
e.g. file -> library ->factory ->demo/tutorials

do they all have the same problem.


#9

Ok no problem, currently i'm not in my studio but tomorow i try and send you the patch and report.


#10

hello sorry for delay but i've some chickens on fire at this time! :wink:

i've try with patch created with v11 and it work.. i send you my old patch.
may be you can let me know why it not work in v11

SynthMono2.axp (37.3 KB)

i need to remake all of my patch?! hmmmm..


#11

Maybe try copy paste all objects from olde patch into a new patch created in 1.0.11?


#12

Oups... finally i try to remake my patch and after some time not work..

Same problem.

if i try to load patch in the sdcard. the live button become grey, i need to deconnect board, then i will see in the card manager and the weight of file is 0kb


#13

Ok, so Ive tried your attached patch and I have no problems with it...

I was able to go live... and the board did not disconnect.
I was able to upload the patch to the SDCard , and again no issues, the file was correctly uploaded and 20kb

so I see no issue with the patch, it seems something about your setup...

a) did you try the demo patches as I requested? do these ALL work, or only some of them?
b) is this only an issue if you use "upload to SDCard" , or does this also happen when you just hit 'go live'

  • one thing you could try to do is to format your SDCard, try the technique as details in this post ... this is the preferred way, ensuring that axoloti does the formatting.
  • also if its related to the SD Card , try a different SD card.

we really need to determine what is happening as its seems a bit odd is going on. ... and I can't think what might have changed between 1.0.10 and 1.0.11 which would make it behave differently.

note: I'm using mac OS X, @johannes perhaps you can try this on windows? or anyone else that has W7 that would be useful.


#14

i've formated the card. but no change.. some tutorial patchs work, i can go live and i can upload, and some others not work, if i upload the same issue.

the most issue is when i upload in sdcard.
one on two there are freeze.

i've not other sdcard for test.


#15

i've reinstalled V1.0.10 and work fine.


SirSickSik Contributions
#16

Thanks for the report, I believe I have identified the cause, and will follow up with an updated release.


#17

Cool, thanks for your hard work johannes and thetechnobear. And sorry of cause you troubles.