Rockbox Development > New Ports
Rockbox Player - Project to design and build a Free/Open hardware audio player
spark:
Thanks Casainho,
Yes definitely we can reuse some sections of dspdap-v2 http://dspdap.sourceforge.net for Rockboxplayer. I see that the power supply & charger section can be re-used almost as it is.
SDRAM, SD/MMC can be used as reference.
casainho:
My development board is not working now... I tried to restore the default bootloader and kernel using SAM-BA Linux version, all went ok but it does not boot. I did put online the log file and the steps that I went:
http://code.google.com/p/rockboxplayer/wiki/RestoringTheDefaultBootloaderAndKernelOnSAM9L9260
I am thinking in try now the OpenOCD. I never used OpenOCD and I don't have a cable ready yet - but I will work on it ;) :)
casainho:
--- Quote from: friendlyzookeeper on May 10, 2008, 03:51:50 AM ---I'm sorry I can't help you, you did use windows 2000 or xp? I have a different decoder IC and display with controller. I put sound and video on a module.
--- End quote ---
I did use Linux. But I did restore the u-boot now using a computer with Windows and seeing the log file looks like the tentative to recover Linux should work - I do not use Windows on my computers so I must be able to know how to recover in Linux when needed.
Now my problem is to put a "Hello world" and the Flash_LED code to working, launched by u-boot. Yesterday I managed to have TFTP server on my pc and I did load with success bin files to the development board, on u-boot shell - finally I use the "go address" command to try run the "Hello world" and the Flash_LED but I got nothing :-( -- I will try to build a new "Hello world" from the u-boot source code and also I will ask for help on u-boot mailing list.
http://farm3.static.flickr.com/2374/2480364568_ac0ac8f98d_o.png
The code for flash_LED I wrote is here: http://code.google.com/p/rockboxplayer/source/browse
EDIT: I did turn ON and OFF the green LED on the development board using U-Boot shell, using the memory write and memory display commands ;-) -- I did write configure values to the PIO controller, enabling the PA6 pin as output and set and clear that pin to turn OFF and ON the green LED.
spark:
Try to generate a Mapfile by adding "-Map flash_led.map" to LDFLAGS.
this should give you some hints in the generated mapfile.
basically, all segments of data and code must be at the correct location in memory as it is expected by the program (i.e. as per the map file). If you load your program at the wrong address then it will not work.
Make sure you look into the linker options in more detail.
This article should help
http://www.embedded.com/columns/technicalinsights/201000339?_requestid=450633
Domonoky:
to friendlyzookeeper:
While it is nice that you want to help this project, it seem you often dont really read what others have written. casainho wants to blink a LED on the Development Board. So he surely has the right resistors for the led, as the LED is already on the Dev-Board.
to casainho:
I would try a simpler test-program first, to see if your uploaded code really works. At the moment your blink-led code has many places where it could fail.. Maybe first try to only switch a LED on, then you dont need timers and such, which means less potential errors.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version