Skip to main content

Messages

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

Messages - exerion

2
Bus Pirate Support / Re: how to use AT commands in UART
Hello

Thanks for your suggestions. I tried but none worked. Only without any mode and usig the reply command '{' i could send data and receive it.. but in hex.
Sending any kind of AT commands always results in avoiding all after the AT. I'm not going to spend more time on this issue since i got the info i needed. Thanks.
3
Bus Pirate Support / how to use AT commands in UART
Hello

I'm trying to communicate with a bt module. It uses AT commands, but i'm unable to send all of them. I connected to the module (UART in transparent bridge), it responses correctly to the initial AT command, but i can't send anyother command:

if you i try to send, for example, AT+VERSION.. it always answers OK, because only gets the AT not the +VERSION.
I tried to modify some settings related to the way the data is sent in teraterm but.. the same result.

is there an example of AT communication using BP? I need to send complete AT commands, with parameters...

Thanks.

Edited:

I could (i won't call it success xD) send some AT commands but in binary (normal UART communication), what means i had to code and decode the sent/received data in ascii and hexadecimal. Really annoying. Is there a better way to do this? i checked the examples in the site but i didn't find anything suitable.
4
General discussion / Re: Homemade flux
As far as i know "rubbing alcohol" is the same than IPA, at least i never saw a "rubbing alcohol" made of other alcohol . I think "rubbing alcohol" is a common in the USA. But in other countries, under the denomination of "rubbing alcohol" you can find it can be mde from etanol or ethanol.
It's like Plexiglass and methacrylate... are the same (just plexiglass is a patented brand), but in many places they are named as if they were different products. The use of Plexiglass is more common in the USA.
Plexiglass = methyl methacrylate... even worse, sometimes it's also called acrylic glass... No comments.

I found in some supermarkets "rubbing alcohol" made with one of these 3 alcohols. If you are luckly maybe you can find it done with IPA, otherwise you'll have to go to especialized stores.

For Spain:
If you can't find it in local stores, you can buy it from this site:
http://http://www.tuquimica.com/product.php?id_product=49
They sell it in cuantities of 5L. (99% purity) and has a decent price. I could find it locally (in an old school drugstore ;) ), about the same price plus the approved container (i prefer it because it has a security tap, the plastic is thicker and opaque not like a normal bottle), with a big advantage: i can buy the quantity i need, not 5L as minimum. Mine is 99,98% ;)

A question:
Reading in other forums i noticed people add some glycerin to the diy flux. has anyone tried this? I can't find the point on adding it. IPA is a fatty alcohol so it's what prevents its fast evaporation, maybe could the glycerin improbe this point? It's about 1.5ml glycerin for 100ml IPA.

I could try but i don't have glycerin.

Regards
5
Bus Pirate Development / correct PWM messages output? (multiple pulses generation)
I write here because i don't which thread could be more suitable.

I was playing with servos and found this behaviour, trying to find if there was a way to send multiple positions in the PWM generator for servos was active, without getting out from it, which i don't know if it's ok (remember i was playing with options and commands to see a way to repeat the pwm pulses):

Code: [Select]
2WIRE>(0)
 0.Macro menu
 1.ISO7816-3 ATR
 2.ISO7816-3 parse only
2WIRE>0
WRITE: 0x00
2WIRE>S90
PWM disabled
Servo active
2WIRE>90
WRITE: 0x5A
2WIRE>S 90
PWM disabled
[b]Servo active[/b]  <=  (1)
2WIRE>S -90
PWM disabled
[b]Position in degrees[/b]  <= different behaviour than the previous point (1)

(90)>10
Servo active
[b]WRITE: 0x5A[/b]  <=== ?????????? it doesn't appear when using normally just in this case

Well, the servo worked fine in all situations, but the messages in the serial terminal were these ones. Because i have the BP since some days ago, i can't say if these messages are ok or not, anyway they aren't consistent.

This encourages me to ask if there is a way to send multiple positions to the servo once the servo is active, something like:

Normal behaviour:

Code: [Select]
2WIRE>S
Position in degrees

(90)>0
Servo active
2WIRE>

Here the servo is powered and stable with the PWM, but.. i can't send any other position. I have to get out from the PWM mode and re-enter. It would be nice if i could do something like:

Code: [Select]
2WIRE>S
Position in degrees

(90)>0
Servo active

(0) > 20
Servo active

(20)> 10
Servo active

...

2WIRE>

... to generate 3 different positions without getting out from the Servo pwm generator. It'd be handy in the BP.


Also i noticed you can enter in the Servo mode from the 1-WIRE mode (it's not specified in the documentation).


am i wrong or there is some issue with the messages? is possible to generate different pulses without getting out from the PWM generator? if not, could it be added in future firmware releases?

Thank you
6
Bus Pirate Support / Re: Are there any places where I can actually buy a case?
I think making your own enclosure is not hard. Even milling can be done at home with non professional tools.
For example, the last days i was looking for some of these enclosures used to store pills... one of them fit with the BP and i only would have to make minor modifications (drills and some adjustament). Price of the enclosure? about 1€. I think it's worthy try it yourself.

The prices i saw for enclosures... are quite excessive in my opinion.
10
Bus Pirate Support / [SOLVED] how to generate pwm?
Hello

i bought recently a BP3b -Firmware v5.10 (r559)  Bootloader v4.4- and i tried to generate pwm signal but.. i always receive the message "Command not used in this mode" (i read the doc in wiki and followed the examples i saw, did some search in forum, and.. well i couldn't find anything interesting).

Steps i did:

power the bp
HiZ>g
Command not used in this mode

I tested the BP and there is no problem at all..

what's the problem? ..

Thanks.
12
Client software / Re: Minor issues detected and other makeup points.
1- :)
2- for xml SAX or DOM parser. I think xml is a good option if you don't know the future choices you could do, although i like more the .ini file style :)

3- Your log:

I suggest you go to the end, after capturing data of the log because most of them is the normal startup:

Code: [Select]
JGoodies Looks: I have successfully installed the 'Sky Bluer' theme.
[11/02/11 0:04:56 - INFO  -        nl.lxtreme.ols.tool.spi]: ServiceEvent REGISTERED
[11/02/11 0:04:56 - INFO  -    nl.lxtreme.ols.export.image]: ServiceEvent REGISTERED
[11/02/11 0:04:56 - INFO  -      nl.lxtreme.ols.tool.state]: ServiceEvent REGISTERED
[11/02/11 0:04:56 - INFO  -      nl.lxtreme.ols.tool.uart]: ServiceEvent REGISTERED
[11/02/11 0:04:56 - INFO  -      nl.lxtreme.ols.tool.1wire]: ServiceEvent REGISTERED
[11/02/11 0:04:56 - INFO  -      nl.lxtreme.ols.service.io]: BundleEvent STARTED
[11/02/11 0:04:56 - INFO  -      nl.lxtreme.ols.service.io]: ServiceEvent REGISTERED
[11/02/11 0:04:56 - INFO  -          nl.lxtreme.ols.client]: BundleEvent STARTED
[11/02/11 0:04:56 - INFO  -                      org.rxtx]: BundleEvent RESOLVED
[11/02/11 0:04:56 - INFO  - nl.lxtreme.ols.device.logicsniffer]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.device.test]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.device.test]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  - nl.lxtreme.ols.device.logicsniffer]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  - nl.lxtreme.ols.device.logicsniffer]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.device.test]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.export.vcd]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.export.vcd]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.tool.measure]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  - util.osgi.BundleServiceObserver]: New service (nl.lxtreme.ols.tool.measure.MeasurementTool) registered ...
[11/02/11 0:04:57 - DEBUG - util.osgi.BundleServiceObserver]: No init-method found; not initializing service!
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.tool.measure]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.tool.measure]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -        nl.lxtreme.ols.logging]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  -        nl.lxtreme.ols.logging]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.tool.base]: BundleEvent STARTED
[11/02/11 0:04:57 - DEBUG - util.osgi.BundleServiceObserver]: No init-method found; not initializing service!
[11/02/11 0:04:57 - INFO  - util.osgi.BundleServiceObserver]: New service (nl.lxtreme.ols.export.vcd.ValueChangeDumpExporter) registered ...
[11/02/11 0:04:57 - INFO  -            nl.lxtreme.ols.api]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  -                      osgi.cmpn]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.export.vcd]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.tool.jtag]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -        org.apache.felix.prefs]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.tool.jtag]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  - util.osgi.BundleServiceObserver]: New service (nl.lxtreme.ols.tool.jtag.JTAGAnalyser) registered ...
[11/02/11 0:04:57 - DEBUG - util.osgi.BundleServiceObserver]: No init-method found; not initializing service!
[11/02/11 0:04:57 - INFO  -      nl.lxtreme.ols.tool.jtag]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -        org.apache.felix.prefs]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -        org.apache.felix.prefs]: BundleEvent STARTED
WARNING:  RXTX Version mismatch
Jar version = RXTX-2.2
native lib Version = RXTX-2.2pre2
[11/02/11 0:04:57 - INFO  -                      org.rxtx]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -                      org.rxtx]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  -        nl.lxtreme.ols.tool.i2c]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -  nl.lxtreme.ols.device.generic]: BundleEvent RESOLVED
[11/02/11 0:04:57 - INFO  -        nl.lxtreme.ols.tool.i2c]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  - util.osgi.BundleServiceObserver]: New service (nl.lxtreme.ols.tool.i2c.I2CAnalyser) registered ...
[11/02/11 0:04:57 - DEBUG - util.osgi.BundleServiceObserver]: No init-method found; not initializing service!
[11/02/11 0:04:57 - INFO  -        nl.lxtreme.ols.tool.i2c]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -  nl.lxtreme.ols.device.generic]: BundleEvent STARTED
[11/02/11 0:04:57 - INFO  - util.osgi.BundleServiceObserver]: New service (nl.lxtreme.ols.device.generic.GenericDeviceController) registered ...
[11/02/11 0:04:57 - DEBUG - util.osgi.BundleServiceObserver]: No init-method found; not initializing service!
[11/02/11 0:04:57 - INFO  -  nl.lxtreme.ols.device.generic]: ServiceEvent REGISTERED
[11/02/11 0:04:57 - INFO  -    org.apache.felix.framework]: FrameworkEvent STARTED
[11/02/11 0:04:57 - INFO  -    org.apache.felix.framework]: BundleEvent STARTED
[11/02/11 0:04:57 - DEBUG -    nl.lxtreme.ols.client.Host]: LogicSniffer initialized ...
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.client.Host]: LogicSniffer v0.9.3.1 started ...
[11/02/11 0:04:57 - INFO  -    nl.lxtreme.ols.client.Host]:  running on windowsxp, 5.1 (x86).
[11/02/11 0:05:16 - INFO  - logicsniffer.LogicSnifferDevice]: Attaching to COM4 @ 115.200bps ...
[11/02/11 0:05:16 - INFO  - logicsniffer.LogicSnifferDevice]: Starting capture ...
[11/02/11 0:05:16 - INFO  - logicsniffer.LogicSnifferDevice]: Found Sump Logic Analyzer/LogicSniffer ...
[11/02/11 0:05:16 - INFO  - logicsniffer.LogicSnifferDevice]: Metadata =
Device name              => Open Logic Sniffer v1.01
FPGA version            => 3.01
Ancillary version        => null
Protocol version (long)  => null
Protocol version (short) => 2
Probe count (long)      => null
Probe count (short)      => 32
Sample memory depth (b)  => 24576
Dynamic memory depth (b) => null
Max. sample rate (Hz)    => 200000000

[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 5%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 8%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 13%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 18%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 24%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 29%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 34%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 39%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 45%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 50%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 56%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 62%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 67%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 73%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 79%
[11/02/11 0:05:16 - DEBUG -  LogicSnifferDeviceController]: Progress 84%
[11/02/11 0:05:17 - DEBUG -  LogicSnifferDeviceController]: Progress 90%
[11/02/11 0:05:17 - DEBUG -  LogicSnifferDeviceController]: Progress 96%
[11/02/11 0:05:17 - INFO  - logicsniffer.LogicSnifferDevice]: Decoding unencoded data, sample count: 6.144
[11/02/11 0:05:17 - DEBUG -  LogicSnifferDeviceController]: Progress 100%
[11/02/11 0:05:29 - INFO  - logicsniffer.LogicSnifferDevice]: Starting capture ...
[11/02/11 0:05:29 - INFO  - logicsniffer.LogicSnifferDevice]: Attaching to COM4 @ 115.200bps ...

In the last event, it crashes and closes all the windows.

Notice that you don't need to capture any data. If you starts the client with the OLS connected, select the COM, and disconnect the OLS before pressing the Capture button... it crashes.
I hope it can help.

4-  About the rxtx lib, if it works in the startup it should work in anyplace in runtime. Maybe closing it and re-opening before each capture could solve the problem of autodetection? I don't know the performance impact that it could have, just a suggestion without having more information about this :D is it problematic initilize each time?


Regards.
13
Client software / Minor issues detected and other makeup points.
Some makeup points and some wrong behaviour in the client (0.9.3 SP1)

1- Replacing the client window's upper left logo (icon) for something nicer than the java default icon.

2-Saving preferences. They aren't stored from a session to other. I suggest storing them in xml format or just a .ini file.

3- I noticed a crash:

Connect the OLS device
Open client.
Capture any stream with Toolbar icon.
Disconnect the device
File -> New Project (loose changes).
Capture data with toolbar icon.
Then the client closes.

Sol: i think it's due to a unhandled exception (or an error condition) because it assumes the device is already connected when it's not. Well only guessing because i haven't seen the code.


4-No autodetection of the com:

Open client with OLS disconnected
Try to capture data.

You'll notice you can't because it doesn't let you select the COM port.
The autodetection only works if the OLS is connected before the client startup.

Sol: refresh the list of com ports each time the capture window is opened, but not forgeting the last one selected in the current session

These "errors" are systematic and repeatable under these conditions. If i detect some more issues i'll report them.

Thank u for your work.
14
Open Bench Logic Sniffer / Re: Strange result with Internal Test (FW 2.6+Demon Core 3.0
Hello.

The tests were done with all GND pins connected. My experience with ICs taught me it's a excellent idea connecting all unused pins to gnd when possible (especially with the 74 series)

But now i have clean signals. I checked again the solder joints (i soldered header pins), there were some joint... suspicious... And i used the same IDE ribbon cable than yesterday but shorter, about 20cm. All side gnd pins used.

All is perfect now. I haven't noticed any problem with the firmware or fpga code. Signals are clear up to 100Mhz rate. I got some spikes in channels 5 and 9 with 200Mhz, but as long i don't such speed... it's not a problem at all. I suppose the cable in these range of speed is a problem.
I tested these channels isolated in 200Mhz and i didn't got any spike.

Conclusion: bad connections and crosstalk in cables.

Thank U.
15
Open Bench Logic Sniffer / Re: Strange result with Internal Test (FW 2.6+Demon Core 3.0
Hello.
I was reading some threads in the forum and i found one about the input cables and impedance matching, where the problem with high speed, crosstalk and bad connections are discussed.

I'll make further tests with other cables (but i have already tried some of them with same results).
This IDE cable is.. an old one, the old school... thick gauge. By now i only tested this one and others but the tests weren't the same...

After your nice comments i'll make more exhaustive tests to avoid any "mechanical" problems. Further on this i haven't any problem with the new upgrades and ols has now a noticeable speed increasing :)

I'll put in pratice your suggestions and post the results as soon as i have them.

Thank you very much.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01622460696session_write_close ( )...(null):0
20.01652592296ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01652593072Database_MySQL->query( ).../DatabaseHandler.php:119
40.05982731808Database_MySQL->error( ).../Db-mysql.class.php:273