Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: RandomInsano on May 01, 2010, 12:27:28 PM

Title: Telechips Bootloader Development
Post by: RandomInsano on May 01, 2010, 12:27:28 PM
I've been trying to get a bootloader running for my Insignia NS-DV2G. I've found out the backlight is controlled via PORTC[10] using a voltage probe.

I'm now editing bootloader/telechips.c:main() every which way to try and get it to change the data output on ANY of the GPIO pins with no luck.

The steps I've taken so far are to create a build directory, ran tools/configure to make the iaudio 7 bootloader (since the TCC8200 and TCC7X are so close to each other). Nothing else there.

I build the firmware and tried with tccboot to upload bootloader.bin to my player. It finishes, but I get no change to any of the output pins when I check their voltage. They're all still floating.

I then tried changing all of the hardware address defines in TCC7X.h despite assuming that a gutted main() function didn't need any of that. They now point to all the hardware addresses for the TCC8200.

Are there initalization steps I need to take besides setting data direction and data port values to get output on any of the pins? I can't really tell that I'm building correctly without some manner of output.

There are also defines for TCCBOOT in places. How do I set that define? Do I even need to care about that define yet if I'm just setting GPIO then going into an infinite loop? How in the heck did past Telechips ports go about setting this stuff up?
Title: Re: Telechips Bootloader Development
Post by: AlexP on May 01, 2010, 06:13:05 PM
Hi,

Not so many devs read the forums - I'd advise coming on IRC or emailing the rockbox-dev mailing list.
Title: Re: Telechips Bootloader Development
Post by: RandomInsano on May 01, 2010, 06:32:18 PM
*sigh* And I do so hate mailing lists :(

Thanks for the tip. I'll keep pestering the IRC channel