How does the 9S08JS16 USB Bootloader ROM auto-detect the crystal frequency?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How does the 9S08JS16 USB Bootloader ROM auto-detect the crystal frequency?

2,773件の閲覧回数
wrljet
Contributor II

Subject says it all.

How does the 9S08JS16 Bootloader code auto-detect the crystal frequency?

I'd like to do that in my own code.

 

Bill

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,334件の閲覧回数
peg
Senior Contributor IV

Hello and welcome to the fora wrljet,

 

Take a look at AN2295. It explains how this works.

 

0 件の賞賛
返信

1,334件の閲覧回数
wrljet
Contributor II

I don't see it explained in there.

 

The clock has to be running at 48 MHz before any USB emuneration

even takes place. 

 

Bill

 

0 件の賞賛
返信

1,334件の閲覧回数
peg
Senior Contributor IV

Sorry Bill,

 

I just assumed a serial bootloader, even though you were pretty clear.

This sort of info is not generally released. Looks like your in for some disassembly.

 

0 件の賞賛
返信

1,334件の閲覧回数
wrljet
Contributor II

Also, FWIW, the USB Bootloader WinUSB installer for this JS16 chip won't run on Windows XP SP3.

It states it require SP2 or Vista, or higher.  Has a bug.  I reported this to Freescale but haven't heard anything back yet.

 

I was hot for this chip as soon as I read the announcement, designed and built some PCBs for it, and then had the wind go out of my sails when the provided bootloader wouldn't install.

 

I debugged the installer and wrote a small hook program that tricks the buggy installer to run on Windows XP SP3. 

 

Bill

 

 

0 件の賞賛
返信

1,334件の閲覧回数
TurboBob
Contributor IV
they need to post the source code or a DLL for the Bootloader. 
0 件の賞賛
返信