|
Post by progman on Oct 15, 2016 8:20:39 GMT
hi all
i try to find the system to spy or monitoring MOSI and MISO stand alone.
i want to connected this system on xyloband directely and catch the frame MISO and MOSI into concert.
i want this system to storing on SD or EPPROM all frames.
best regard
|
|
|
Post by ayelix on Oct 16, 2016 20:30:18 GMT
It is not exactly what you describe, but I use this to monitor SPI traffic. Requires a PC to use. dangerousprototypes.com/docs/Bus_PirateMaybe combining it with a small computer like raspberry pi could help... but probably easier to build a new standalone device.
|
|
dipak
New Member
Posts: 4
Xyloband type: xylo5-C Model
|
Post by dipak on Oct 17, 2016 9:21:51 GMT
ayelix, Did you use a Bus Pirate to monitor the Xyloband SPI traffic, and if so was it successful? The reason I ask is because I originally tried a Bus Pirate with my Xyloband and the data that I saw was meaningless. The Bus Pirate has a maximum sampling rate of 1Mbit/sec and I thought that this might be the problem. I then use this logic analyser hobbycomponents.com/testing/243-hobby-components-usb-8ch-24mhz-8-channel-logic-analyserand I successfully monitored the SPI data on the Xyloband which showed a bit rate of 4Mbits/sec. My Xyloband is the xylo-5c and the data that I saw closely matched the data seen by stefankrupop shown on another post in this forum.
|
|
|
Post by progman on Oct 17, 2016 14:56:26 GMT
It is not exactly what you describe, but I use this to monitor SPI traffic. Requires a PC to use. dangerousprototypes.com/docs/Bus_PirateMaybe combining it with a small computer like raspberry pi could help... but probably easier to build a new standalone device. thank ayelix, i see the bus pirate and raspi is the solution may be is not possible to enter on the concert because the security Security : ' what is in your bag ' Me : 'is the sniffer to xyloband' hahahah i find the solution on teensy or arduino or pic .
|
|
rodders
New Member
Posts: 21
Xyloband type: Speaker Model
|
Post by rodders on Oct 17, 2016 19:10:18 GMT
dipak, ayelix, progman,
I think you have shown why my SPI-Spy wasn't getting the data in the same way that Stefan did - I think my clock rate for the SCLK might need increasing. I'll re-work it.
progman: Although a great idea, and one that would solve our packet format questions....I really don't recommend taking homemade electronics into a music concert :-) You may have your hardware taken off you, you might get refused entry (tickets aren't cheap), you might get a lifetime ban or worse still, spend the night explaining to the police that it wasn't linked to terrorism !
That said, I wish I'd taken some equipment up to the Coldplay concert in Wembley (UK). There was absolutely notebody outside during the concert and I could have easily sniffed the RF packets without anyone asking me what I was doing.
Rodders
|
|
|
Post by stefankrupop on Oct 17, 2016 23:12:00 GMT
In June 2017 there will be a Coldplay concert in a city in my region. If we will not have solved the packet question by then I will probably also be outside the arena with some kind of sniffing device, hoping that the RF will be strong enough to be received outside Stefan
|
|
|
Post by ayelix on Oct 18, 2016 2:14:31 GMT
ayelix, Did you use a Bus Pirate to monitor the Xyloband SPI traffic, and if so was it successful? The reason I ask is because I originally tried a Bus Pirate with my Xyloband and the data that I saw was meaningless. The Bus Pirate has a maximum sampling rate of 1Mbit/sec and I thought that this might be the problem. I did use the bus pirate, but with the binary sniffing mode which can go to 10MHz. I thought the normal SPI mode could go to 8MHz... The output looked good, but I did not have time to record it and analyze it. Hopefully I will have time for that soon!
|
|
dipak
New Member
Posts: 4
Xyloband type: xylo5-C Model
|
Post by dipak on Oct 18, 2016 10:22:01 GMT
Thank you ayelix, I had no idea of the capabilities of the Bus Pirate! I also have the xylo-5c which I obtained a few months ago when I was at Glastonbury and have already recorded and analysed the SPI data which might be of use to you. The SPI traffic is attached in a text document SPI traffic.txt (2.38 KB) SPI.xls (20.5 KB) and there are slight differences between this and the data that Stefan has already provided and the differences relate to the different hardware between the xylo-5c and the speaker versions of the Xyloband. I am fairly certain that in Europe a radio frequency of 869.5MHz is used, but if you are outside of Europe (particularly USA), it will be interesting to see if there is a different frequency used. The parameters at addresses 4000 to 4007 define the radio frequency. ayelix, feel free to move this post to the xylo-5c section of the forum if it is not relevant here.
|
|
|
Post by progman on Oct 18, 2016 16:01:35 GMT
Thank you ayelix, I had no idea of the capabilities of the Bus Pirate! I also have the xylo-5c which I obtained a few months ago when I was at Glastonbury and have already recorded and analysed the SPI data which might be of use to you. The SPI traffic is attached in a text document View Attachment View Attachment and there are slight differences between this and the data that Stefan has already provided and the differences relate to the different hardware between the xylo-5c and the speaker versions of the Xyloband. I am fairly certain that in Europe a radio frequency of 869.5MHz is used, but if you are outside of Europe (particularly USA), it will be interesting to see if there is a different frequency used. The parameters at addresses 4000 to 4007 define the radio frequency. ayelix, feel free to move this post to the xylo-5c section of the forum if it is not relevant here. Hi dipak Do you have all recorded on file ? Atfer rx state to Glastonbury tour ? Best regard
|
|
dipak
New Member
Posts: 4
Xyloband type: xylo5-C Model
|
Post by dipak on Oct 18, 2016 17:09:33 GMT
Sorry for causing any confusion about my earlier post. I got the Xyloband while I was at Glastonbury but it was several weeks later when I started to look into how I could activate the band.
|
|
|
Post by ayelix on Oct 19, 2016 1:20:58 GMT
|
|
|
Post by progman on Feb 20, 2017 9:49:52 GMT
hi all, i try to made the portable sniffer spi ( pic24f256 + sdcard) for concert. the configuration is 2 SPI for sniffer xyloband MISO + MOSI and 1 SPI for SDCARD. i ve the problem : the spi for xyloband is 4 Mhz and the speed of writing to sdcard is not much. i ve the speed max on sdcard is 8 Mhz into fat32 . do you have any solution? Best regard
|
|
|
Post by ayelix on Mar 1, 2017 0:02:29 GMT
If there is not constant SPI activity, then you could use a buffer for the data. The buffer provides some space to store data bytes more quickly than they can be written to the SD card. Once the SPI activity has stopped for some time, the data in the buffer will be written into the SD card. Perhaps a circular buffer would be a good choice for this application. en.wikipedia.org/wiki/Circular_buffer
|
|
|
Post by progman on Mar 24, 2017 15:56:28 GMT
If there is not constant SPI activity, then you could use a buffer for the data. The buffer provides some space to store data bytes more quickly than they can be written to the SD card. Once the SPI activity has stopped for some time, the data in the buffer will be written into the SD card. Perhaps a circular buffer would be a good choice for this application. en.wikipedia.org/wiki/Circular_bufferthnk ayelix i continue the project to spy monitor on the pic24fj256ga702 ans the sdcard, the pic he have 3 spi, 1 for miso, 1 foe mosi and 1 for sdcard fat. the result is approach to finally succesfully and the second time to include on the device xyloband. thankssss
|
|
|
Post by progman on May 9, 2017 14:43:02 GMT
In June 2017 there will be a Coldplay concert in a city in my region. If we will not have solved the packet question by then I will probably also be outside the arena with some kind of sniffing device, hoping that the RF will be strong enough to be received outside Stefan hi stefan, Are you ready for sniffing ? best regard
|
|