You mean Boot to <play> after (short) ON on M100?Are doors & booting somehow connected?Theese Exceptions are not reporting a boot issue.
--[[@title save ROM crash log to ROMLOG.LOG@chdk_version 1.3requires CHDK built with native function call support@param a remove old files 1=yes, 0=no@default a 1@range a 0 1@param b append buildinfo@default b 1@range b 0 1@param n Take a look@default n 1@range n 0 1@param R Rename Romlog.Log@default R 0@range R 0 1@param M Merge to !Romlog.txt@default M 1@range M 0 1--]]
I have weird behaviour on the G7X2 when uploading / deleting DNG files from the DCIM image folder.I'm curious if the same happens on the M100, if anyone has time to test it.Uploading (with chdkptp) or deleting a .DNG file from the JPEG image folder crashes the camera if it is plugged into the PC via USB.Crash is in FsIoNotify task, ObjTreeMgr.c module, line 804.The file does not have to be a real DNG file or an image taken with the camera, so long as the name is in the normal image format (IMG_xxxx.DNG) then it will crash when uploaded or deleted. Deleting can be with the CHDK file browser or via chdkptp.It also crashes if the file extension is .CRW.
It also occurred to me that the CPU cache routines used in CHDK may not be adequate in a dual-core setup. We're probably only clearing the cache on one core...
- There is an ugly memory corruption issue which I can't currently reproduce. It appeared to be triggered by saving a romlog from menu, crash happened on the next GetMemInfo call. At least one fw variable (used by GetMemInfo) was corrupted.
I tried a few combinations with dummy files (CRW, DNG) matching the name of a real JPG. No crashes.
I don't think it's cache related.If I rename the file in our 'remove' function before deleting it, then the camera does not crash.
About caching:I don't think we'll get away without having caching problems. The physw task is started on core1, task_startup runs on core0, spytask is started by task_startup via regular CreateTask, which (if this observation is true) means it's on core0 too. When we load a module, icache and dcache is cleared/cleaned on the core that performs the load, but caches (probably L2) are not currently sync'd.
chdkptp -e"exec require'camtests'.runbatch{bench=true,shoot=true,filexfer=true,xfersizebugs=true}
*** GESTARTET ***rm A/ROMLOG.LOG: trueA/ROMLOG.LOG existsOccured Time 2020:10:14 17:59:50A/CHDK/SCRIPTS/EDITOR/Romlog.lua:808464944: 'for' initial value must be a number*** ABGEBROCHEN ***
Short blink of the LED means that the diskboot.bin was started.
My first verbous Romlog on M100Task name: PhySw< Exc Registers > pressing shoot to end script, cam died after (within?) focusbeep...&& Once happenedCode: [Select]*** GESTARTET ***rm A/ROMLOG.LOG: trueA/ROMLOG.LOG existsOccured Time 2020:10:14 17:59:50A/CHDK/SCRIPTS/EDITOR/Romlog.lua:808464944: 'for' initial value must be a number*** ABGEBROCHEN ***
Started by Ant « 1 2 ... 66 67 » DryOS Development
Started by srsa_4c « 1 2 ... 14 15 » General Discussion and Assistance
Started by c_joerg « 1 2 » Firmware Dumping
Started by psxpetey General Discussion and Assistance
Started by cloudv General Discussion and Assistance