Rockbox Development > New Ports

Sansa Fuze+

<< < (6/162) > >>

casainho:

--- Quote from: pamaury on April 04, 2011, 06:47:00 AM ---Setting up interrupts for a tick timer shouldn't be too difficult, basically you need to:

* Enable icoll block
* Setup interrupt vector base
* Enable timer interrupt
* Enable timrot block
* Setup a timer
* Enable timer irqYou just need to be careful because on this chip to enable a interrupt there are zillions of things to enable (typically you need to enable the irq AND enable to irq to interrupt path). And you perhaps need to setup a clock path somewhere (the timrot uses the crystal osc I think but I don't have the doc right now).

--- End quote ---

I also need the assembly C startup code, for setup correct interrupt stacks, etc...

yelped:
Pamaury, can any of these documents help you on the touchpad?
http://www.synaptics.com/developers/archive

pamaury:
Hello,
I've not yet reverse engineered any code on the touchpad but these document can prove useful, thanks. I'll tell you when'll I'll come to it but this is not my priority.

pamaury:
Hi all,
although I haven't done much progress I have some great news: I found the USB Recovery mode ! It's all explained on the wiki page SansaFuzePlus but it would be nice if some could confirm:

* Turn off the device
* Hold down volume up and while doing so, plug in usbThe device will appear as a HID device from Sigmatel

The VID/PID is coherent with the datasheet unfortunately, it seems to use some HID reports with commands, and the commands are not listed in the datasheet ("A list of USB bootloader commands is available upon request.").
I contacted Freescale to get some information, we'll see if I get an answer. Unfortunately, I couldn't find anything useful about it on Google so ideas are welcome :)

pamaury:
I figured out that there was a Windows program call MfgTools provided by freescale to download a file to the RAM using this recovery mode. I had a look at the protocol and it seems quite easy to reproduce it, TheLemonMan is on the case. This way I managed to download some code as a proof of concept since one simply need to download a normal sb file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version