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?