___> !mc=require('multicam')___> !mc:connect({list='C:/CHDKPTP/listfile'})+ 1:Canon PowerShot SX150 IS b=\\.\libusb0-0001--0x04a9-0x3234 d=bus-0 s=9A952438E0A647E9AC0179DDC30582D5+ 2:Canon PowerShot SX150 IS b=\\.\libusb0-0002--0x04a9-0x3234 d=bus-0 s=689D5005104943C09E988E4EA8301E22+ 3:Canon PowerShot SX150 IS b=\\.\libusb0-0003--0x04a9-0x3234 d=bus-0 s=E21B7D737E5D4291B5DD048230963CF6+ 4:Canon PowerShot SX150 IS b=\\.\libusb0-0004--0x04a9-0x3234 d=bus-0 s=449A58C8297A4CCDAD05327C6BDD6FC2+ 5:Canon PowerShot SX150 IS b=\\.\libusb0-0005--0x04a9-0x3234 d=bus-0 s=A42727D40A154E39945D810173405135+ 6:Canon PowerShot SX150 IS b=\\.\libusb0-0006--0x04a9-0x3234 d=bus-0 s=6C13E0EB6FF04FEF9D0F50BFAB5B9420+ 7:Canon PowerShot SX150 IS b=\\.\libusb0-0007--0x04a9-0x3234 d=bus-0 s=F5C31012304A49F4B4D84B8736A8714C+ 8:Canon PowerShot SX150 IS b=\\.\libusb0-0008--0x04a9-0x3234 d=bus-0 s=52358FA70E8940F9B145A6C7053BB251+ 9:Canon PowerShot SX150 IS b=\\.\libusb0-0009--0x04a9-0x3234 d=bus-0 s=3AE0C06EB29A4819B9E48764D58B9E2D+ 10:Canon PowerShot SX150 IS b=\\.\libusb0-0010--0x04a9-0x3234 d=bus-0 s=D10AC15E25614FEBB5AF36C058AE46E1+ 11:Canon PowerShot SX150 IS b=\\.\libusb0-0011--0x04a9-0x3234 d=bus-0 s=774F387C25634767917D45F411CF1C0C+ 12:Canon PowerShot SX150 IS b=\\.\libusb0-0012--0x04a9-0x3234 d=bus-0 s=FE454C0413DA4B4F8B00FC8B52DD2853+ 13:Canon PowerShot SX150 IS b=\\.\libusb0-0013--0x04a9-0x3234 d=bus-0 s=31DD97F7523B4654B55781E96DE9D38E+ 14:Canon PowerShot SX150 IS b=\\.\libusb0-0014--0x04a9-0x3234 d=bus-0 s=82AF4BBBDDE74EC69EB783057889B66E+ 15:Canon PowerShot SX150 IS b=\\.\libusb0-0015--0x04a9-0x3234 d=bus-0 s=9E5157ABAF954861A345B6C0775E14BE+ 16:Canon PowerShot SX150 IS b=\\.\libusb0-0016--0x04a9-0x3234 d=bus-0 s=2C638E36A31242B8B600ED3341D91884___> !mc:start()___> !return mc:cmdwait('lock_ptp_comms')lock_ptp_comms___> !return mc:cmdwait('rec')rec___> !return mc:cmdwait('preshoot')preshoot___> !return mc:cmdwait('usb_sync_wait')usb_sync_wait___> !return mc:cmdwait('play')play___> !mc:download_images({lastimg=1,fmatch='JPG$'})___> !mc:delete_images_list(mc:imglist(),{verbose=true})os.remove("A/DCIM/141___09/IMG_3512.JPG")os.remove("A/DCIM/140___09/IMG_3335.JPG")os.remove("A/DCIM/140___09/IMG_2373.JPG")os.remove("A/DCIM/109___09/IMG_1292.JPG")os.remove("A/DCIM/139___09/IMG_2394.JPG")os.remove("A/DCIM/804___05/IMG_1895.JPG")os.remove("A/DCIM/804___09/IMG_1891.JPG")os.remove("A/DCIM/804___09/IMG_1744.JPG")os.remove("A/DCIM/114___09/IMG_0948.JPG")os.remove("A/DCIM/156___09/IMG_2470.JPG")os.remove("A/DCIM/114___09/IMG_0497.JPG")os.remove("A/DCIM/130___01/IMG_1695.JPG")os.remove("A/DCIM/122___09/IMG_0447.JPG")os.remove("A/DCIM/101___09/IMG_0007.JPG")os.remove("A/DCIM/101___09/IMG_0026.JPG")os.remove("A/DCIM/101___09/IMG_0027.JPG")os.remove("A/DCIM/110___09/IMG_0865.JPG")etc etc___> !return mc:cmdwait('rec')rec___> !return mc:cmdwait('preshoot')preshoot___> !return mc:cmdwait('usb_sync_wait')usb_sync_wait___> !return mc:cmdwait('play')play___> !mc:download_images({lastimg=1,fmatch='JPG$'})___> !mc:delete_images_list(mc:imglist(),{verbose=true})os.remove("A/DCIM/141___09/IMG_3520.JPG")os.remove("A/DCIM/140___09/IMG_3343.JPG")os.remove("A/DCIM/140___09/IMG_2381.JPG")os.remove("A/DCIM/109___09/IMG_1300.JPG")os.remove("A/DCIM/139___09/IMG_2402.JPG")os.remove("A/DCIM/804___05/IMG_1903.JPG")os.remove("A/DCIM/804___09/IMG_1899.JPG")os.remove("A/DCIM/804___09/IMG_1752.JPG")os.remove("A/DCIM/114___09/IMG_0956.JPG")os.remove("A/DCIM/156___09/IMG_2478.JPG")os.remove("A/DCIM/114___09/IMG_0505.JPG")os.remove("A/DCIM/130___01/IMG_1703.JPG")os.remove("A/DCIM/122___09/IMG_0455.JPG")os.remove("A/DCIM/101___09/IMG_0015.JPG")os.remove("A/DCIM/101___09/IMG_0035.JPG")os.remove("A/DCIM/110___09/IMG_0873.JPG")___> !return mc:cmdwait('rec')rec___> !return mc:cmdwait('preshoot')preshoot___> !return mc:cmdwait('usb_sync_wait')usb_sync_wait___> !return mc:cmdwait('play')play___> !mc:download_images({lastimg=1,fmatch='JPG$'})___> !mc:delete_images_list(mc:imglist(),{verbose=true})ERROR: call failed:I/O error___>
romlog & modules.log attached (the camera date is not current but is consistent with romlog - I must have missed updating that).
Exception!! Vector 0x10Occured Time 2015:05:07 11:20:33Task ID: 39321683Task name: PTPSessionTA0Exc Registers:0x03cc55c00x003372680x0033726c0x00031eb00x040372e0 R40x0002d7680x000000030x0002d7b00xffffffff0x00005b380x0019eb480x199802180x003372700x003372100x03ca81c1 LR0x03cb328a PC0x00000033
03cb326c <suba_getmeminfo>:... 3cb328a: 6823 ldr r3, [r4, #0]
Quote from: andrew.stephens.754365 on 20 / September / 2017, 08:17:53romlog & modules.log attached (the camera date is not current but is consistent with romlog - I must have missed updating that).Thanks, that romlog definitely points to a bug in CHDK code. I haven't had time to dig into it deeply yet.For future reference or other interested developers, it appears to be in suba_getmeminfo, which is called from the PTP task to calculate available memory for buffers (which is an ugly thing I've wanted to clean up for a long time, but that's another story).Code: [Select]Exception!! Vector 0x10Occured Time 2015:05:07 11:20:33Task ID: 39321683Task name: PTPSessionTA0Exc Registers:0x03cc55c00x003372680x0033726c0x00031eb00x040372e0 R40x0002d7680x000000030x0002d7b00xffffffff0x00005b380x0019eb480x199802180x003372700x003372100x03ca81c1 LR0x03cb328a PC0x00000033Code: [Select]03cb326c <suba_getmeminfo>:... 3cb328a: 6823 ldr r3, [r4, #0]
R0 = (*suba) would appear to be an EXMEM address for the SX150.R4 = (*c - iterator through free list) is outside the EXMEM range (based on the build settings).
R4 also looks to be outside the camera RAM address range which might explain the data abort exception.
- race condition across threads using suba malloc/free messing up the allocator
mc:cmd() will return as soon as the commands are sent...If you want to get any status messages generated ...you can use wait_status_msg with the name of your command, mc:print_cmd_status(mc:wait_status_msg('my_shoot_command'))
Out of interest and to be sure - if a cameraside command included 2 (or more) sets of wait_timeout_write_status then the first occurrence of mc:print_cmd_status would provide the first function write_status(status,msg) write_usb_msg from the camera and a second mc:print_cmd_status would provide the second etc? (is that up to 15 messages?)
If I knew i've forgotten - can (/how) queued camera messages be deleted?
mc:print_cmd_status just outputs the status values it is passed
I am always conscious though that mphx does not seem (in my memory) to have encountered much in the way of ptp based problems in his multicam build thread
As I mentioned earlier in this thread:QuoteI am always conscious though that mphx does not seem (in my memory) to have encountered much in the way of ptp based problems in his multicam build threadIn the circumstances, I currently lean toward a port specific issue - could it be safe to assume a long time (or never) for an SX150IS solution to the ptp reported crash? (it is likely to be "never" before I developed the skills to be useful in a solution to that).
Started by superfly Feature Requests
Started by artanim Creative Uses of CHDK
Started by indian22 « 1 2 3 4 5 » General Discussion and Assistance
Started by ghust10 RAW Shooting and Processing
Started by amavroidis « 1 2 ... 5 6 » General Discussion and Assistance