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 - AndThen

46
General discussion / Re: Solder paste stencil from Iteadstudio
[quote author="bearmos"]at least I'm in good company :)  Anybody else try out mylar stencils for fine pitch stuff?  Honestly, I suspect I did *something* wrong, but. . .when I looked at the stencil under a bit of magnification, it looked pretty rough.[/quote]

here is an Interesting related PDF, It's from Koki.  Page 11 has nice photos comparing three stencil production methods, chemical, laser, and electro-form.  There is good information, scattered through-out. pg 15 to paraphrase "go slower!" seems a key pattern, it's repeated for other things like the spreader speed.

How are the mylar ones produced? Do you have super cool pictures like the pdf?

A die cut should/would leave a combination of the laser and electro types pictured in this PDF "Angled to one side, and jagged.".
The single tapered hole has favorable sides, for differing application methods. Shape "A" has the larger opening in contact with the PCB, optimal for zero standoff. Shape "V", works with standoff to create an extrusion effect.

Using the later shape and/or stand off helps eliminate surface tension of the stencil as a problem area.
47
Pirate PIC programmer / Re: Another programmer
NOT TESTED, this time it's going to kick the cat...

Updated against svn r1816. Didn't update my Changelog yet, it's not committed to my local cvs.

Added a configuration #ifdef USE_PICDEVICES for the picdevices.h
This has both versions of the pic24 unpack changes, my version is (currently) #ifdef ANDTHEN

Problem areas:
TMS not unified(still stamp specific)
bs2 code needs adapted to r1816 unpack methods
..?(somethings I forget probably)

Sorry there is a big ugly chunk in PIC24_Read that i'll include the start of below. It's still there/ugly because of, the middle "example" not sure how where or why those 01's showed up, gremlins and goblins.
Code: [Select]
//:10000000 11223300 55667700 88991000 11121300 F1
//:10001000 3A870001 3A870001 3A870001 3A870001 D8
//:10001000 3A870000 3A870000 3A870000 3A870000 DC

This patch with none of my defines used(check Makefile), is almost identical to the r1816.
48
General discussion / Re: USB keyboard for AT keyboard replacement
I'm of no use sorry, but I'm gonna complain about a related issue.

Lets take a nice simple and cheap device and put a USB chip in it that combined with USB license fees, at the  least doubles the price. %@$! That whole scenario quite frankly, Pisses me off. Once upon a time PS/2 keyboards cost a whopping 4-5 USD

Google turns up the Belkin and Staples brands, at these prices 15-25 USD I would expect some hardware other than just a passthru cable.
49
Pirate PIC programmer / Re: Re: Bus Pirate PIC programmer v0.1 (continued)...
The firmware is the standard release.
The software is in the SVN as PiratePICprog/software, the executable produced is picprog.

The supported products/chips/families are IRTOY(pic18f2550) OLS(18F24J50) BP3(24FJ064GA002) BP4(24FJ256GB106)

I'll skip electrical testing and leave that for someone with a degree.

Perform a read test, "picprog -p buspirate -u COM12 -s 115200 -c 18F2550 -t HEX -r read_test.hex"
Compare with original, "diff -u irtoy_v22.hex read_test.hex", these should differ only on the last two lines where MPLAB puts the configuration data on multiple lines picprog will have them included on one line.

Perform an erase, "picprog -p buspirate -u COM12 -s 115200 -c 18F2550 -E"
Now blank check, "picprog -p buspirate -u COM12 -s 115200 -c 18F2550 -t HEX -r blank_test.hex"
And verify, "cat blank_test.hex", don't blink it should scroll past ALOT of F's, at the end it will have 7F don;'t worry about that it's a marker for the configuration data.

Perform a write, "picprog -p buspirate -u COM12 -s 115200 -c 18F2550 -t HEX -W irtoy_v22.hex"
Followed with read test(as above)

Perform erase write and verify, "picprog -p buspirate -u COM12 -s 115200 -c 18F2550 -t HEX -E -W irtoy_v22.hex -V"
50
Pirate PIC programmer / Re: Another programmer
[quote author="robots"]
This is more of HACKING, as compared to Programming/Designing sw :-)
[/quote]
I didn't design the programming spec or the programming interface, I'm just trying to put them together. :-) So I am OK with that view point. Priorities are functionality, then maintainability, and finally artistry.

[quote author="robots"]
The Real solution is to rework the read/write commands together with the Interface definition. Add "generic" interface read/write functions, and setmode to select which pic we are dealing with (already in place).
[/quote]
Sure I didn't understand, sorry.  I interpreted this as "You can simply add PIC32Read/PIC32Write to iface like the others" or "Combine the iface, PIC4* functions and test the mode"

[quote author="robots"]
By generic read/write I mean read that can actually read arbitrary register and not only 3consecutive memory spaces (see PIC24).
[/quote]
I have not IIRC explicitly tried reading arbitrary registers. It, the pic32.c:PIC32_Read, should read anything in the 4gig address space including registers.

Could you expand/explain "(see PIC24)"? I'm not sure where I'm being sent. You mean being able to read bytes of a word?

[quote author="robots"]
FW in buspirate doesn't need to "speek" PIC instructions (as does now with the read). Buspirate will only understand the "ICSP" protocol (different ones for different PICs) and the actual programming logic will be inside PiratePICprog. This will also allow for future expansion (PE maybe?)
[/quote]
Of course the buspirate doesn't need to have the pic functions but it cuts way down on the communication overhead.  I use the pure bit banging solution for the pic32 because it fit(just barely ~16 bytes free) in the PBASIC firmware alongside the pic18/24 functions.

The programming executives(PE) are released under the (standard?) Microchip license, the one that says you can only use the software on/with microchip products, and can't be re-distributed. So the license in addition to it(PE32) not working with the (small memory) chips and the time it takes to load (@9600) with all the bit banging, I just kinda of ignored them for this.

[quote author="robots"]
This will, of course, require changes in the firmware, message queueing in sw (as done for PIC18), etc.

We could also add PIC32 "commands" to the buspirate's FW, and not care about TMS/TDI bit-manipulation on host.[/quote]

For the V3x firmware there is about 4.5K. I think pic32 ejtag could fit in this, if it reuses OCD functions almost certainly. There are issues with OCD reuse however, the Peekbit is needed inside of Setmode(OCD tapshft?) to check processor state. The OCD code (IIRC) doesn't allow this.
54
Project development, ideas, and suggestions / Re: Pioneer Detachable Faceplate
Looking at the  CRT2560 service manual, it uses the  PD6430 also, on page 56 it gives the power up sequence...

 SWVDD is 5v pulsed High Low in 300ms blocks by the controller. Tracing this line backwards from the face-plate leads back to L650(=2r2k) C650(=104) r649(=222), this is just for noise buffering indicated by L650 being a ferrite in the partslist.

Page 48 gives the controller(PE5196A) pinout, and confirms the DPDT uses CMOS voltages.

As might be expected there is no data about the display protocol.  Only option is guessing or sniffing a working unit sorry.
55
Pirate PIC programmer / Re: Another programmer
Thanks that did get buried in text..

This adds support for boot strapping PIC's with a Parallax Basicstamp2, using the Bus Pirate PIC Programming software.

The firmware is included in the filetree as PirateProgv6.bs2 it is written in PBASIC

The patch files are generated against the older (pre april ~10th) code(PiratePICprog).  This means there maybe rejects conflicts and other assorted "fun" if applied with robots recent updates.  The 1st patch should apply simply with the recent changes but I have not tried yet, the other I recommend against applying to the current revision.

I guess I got lazy typing after I linked the Changelog..

Note the buspirate -> pic32 does not function.
1. The BP OCD mode uses CS as TMS, but CS is MCLR in PIC mode.  It could be AUX which is VPP in PIC mode, these are easy to set...
in pic32.c
Code: [Select]
#define TMS_h() iface->VPPHigh()
#define TMS_l() iface->VPPLow()
2. iface.h and buspirate.c need a new function Peekbit
Code: [Select]
static uint32_t BP_PeekBit()
{
        uint32_t rval = 0;
        int fd = pBP->fd;
        char buffer[5] = {0};

        buffer[0]=8;//BWCMD_RSC_PEEKBIT

        serial_write(fd, buffer, 1);
        serial_read(fd,(char*) &rval, 1);

        return(rval);
}

Also of note, the "stampIT2" is set to 9600 bps in the software and firmware to prevent data errors. It's configurable in both, however I ran out of space in firmware to implement any form of command buffer and CRC.  So it takes about 8-9 hours to read a mx220, or something crazy long I forgot (YAY) exactly how many.  2-wire 4-phase would make hours into days I fear...
56
Project development, ideas, and suggestions / Re: Pioneer Detachable Faceplate
Try to find the "grey box" power supply schematics, and the left half of http://img854.imageshack.us/img854/2238/page25b.jpg

At the top is the "Keyboard" and "Display" data lines KYDT and DPDT.  You need to test the voltage, but it looks like they might be 5v (2.2k resistors). Keyboard is easy once you have the voltage you can test and record each key.

Display is where it gets tricky. It's almost safe to assume they didn't reinvent the wheel, that is to say, "It more than likely uses one of the common interfaces".

P.S.
image shack sucks they don't deserve ad revenue..
(read as) It's better to attach files to your posts than link offsite, you'll find more people maybe inclined to have a look, images and related text stay connected ect...
58
Project development, ideas, and suggestions / Re: check gas (GPL) tank capacity
Quote
How high is the weight?
10Kilo Its given somewhere above.

Thought I'd answered the legality question but I don't see it.
I was referencing an RV,  they are kind of particular about using non DOT approved items on vehicles.

Completely non geeklike but, pricing a spare fuel tank seems like the easy way. They are (the smallish tanks for grills) about double the cost if you don't have an exchange tank here.

( ! ) 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.01812454928session_write_close ( )...(null):0
20.01872586544ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01882587320Database_MySQL->query( ).../DatabaseHandler.php:119
40.06582726080Database_MySQL->error( ).../Db-mysql.class.php:273