2009-08-11 21:08:39 Error: VCO selected is more than maximum value
Frank Van Hooft (CANADA)
Message: 78686
We're starting work on our new BF523 board with the 2009R1 branch. In menuconfig:
Blackfin Processor Options -> Processor and Board Settings -> Board Customizations -> VCO Multiplier
we set a VCO setting of 32. When we 'make', we get this error:
arch/blackfin/mach-common/arch_checks.c:37:4: error: #error "VCO selected is more than maximum value. Please change the VCO multipler"
Setting the VCO multiplier setting to a much lower value, like 16, this error does not appear.
According to the BF523 datasheet, the PLL can be set from x1 to x64.
I've attached the linux-2.6.x/.config file in case anyone wants it.
Any ideas on how to get past this?
Many thanks!
config_fail
QuoteReplyEditDelete
2009-08-11 21:18:47 Re: Error: VCO selected is more than maximum value
Mike Frysinger (UNITED STATES)
Message: 78687
the BF523 has a max freq of 400mhz. your config is telling the system to use a CCLK of 512mhz (clkin=16mhz * vco_mult=32 / cclk_div=1). the kernel config does not allow for overclocking.
QuoteReplyEditDelete
2009-08-11 21:33:12 Re: Error: VCO selected is more than maximum value
Frank Van Hooft (CANADA)
Message: 78688
Now that's interesting. Where did you find that 400 MHz max number? According to the ADI BF523 page:
www.analog.com/zh/embedded-processing-dsp/blackfin/adsp-bf523/processors/product.html
the 523 comes in two flavours; a 533 MHz and a 600 MHz.
(As an aside, when you view that page, do you see a bunch of Chinese characters? I do, both in WinXP and Linux; not sure why.)
We're using the 533 MHz flavour.
Thanks Mike.
QuoteReplyEditDelete
2009-08-11 22:26:37 Re: Error: VCO selected is more than maximum value
Mike Frysinger (UNITED STATES)
Message: 78690
i think in the preliminary datasheets and renumbering that happened with BF52x, the variants were lost in the shuffle. ive updated the BF522/BF523 speeds to reflect latest datasheet.
the url you used is the chinese translation (notice the /zh/ in the url base), so you probably want to change that to /en/.
QuoteReplyEditDelete
2009-08-11 23:00:21 Re: Error: VCO selected is more than maximum value
Frank Van Hooft (CANADA)
Message: 78692
Thanks Mike. I'll do an 'svn up' from the 2009 branch and try again.
Regarding the webpage, thanks for the tip. Turns out that the blackfin english product selection table on the ADI website links to those chinese translation pages. You can see it here:
www.analog.com/en/embedded-processing-dsp/blackfin/processors/selection-tables/Blackfin_Selection_Table/resources/fca.html
I sent a message to the webmaster so hopefully they can fix that.
QuoteReplyEditDelete
2009-08-11 23:15:22 Re: Error: VCO selected is more than maximum value
Mike Frysinger (UNITED STATES)
Message: 78693
i see /en/ for all my links. perhaps it's based on the headers your browser is sending or the site tries to use geo location and your ip indicates it's in china.
QuoteReplyEditDelete
2009-08-11 23:25:38 Re: Error: VCO selected is more than maximum value
Frank Van Hooft (CANADA)
Message: 78694
Hmm, that's very interesting. I'm seeing it in two different browsers in two different OS's (WinXP & Linux). So it's probably not the browser. Your geo idea is a possibility - I know I have a canadian IP, so maybe the site is confusing canada & china. Well, I guess I'll find out if the adi webmaster query I sent even gets a response first.
QuoteReplyEditDelete
2009-08-11 23:26:34 Re: Error: VCO selected is more than maximum value
Frank Van Hooft (CANADA)
Message: 78695
And by the way, your fix worked - thanks.