AVR C Runtime Library - Patches: patch #8590, WDT enable/disable for devices...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8590: WDT enable/disable for devices with CCP
Submitter: | Pitchumani <pitchumani> | ||
Submitted: | Wed 07 Jan 2015 06:38:13 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | pitchumani | Open/Closed: | Closed |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-02-05 | pitchumani | Status | In Progress | Done | |
Open/Closed | Open | Closed | |||
2015-01-07 | pitchumani | Attached File | - | Added wdt-ccp-branch.patch, #32777 |
Powered by Savane 3.13-4b48.
Corresponding source code
For some devices CCP register should be written with the signature before writing into WDT register. Attached patch adds a conditional branch to enable/ disable wdt for devices that has CCP.
Example: tiny4/5/9/10/20/40, tiny828 and tiny1634
In wdt enable/disable functions, there are branches to check whether the WDT and CCP are in IO range or not. This is to generate in/out instructions if they are in IO range.
NOTE: Currently linker do not relax lds/sts into in/out if they are in IO range.
ChangeLog