Rockbox Development > New Ports

Rockbox Player - Project to design and build a Free/Open hardware audio player

<< < (37/144) > >>

casainho:

--- Quote from: spark on January 14, 2008, 03:06:15 PM ---oh no!! how could we miss the audio jack. we keep missing something or the other. audio is very crucial and should come bundled with the dev board.
--- End quote ---
I don't think that audio should come bundled with the dev board. As I see here: http://www.mikrocontroller.net/articles/Bild:TLV320AIC23B_Connection.png, it's not difficult to wire. And as I see in DSPdap, there are just 10 wires, 8 from MCU + 2 for power. I believe that speed communication is not higher so we can attach audio DAC in an outside board. Also pin size of that IC is ok, for solder by hand, I think.

We will need another board for audio DAC, buttons and LCD module :-)

I made a diagram of the dev board. At red the main dev board and at green an other that we will need to made by hand. This is just a minimum system to have Rockbox ported and to show that It can be done.



EDIT on 18.01.2007_21h06:
I got today the Color LCD 128x128 Nokia from Sparkfun! also the connector, which should be very difficult to solder. When I bought the LCD, the Carrier Board was out of stock... today they already have it again!! So I will buy a carrier board instead of trying to solder the thin wires.

SparkFun also sells a ARM JTAG Programmer/Debugger which looks ok, at least is the same 2x10 pins connector as in dev board. Should I also buy this ARM JTAG Programmer/Debugger from SparkFun?? $30: http://www.sparkfun.com/commerce/product_info.php?products_id=275

I am studding the dev board and the possible connections to LCD and DAC. I let the USB out because there is no code in Rockbox to work with USB, files should be put on SD flash card - there is code for SD flash card in Rockbox, at least It is working on Sansa E200 V1.

EDIT on 19.01.2007_9h26:
I were talking on IRC and I found that the IriverH10Port uses also a 128x128 color LCD, should be nice to look at that code as example :-) Some words that were written on IRC:

The size of the LCD isn't important, it's the format it stores the pixel data in. So far, all our colour LCD targets are using the same high-level framebuffer drawing code because the format is the same (or very similar).
LCD_WIDTH and LCD_HEIGHT are simply #defines.
Each pixel is stored in two adjacent bytes, in RGB565 format, moving horizontally from the top-left to bottom right.
Some devices require that in little-endian format, others in big-endian, but that's handled with macros.
But I think that's more or less standard for colour LCDs, or at least all the ones in Rockbox devices so far.
You may want to consider mono or greyscale LCDs though - they have the advantage of being much easier to read without backlight.
Some colour LCDs can't be read at all without backlight.
The point is that any backlight uses power, and it's nice if an LCD can be read without it.
one of the points is that in many cases, backlight is a waste of energy, when you would normally be able to see just fine without backlight on a manachome/greyscale device

EDIT on 20.01.2007_19h43:
I defined today all the connections between LCD module and the maind dev board. I put some pictures on TWiki.

Bootloader or not bootloader? reading the some TWiki pages about develop a new port, write a bootloader is the first task. I tried to figure out if there will be the need of a bootloader and talked on IRC, It looks like will not be necessary because the AT91SAM9260 already have one in his ROM :D - It can bootload by USB, serial port, JTAG and others options.  About that bootloader: The SAM Boot Assistant (SAM-BATM) software provides a means of easily programming different Atmel ® AT91SAM ARM ® Thumb ® -based devices. It runs under Windows®2000 and XP.
Communicating with the target device may be done through an RS232, USB or JTAG link.

Ready more here: http://www.atmel.com/dyn/resources/prod_documents/doc6132.pdf

I found on RB source a driver for the audio DAC IC, the TLV320 :-) - http://svn.rockbox.org/viewvc.cgi/trunk/firmware/drivers/audio/tlv320.c?revision=&view=markup
It's used one the IaudioX5 at least: http://www.rockbox.org/twiki/bin/view/Main/IaudioX5HardwareComponents#TI_TLV320AIC23B_Audio_Codec_with

However it uses I2C and we must use SPI, so, at least no all the code will need to do from scratch for the audio DAC :-)

KammutierSpule:
Viva people!

My first post here!  ::)

I'm a robotic entusiastic and I've found "rockbox" because I was looking for something hackable and small with great CPU power, that is something missing in hobbyst robotics, firstly because in small robotics projects you dont need suck great power. But, I'm trying move next, and what I was looking for is for something small that can host a webcamera or a CCD or something like a phonecamera.

Actualy, in robotics, the only options you have to use cameras, are use some kind of costly SPI or embeded board camera ( a fast search in google found this one http://www.active-robots.com/products/accessories/cmucam.shtml by  £117.49 (about 227 dolar) )
or you can use small and cheap USB webcams to your robotics, at cost, that you need a PC host and processing computer and the small you can get is something like a miniITX,nanoITX, that you can't get a system work for less than about 300 dolars.

I try find someking of similiar work as rockbox for webcams or digitalphotomachines but seams to be none, sadly because I found that some cheap and old have good and fast chip processing that maybe can be used for the propouses i'm talking.


Then, at rockbox main page, I found in the last wiki activity and fond JorgePinto, thats actualy a Portuguese name. As I'm a Portuguese too, its not usually find some on this kind of scene... I search a little more and get in conclusion that he is from same stat of me, actually live about 22Km near my home town. ehhe

I've talked with him a little about project and I will post here some ideas to you discuss.

I've read almost all posts in this thread, firstly, I'm not so optimist as some of you are, and somethings about it has already said.

So, I think you dificult will get some small, easy done, all embedded circuit/PCB that you can put in a small plastic and people use very happy in his poket and show to his friends and they want one too. So, as some one could think, its impossible for our common normal people make a usable portable nice player, then as said before, using our best practices to manufactur some kind of player, it will be allways more expensive and tecnical less powefull than any "last year" player.

I found this project usefull if people can learn from it, also developers, and users that can get more inside electronics and maybe can try use a endly project board to make your own tests and firmwars. Actualy, the sadly thing is that a board for one player like it, you couldn't solder it at home :/

My hope thing is, if you can make a board player like we are talking about, is that have some powerfull computation as cheap, small board also with expansible capacities, so that can be used in other projects or expansions!

The expecification (CPU,ROM,RAM) seams ok to my needs, you will add a DAC and something else. Then, my next ideas are:


.Leave some room space to solder any new connector to not used pins and bus or
.Leave some expantion socket that you can latter add something else.
.USB host capabilities will be a step ahead, for my webcam Ideas : )
.Seams AVR have CCD sensor interface capabilties :) make it open too : )
.LCD seams nice for this aplication, but 128x128 wont be for other, make planed somehow to expand this.
.Think that will be nice to plug power in board, to dont need use the battery charger.

Other ideas will come.

I think if you make it a little more interface acessible, you and board manufact. will have a wide range of users.

Will be nice have a board that can be a robotic processor unit, speach processor :>, music player, and so on!

I sugest casainho to put in wiki page some table with this ideias and other as possible specifications and wants for this. Put a rate in each one like: "Essencial, Important, Desirable"

and...

Have fun!  ;)

KammutierSpule
Mário Luzeiro



EDIT: 23 Jan 2008
The nordic RF chip sugested by Olimex seams to be really a nice chip, I've alreade study datasheet because I'll use it in my work. But, actually it gives you only 2Mbit/s that shoulndt be too much if share large musics, but will be nice to ear remote music, share playlists, games?, wallpapers, and for me, also robotics hehe

This chip consume about 12mA at max power and 13mA in reciving. In deep sleep mode is consume less than 1uA.

casainho:

--- Quote from: KammutierSpule on January 22, 2008, 05:24:04 AM ---.Leave some room space to solder any new connector to not used pins and bus or
.Leave some expantion socket that you can latter add something else.
.USB host capabilities will be a step ahead, for my webcam Ideas : )
.Seams AVR have CCD sensor interface capabilties :) make it open too : )
.LCD seams nice for this aplication, but 128x128 wont be for other, make planed somehow to expand this.
.Think that will be nice to plug power in board, to dont need use the battery charger.

I sugest casainho to put in wiki page some table with this ideias and other as possible specifications and wants for this. Put a rate in each one like: "Essencial, Important, Desirable"

EDIT: 23 Jan 2008
The nordic RF chip sugested by Olimex seams to be really a nice chip, I've alreade study datasheet because I'll use it in my work. But, actually it gives you only 2Mbit/s that shoulndt be too much if share large musics

--- End quote ---

I am busy right now, I am having pleasure in read, define, working in the schematics. On the right time I will put on TWiki that information, which I thing are good ideas :-) - maybe someone can write them :-)

About wireless connectivity, I will work on the idea after the 1st version of the player. I would desire something to connect with portable devices for sharing files, the player will not browse the internet to download files but It should connect to others devices that can do that, IMO.

I draw today the schematic - in KICAD :-) - of the secondary board, which will need to be made by hand! - I will complete that schematic for buttons, domonoky suggested some kind of resistors and one ADC for buttons. I will also complete the schematic with information about pins. I attach the schematic here :-)
- http://www.rockbox.org/twiki/bin/viewfile/Main/RockboxPlayerV1?rev=1;filename=secondary_board.jpg
- http://www.rockbox.org/twiki/bin/viewfile/Main/RockboxPlayerV1?rev=1;filename=rockbox_player-24012008.sch

Sorry, but I want to use that SAM9-L9260 dev board and not spending more time to find one cheaper that that! - we have a lot examples from Atmel to use the audio stereo Codec with I2S and I2C, to use the SPI link for the LCD and we have already drivers on RB for that ARM core :-)

domonoky started editing the TWiki page and giving information about hardware :-) and I am being talking on IRC... also studding the RB code... talkind on IRC with Bagder about how to boot the system...

KammutierSpule:

--- Quote from: casainho on January 24, 2008, 08:26:47 AM ---About wireless connectivity, I will work on the idea after the 1st version of the player. I would desire something to connect with portable devices for sharing files, the player will not browse the internet to download files but It should connect to others devices that can do that, IMO.

--- End quote ---

the wireless will add about 25mm x 25mm more space for transciver plus the antenna that can be in circuit or maybe a wire ?
Olimex have a demoboard based in the chip.

casainho:

--- Quote from: KammutierSpule on January 24, 2008, 11:30:18 AM ---
--- Quote from: casainho on January 24, 2008, 08:26:47 AM ---About wireless connectivity, I will work on the idea after the 1st version of the player. I would desire something to connect with portable devices for sharing files, the player will not browse the internet to download files but It should connect to others devices that can do that, IMO.

--- End quote ---

the wireless will add about 25mm x 25mm more space for transciver plus the antenna that can be in circuit or maybe a wire ?
Olimex have a demoboard based in the chip.

--- End quote ---
+ plus price + time + software, which I think there is not software for RB! - leet's see if a 1st version of this hardware will get attention of developers, to work more on this idea of Free/Open hardware. Anyway, to develop, we can use the dev boards, I think we should not put in production hardware not tested, without RB working on that.

NOTE: I did update the schematic on TWiki page.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version