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

1
Bus Pirate Support / Re: send pcm over bus pirate?
oh yeah and on pcm "which was invented by Alec Reeves in 1937"

Mind = Blown

the whole verbs section was a bit wordy *rimshot*!

I'm thinking I can decode the pcm stream with an ADAC out of a sound blaster audigy card now. plus the oscillator. looks like these things all use a 24.576mhz crystal to get 48khz decoding and then for my 44.1 I would have 12 out of 12 frames full, then 11 out of 12, then 11 out of 12 again, then back to 12 of 12.
2
Bus Pirate Support / Re: send pcm over bus pirate?
yeah all my audio is 44.1khz (with 16 bit frames???) well anyways I'm going to work on the car starter part first and just break out the pcm from the bluetooth module and then I'll add in another board for the pcm to analog line level later.

4
Bus Pirate Support / send pcm over bus pirate?
I'm just starting to work with some rn-21 bluetooth modules (http://http://www.rovingnetworks.com/Docs/Bluetooth-RN-21-DS.pdf) for a cell phone controlled bluetooth car starter. I got rx and tx to work great from the terminal and next I want to tap into the PCM audio capabilities. since it has the capabilities to do audio I want to hook it up to my head unit as well. looks like all I need is pcm sync, pcm clk, and pcm audio out from the bluetooth module. my head unit only has an analog stereo audio input so I'll need to convert it. on my shelf I have an audio add on module for a motherboard that's basically an alc882 broken out to a bunch of headers and analog in / out with stereo jack connectors as well as s/pdif.

looking over the datasheet for the alc882 (http://http://realtek.info/pdf/alc882.pdf) I think i've found what I need on the bottom row, and here is where I need the bus pirate. to test if my idea is correct I'd like to take a pcm audio file and use the bus pirate to feed it to this chip while I monitor the analog audio out to see if I really do have this all figured out. I know I could just try to hook up the module directly, but I think prototyping with the bus pirate might be easier (that's why we buy them right? ;] ) any idea on how to do this? if not I'll just build it how I think it might work and hope I dont fry anything
6
Pirate PIC programmer / Re: Adding support for 18F4550
I took a double usb cord from an old portable hard drive and hacked the end off so I could attach a mini usb end for the bus pirate. heat shrink tubed it up and all. so my bus pirate gets juice from two usb ports. I was having issues powering a 4 line 20 character lcd off the bus pirate before
7
Pirate PIC programmer / Re: Pic24fj64gb002
Patch created with
Code: [Select]
svn diff --diff-cmd diff -x "-i -b" > 24FJ64GB002
should be able to apply with
Code: [Select]
patch -p0 < 24FJ64GB002

not sure though never actually made one of these before. only applied them
8
Pirate PIC programmer / Re: Pic24fj64gb002
[quote author="ian"]
Bus Pirate PIC programming support it just emerging, so I would say the PICkit2 will do one thing the Bus Pirate cannot: program PICs ;)
[/quote]


Pffft details details .... ;)

let's get that fixed lol
9
Pirate PIC programmer / Re: Pic24fj64gb002
[quote author="sqkybeaver"]
mine was in a kit form. bare pcb no case. i don't know if it is worth building our own clone, probably could be done a little cheaper.
[/quote]

is there anything a pickit clone can do that a bus pirate cant? or bus pirate + hvp adapter for those chips
11
Pirate PIC programmer / Re: Pic24fj64gb002
or "not gate + or gate"?
envreg on the opposite side of the not gate from the dc power source and disvreg on the opposite side of the or gate
12
Pirate PIC programmer / Re: Pic24fj64gb002
could we just use the aux pin? or can v5 and v3.3 be turned on independently on the bus pirate?


Code: [Select]
ENVREG/DISVREG and VCAP/VDDCORE pins 
(PIC24FJ devices only)
(see Section 2.4 “Voltage Regulator Pins
(ENVREG/DISVREG and VCAP/VDDCORE)”)
These pins must also be connected if they are being
2.4 Voltage Regulator Pins
(ENVREG/DISVREG and
VCAP/VDDCORE)
The on-chip voltage regulator enable/disable pin
(ENVREG or DISVREG, depending on the device
family) must always be connected directly to either a
supply voltage or to ground. The particular connection
is determined by whether or not the regulator is to be
used:
• For ENVREG, tie to VDD to enable the regulator,
or to ground to disable the regulator
• For DISVREG, tie to ground to enable the
regulator or to VDD to disable the regulator
Refer to Section 26.2 “On-Chip Voltage Regulator”
for details on connecting and using the on-chip
regulator.
14
Pirate PIC programmer / Re: Pic24fj64gb002
yeah I'm actually not even sure how to setup the config bits or do anything really. I've been trying to follow tutorials online, but it seems like so much work just to get talking to the chip. I have a few projects scheduled though.
nes/snes/gameboy color flash cart (should have most of the parts i need)
Genesis flash cart (because it should be super simple. genesis just had a cap, a resistor, and a memory chip)
Remote car starter with wireless temp and battery voltage measurements. with the ability to cycle the car on if voltage gets too low or it gets too cold.
replace all the brains in the roomba my dog peed on (twice)
and then wall-e here needs some animation http://dl.dropbox.com/u/7706551/IMG_20101213_163336.jpg
15
Pirate PIC programmer / Re: Pic24fj64gb002
GOT IT!! either a loose breadboard con or something, I connected both MISO and MOSI to PGD just to double check lol. It came back with wrong device id, and I'm sure I just messed up the ID code myself so I changed the source to reflect what the bus pirate tells me it is
Code: [Select]
 {
.name = "24FJ64GB002",
.ID = 0x4207,
.flash = 344*256,
.eeprom = 0,
.family = FAMILY_24FJxxGBxxx,
},
if someone wants to upload this to svn go ahead.

Thanks for all the help! now i gotta figure out what my first PIC is going to be used for lol

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