Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Telechips Bootloader Development
« previous next »
  • Print
Pages: [1]

Author Topic: Telechips Bootloader Development  (Read 2457 times)

Offline RandomInsano

  • Member
  • *
  • Posts: 9
Telechips Bootloader Development
« 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?
Logged
Yar, me DAPs: iPod 4G Monochrome (x2), iPod 5G, Insignia NS-DV2G (x2)

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Telechips Bootloader Development
« Reply #1 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.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline RandomInsano

  • Member
  • *
  • Posts: 9
Re: Telechips Bootloader Development
« Reply #2 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
Logged
Yar, me DAPs: iPod 4G Monochrome (x2), iPod 5G, Insignia NS-DV2G (x2)

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Telechips Bootloader Development
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.