Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lokki

Pages: 1 ... 6 7 [8] 9 10 ... 26
106
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 17, 2020, 09:56:49 AM »
ok i see it on GitHub, wow how did you manage to find that out so quickly? it seems like a really unobvious thing...or did you have an old unoptimised firmware that was running nicely and you took it from there?

107
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 17, 2020, 09:44:39 AM »
hey xavier, it seems stable now! great!! i rebooted about ten times, it worked every time.

curious, what did you change?

108
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 17, 2020, 08:38:51 AM »
Oh boy, thanks! Great to know, that I am not alone :) will try the firmware asap

109
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 10:55:50 PM »
this is from one time it worked:

Code: [Select]
"sessionID" = 3911869770800
          "iManufacturer" = 1
          "bNumConfigurations" = 1
          "idProduct" = 22336
          "bcdDevice" = 256
          "Bus Power Available" = 250
          "USB Address" = 3
          "bMaxPacketSize0" = 64
          "iProduct" = 2
          "iSerialNumber" = 0
          "bDeviceClass" = 0
          "Built-In" = No
          "locationID" = 336592896
          "bDeviceSubClass" = 0
          "bcdUSB" = 272
          "USB Product Name" = "preenfm3"
          "PortNum" = 1
          "non-removable" = "no"
          "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
          "bDeviceProtocol" = 0
          "IOUserClientClass" = "IOUSBDeviceUserClientV2"
          "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
          "kUSBCurrentConfiguration" = 1
          "Device Speed" = 1
          "USB Vendor Name" = "Xavier Hosxe"
          "idVendor" = 1155
          "IOGeneralInterest" = "IOCommand is not serializable"
          "IOClassNameOverride" = "IOUSBDevice"

do you get the same readings and values? i.e. power state etc.? and bus power available?

from the packet size it looks like you made the device usb 1.1 compatible, right? could you make it usb 2.0 with 512 bytes packet size?

110
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 10:50:53 PM »
Unfortunately I can confirm, that 0.97 is also only working VERY sporadically.
Interestingly it always seems to work after the firmware upload...so the first boot is ok. I wonder how and why that could be, since I unplug the preenfm3 in between and set the jumper...

111
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 10:24:45 AM »
ok, did another firmware reflash to 0.97 and usb-midi works again, strange.

did re-update to 0.99b and it works for 2 or 3 reboots and then stops working again. really f***ing strange.

will have to reflash 0.97 and do more then a couple of reboots to check if it is really reliable then.



112
preenfm2 and preenfm3 / Re: MPE?
« on: December 15, 2020, 10:13:50 AM »
they did what they could within the given protocol (MIDI) but it is obvious that midi was never thought to be used that way, hence the whole channel rotation "mess"

113
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 10:11:13 AM »
sd card access gives me this:

Code: [Select]
+-o STM32 Mass Storage@14100000  <class AppleUSBDevice, id 0x100000a38, registered, matched, active, busy 0 (3 ms), retain 21>
        {
          "sessionID" = 1922088129427
          "iManufacturer" = 1
          "bNumConfigurations" = 1
          "idProduct" = 22314
          "bcdDevice" = 512
          "Bus Power Available" = 250
          "USB Address" = 14
          "bMaxPacketSize0" = 64
          "iProduct" = 2
          "iSerialNumber" = 3
          "bDeviceClass" = 0
          "Built-In" = No
          "locationID" = 336592896
          "bDeviceSubClass" = 0
          "bcdUSB" = 512
          "USB Product Name" = "STM32 Mass Storage"
          "PortNum" = 1
          "non-removable" = "no"
          "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
          "bDeviceProtocol" = 0
          "IOUserClientClass" = "IOUSBDeviceUserClientV2"
          "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3}
          "kUSBCurrentConfiguration" = 1
          "Device Speed" = 1
          "USB Vendor Name" = "STMicroelectronics"
          "idVendor" = 1155
          "uid" = "USB:0483572A375F35743030"
          "IOGeneralInterest" = "IOCommand is not serializable"
          "USB Serial Number" = "375F35743030"
          "IOClassNameOverride" = "IOUSBDevice"
        }

with the above command...

DFU:

Code: [Select]
   +-o DFU in FS Mode@14100000  <class AppleUSBDevice, id 0x100000a8b, registered, matched, active, busy 0 (2 ms), retain 16>
        {
          "sessionID" = 2206053589421
          "iManufacturer" = 1
          "bNumConfigurations" = 1
          "idProduct" = 57105
          "bcdDevice" = 512
          "Bus Power Available" = 250
          "USB Address" = 15
          "bMaxPacketSize0" = 64
          "iProduct" = 2
          "iSerialNumber" = 3
          "bDeviceClass" = 0
          "Built-In" = No
          "locationID" = 336592896
          "bDeviceSubClass" = 0
          "bcdUSB" = 512
          "USB Product Name" = "DFU in FS Mode"
          "PortNum" = 1
          "non-removable" = "no"
          "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
          "bDeviceProtocol" = 0
          "IOUserClientClass" = "IOUSBDeviceUserClientV2"
          "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3}
          "Device Speed" = 1
          "USB Vendor Name" = "STMicroelectronics"
          "idVendor" = 1155
          "IOGeneralInterest" = "IOCommand is not serializable"
          "USB Serial Number" = "200364500000"
          "IOClassNameOverride" = "IOUSBDevice"
        }

and normal boot shows nothing, nada, rien :-)

114
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 10:05:37 AM »
Interesting...

The SD Card access from bootloader is slow but it works reliably. I can copy files, delete them or create new folders...

This seems to rule out a hardware issue.

The bootloader reboot thing did not help, the preenfm3 is still not recognized.

115
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 01:08:51 AM »
Ok on Linux it is better, it works one out of 10 I would say :) no pattern...

116
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 15, 2020, 12:49:09 AM »
I have tried with several cables. That output was of one time it was working(approximately one out of 30 times it works).

In dfu mode it works every time which really makes me think it is not a hardware issue.

I have access to several macs, some with Linux other with osx on them. Will try to find a pc with windows on it...

117
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 14, 2020, 04:23:53 PM »
Is there a debug mode available that could show me this info somehow?
The clock frequency i mean... Will boot up Linux later, since I am more familiar with lsusb and dmesg...

118
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 14, 2020, 04:03:51 PM »
ok, with a wall wart (and the jumper set to dc in) it is also not recognized.

Hmm...will try a reflash. could a bug in the bootloader prevent usb midi from working? or is the usb stuff completely in firmware?

119
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 14, 2020, 03:49:11 PM »
Yes, put the command I wrote above into a terminal...

ioreg -p IOUSB -l -w 0

It will give you a list of all devices and the driver it uses etc. preenfm3 is not even listed here when I boot it normally. I will next try to boot without usb power and a wall wart supply to see if it changes something.

120
preenfm2 and preenfm3 / Re: usb midi not working in 0.99b?
« on: December 14, 2020, 02:29:26 PM »
ok thanks.

is there any difference in USB communication between the DFU mode and regular synth boot up?? can one fail and the other work? from a hardware point of view, the connections are exactly the same, so if one works, the other should work as well, right?

i really don't know what to try here...

i tried with puredata, but i can also not see it in audio midi setup (well i can see that it was once online, but not anymore)

i don't know about the tft, does not seem to make a difference after all. i am just baffled it used to work, and not anymore, i did not change anything on the preenfm3 except for firmware upload...

Pages: 1 ... 6 7 [8] 9 10 ... 26