Skip to main content

Topics

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

Topics - sirus

1
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
2
Pirate PIC programmer / Pic24fj64gb002
supposed to work???


Code: [Select]
C:appsbuspirate>piratepicprog.exe -p buspirate -u COM2 -s 115200 -c 24FJ64GB002 -V
(Bus) Pirate PIC Programer v0.2

Initializing interface
115200
Entering binary mode
BP: Setup mode...
Setup peripherals...
(OK)
Found '24FJ64GB002' in programming database :) index = 3
Checking for 24FJ64GB002 attached to programmer...

Wrong device: 0XFFFF (ID: 0XFFFF REV: 0XFFFF)

Code: [Select]
    {
.family = FAMILY_24FJxxGBxxx,
.proto = PROTO_PIC24,
.ID_addr = 0x00FF0000,
.word_size = 2,
.page_size = 256,
.icsp_type = ICSP_LVPP,
.icsp_key = 0x4D434851,
.erase_key = { 0x3f3f, 0x8f8f },
.write_delay = 1, //polled in 24FJ
.erase_delay = 524,
},

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