Calibration problem
Vinnie
Posts: 15
I just got my tech kit saturday..· have succesfully programmed a few programs and debugged and lots of things. It's quite funny I already succeeded in (preparing) programming stuff with SxSim already before the Tech Kit had arrived. Even more funny that most programs I tried so far even work (with some minor debugging).
However, when I try to use the internal RC osc, I only get to see the 'Calibrating' progress bars for a glimpse of a second and then programming seems to end.
Since I've never seen a good Internal RC calibration program run, I can't know for sure this isn't the right behaviour, but I suspect it's not. I waited quite a while for more action, but so far nothing...
Also, a verify gives 'verify failed at oscillator' error.
I use the following DEVICE settings:
DEVICE········· SX28, OSC4Mhz, TURBO, STACKX, OPTIONX
FREQ··········· 4_000_000
IRC_CAL······· IRC_4Mhz
I tried·with both SX28 chips, same for both. No resonator on the board. I use the 3.2·SX IDE version downloaded from the site (didn't install anything from the cd yet; is it necessary?) with the SX\B 1.52 upgrade.
Am I doing something wrong or is it a HW problem?
Is it possible to directly write the calibration bits manually (using trial and error to get close to the desired freq)?
Greetings,
Vinnie
Post Edited (Vinnie) : 7/30/2006 12:24:41 PM GMT
However, when I try to use the internal RC osc, I only get to see the 'Calibrating' progress bars for a glimpse of a second and then programming seems to end.
Since I've never seen a good Internal RC calibration program run, I can't know for sure this isn't the right behaviour, but I suspect it's not. I waited quite a while for more action, but so far nothing...
Also, a verify gives 'verify failed at oscillator' error.
I use the following DEVICE settings:
DEVICE········· SX28, OSC4Mhz, TURBO, STACKX, OPTIONX
FREQ··········· 4_000_000
IRC_CAL······· IRC_4Mhz
I tried·with both SX28 chips, same for both. No resonator on the board. I use the 3.2·SX IDE version downloaded from the site (didn't install anything from the cd yet; is it necessary?) with the SX\B 1.52 upgrade.
Am I doing something wrong or is it a HW problem?
Is it possible to directly write the calibration bits manually (using trial and error to get close to the desired freq)?
Greetings,
Vinnie
Post Edited (Vinnie) : 7/30/2006 12:24:41 PM GMT
Comments
(ie try OSC4MHZ and IRC_4MHZ)
Nate
Thanks for the response.. I already tested that -> originally it was in uppercase..
What happens when you specify OSC4MHZ but no calibration of the internal oscillator (ie use IRC_CAL IRC_FAST)?· This sets the calibration bits to highest value and skips the actual calibration.· Does the program run?·
If it does, the issue is with the calibration routine - look to a broken SX-Key, bad SX-Key-to-SX connection (what Dev. board are you using?) or bug in ver. 3.2 of IDE.
Nate·
Is this a bug in the 3.2 version???
Got some SX\B downward compatibility issues now...
Maybe I could run both 3.0 and 3.2, compile in 3.2 and program in 3.0
Vinnie
Post Edited (Vinnie) : 7/30/2006 7:54:02 PM GMT