Dear,
I have question about Flowcode V4 for AVR.
I want to use the internal ocilator in the Amtel chip, when i see the help file there is an menu used for it..
as i use the AVR flowcode there is nu use of the menu..
is someone knows how to set the internal ocilator with Flowcode V4..
Thx..
How to use internal osilator
Moderator: Benj
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
- Contact:
Re: How to use internal osilator
I do not have Flowcode v4 for AVR so I don't know how you would change that, but I do know that you'll need to change the fusebits to enable the internal oscillator.
Fusebits calculator : http://www.engbedded.com/fusecalc/
cheers,
Nicolas
Fusebits calculator : http://www.engbedded.com/fusecalc/
cheers,
Nicolas
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: How to use internal osilator
Very good link Nicolas.Spanish_dude wrote: Fusebits calculator : http://www.engbedded.com/fusecalc/
That will come in handy!
Martin
Martin
Re: How to use internal osilator
Thank you for reply..
I think i will read the link and try to find the way to implement this..
Iam new at programming and can only use Flowcode...
Thx very much.
I think i will read the link and try to find the way to implement this..
Iam new at programming and can only use Flowcode...
Thx very much.
Re: How to use internal osilator
OK found it out..
in configuration option is this standard writen for the chip "0x0,0xdf" (maybe someone how underestand this and can explain.
out of the websit te i get the folow calculation.
0x42 0xdf 0xF9* with star..
The Star qoute this:
"
* Note that some numerical values refer to fuses containing undefined bits (set to '1' here). Depending on the target device these fuse bits will be read either as '0' or '1'. Verification errors will occur if the values are read back with undefined bits set to '0'. Everything is fine if the values read from the device are either the same as programmed, or the following values (undefined set to '0'): Extended: 0x01.
"
end Quote.
Is eny budy beable to explain this???
Thx
in configuration option is this standard writen for the chip "0x0,0xdf" (maybe someone how underestand this and can explain.
out of the websit te i get the folow calculation.
0x42 0xdf 0xF9* with star..
The Star qoute this:
"
* Note that some numerical values refer to fuses containing undefined bits (set to '1' here). Depending on the target device these fuse bits will be read either as '0' or '1'. Verification errors will occur if the values are read back with undefined bits set to '0'. Everything is fine if the values read from the device are either the same as programmed, or the following values (undefined set to '0'): Extended: 0x01.
"
end Quote.
Is eny budy beable to explain this???
Thx
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to use internal osilator
Hello,
I think to get your configuration programmed into the device you would enter this into the configuration window.
0x42, 0xdf, 0xF9
I think to get your configuration programmed into the device you would enter this into the configuration window.
0x42, 0xdf, 0xF9
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to use internal osilator
Sorry I got that wrong,
I have asked Sean and these are his correct comments.
The fuse settings are programmed as pairs of values. The first value is an identifier for the register to be programmed with the second value:
0x0 = High byte
0x1 = Low byte
0x2 = Extended byte
Devices with only one fuse register shoul dbe programmed using the 0x0 identifier. Devices with two fuse registers only need High and Low byte values to be sent
Our standard recommendation for the ATmega324P, running at full speed from an external xtal, is:
0x0, 0xdf
0x1, 0xff
0x2, 0xff
I have asked Sean and these are his correct comments.
The fuse settings are programmed as pairs of values. The first value is an identifier for the register to be programmed with the second value:
0x0 = High byte
0x1 = Low byte
0x2 = Extended byte
Devices with only one fuse register shoul dbe programmed using the 0x0 identifier. Devices with two fuse registers only need High and Low byte values to be sent
Our standard recommendation for the ATmega324P, running at full speed from an external xtal, is:
0x0, 0xdf
0x1, 0xff
0x2, 0xff
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel